Using dropdown parameters in SSRS report

In short

  1. Right click the parameter

  2. Select "Available Values" section

  3. Click the "Get values from a query" option

  4. Select the appropriate dataset and fields


This following articles cover exactly what you need to know about setting report parameters in SSRS:

  • MSDN: Adding Parameters to Create a List of Available Values (SSRS)
  • Building Reports in SQL Server

follow these steps 1.In the Report Data pane, expand the Parameters node and right-click on the parameter, then click Parameter Properties.

2.In Prompt, type Select :.

3.In Data type, select datatype.

4.Click Available Values.

5.Select the Get values from a query option.

6.select value field and Label field

7.In default values select Get values from a query option. 8.From the Dataset drop-down list, select BusinessPersons.

9.From the Value field drop-down list, select BusinessEntityID.

10.Click OK.


My solution:

  1. Right click the parameter under the "Report Data" and select "Parameter Properties"

  2. Select "Available Values" section

  3. 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