I can see the text box for my data set that having the
"select col1 from table name " as query. I want to populate dropdown instead of text box. I have created the parameter for it . what to do?
To set available values for the second parameter In the Report Data pane, in the Parameters folder, right-click the first parameter, and then click Parameter Properties. In Name, verify that the name of the parameter is correct. Click Available Values. Click Get values from a query.
Set the parameter to 'Allow null value' under General section. Null according to SSRS means it does not have to be set, thus making it optional.
In short
Right click the parameter
Select "Available Values" section
Click the "Get values from a query" option
Select the appropriate dataset and fields
My solution:
Right click the parameter under the "Report Data" and select "Parameter Properties"
Select "Available Values" section
Click the "Get values from a query" option
4a. Select the appropriate query to use
4b. Select the Value that you want the main query to use to generate the data
4c. Select the Label that will show in the drop down box that the User sees and selects a option from
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With