how to remove from drop down in SSRS report parameter? if i set default value to report parameters, gets disappear in preview but it will appears after deploy the reposts
2
votes
If you have set new parameter defaults in Visual Studio, they may not get deployed to Report Manager. You can either go to the report properties in Report Manager and change the parameter defaults manually to match those in Visual Studio, or delete and re-deploy the report (note that deleting the report in Report Manager will lose any subscriptions to the report).
– thomasswilliams
5 Answers
1
votes
0
votes
If I'm understanding the question correctly: just create a separate data set and use the result set as the available values for your parameter. Discriminate in your where clause.
-- (example) Query used in the CarMakes dataset
SELECT DISTINCT make
FROM tbl_Cars
where make not like 'Toyota',
and make not like 'Ford'
and make not like 'Kia'
union select '- Select Make -'; -- used as first value in drop down
Then set the data set you create as the available values for your parameter.
0
votes
0
votes
0
votes
To remove the default values for a report parameter
In the Report Data pane, expand the **Parameters** node. Right-click the parameter and click **Edit**. The **Report Parameter Properties** dialog box opens.
Click **Default Values**.
**In Select from one of the following options**, click **No default value.**
Click OK.