An available values can be specified for a report parameter to allow the user to select only valid values on report preview action. The available values defined for the parameter will be listed in the drop-down list when previewing the report.
Refer Create Parameter section for better understanding with the following steps.
Click on Assign Value >>
to open parameter assign dialog.
Follow the below steps to add available values for the parameter.
Select Specify
option under Available Value
tab.
Click on the Add icon. Now, a list in which you can type values and labels appears.
Enter the value in the Value text box, and optionally, the label in the Label text box.
If you do not provide the label, the value is used.
Click OK
and Save
the parameter.
On report preview, the available values defined for the parameter will be listed in the drop-down list like below.
Query Value
option under Available Value
tab.
Note: These fields are retrieved from the list of column or field names in the dataset.
OK
.
On report preview, the ProductID
parameter will list the values of ProductID
field from query data.
To remove the available values defined for the parameter follow the below steps:
Assign Value >>
to open parameter assign dialog.Available Values
tab, choose the None
option.
OK
and save the parameter.Using the ProductID
parameter, we can filter the ProductID
field values at runtime like below.
(Details)
member field in the grouping panel to open the tablix member properties.
Tablix Member
properties, click on Set Filters...
button.
Equal
operator and assign the ProductID
parameter in the Value field. Save the filter.
View Report
.