Reputation: 39
I would like to create a drop down filter list based on Region
column in my table.
I create a parameter by query like this:
I set up parameter to get the values from region
column.
However, I got the error like this:
An error occurred during local report processing.
Upvotes: 0
Views: 3929
Reputation: 450
You need to create a second dataset in your report to provide the list of regions to the drop-down list, for example:
SELECT DISTINCT [region]
FROM [table]
ORDER BY [region];
In the available values for the parameter, set the Dataset to this new dataset, & the Value & Label fields to the [region] column.
See this tutorial for more info: https://learn.microsoft.com/en-us/sql/reporting-services/tutorial-add-a-parameter-to-your-report-report-builder?view=sql-server-ver15#AddDataset
Upvotes: 1