Define available values for a parameter
In the Bold Reports® Web Report Designer, you can specify available values for a report parameter so users select only valid values when they preview the report. The available values you define for the parameter appear in the drop-down list when you preview the report.
How do I open the parameter assign dialog?
The Web Report Designer sets available values in the parameter assign dialog. To follow the steps below, first read the Create Parameter section.
The following image shows the new parameter panel.

Click Assign Value >> to open the parameter assign dialog.

Manual values
Manual values in the Web Report Designer are values and labels you type yourself. Follow these steps to add available values for the parameter:
-
Select the
Specifyoption under theAvailable Valuetab.
-
Click the Add icon. A list appears in which you can type values and labels.

-
Enter the value in the Value text box. Optionally, enter the label in the Label text box.
If you do not provide the label, the value is used.

-
Click
OKandSavethe parameter.
On report preview, the drop-down list shows the available values defined for the parameter, as in the following image.

Query values
Query values in the Web Report Designer fill the parameter drop-down from a dataset field. Follow these steps to use them:
- Select the
Query Valueoption under theAvailable Valuetab.
- In the Dataset drop-down, choose the name of the dataset. You can define datasets using the data view.
- In Value field, choose the name of the field that provides parameter values.
Note: These fields are retrieved from the list of column or field names in the dataset.
- In Label field, choose the name of the field that provides the parameter names. If there is no separate field for names, choose the same field as in Value field.
- Click
OK.
- Save the parameter.
On report preview, the ProductID parameter lists the values of the ProductID field from the query data.

How do I remove available values?
To remove the available values from a parameter in the Web Report Designer, set the Available Values tab to None. Follow these steps:
- Read the Edit Parameter section and open the parameter properties.
- Click
Assign Value >>to open the parameter assign dialog. - Under the
Available Valuestab, choose theNoneoption.
- Click
OKand save the parameter.
How do I filter table data based on a report parameter?
In the Web Report Designer, you can use the ProductID parameter to filter the ProductID field values at runtime. Follow these steps:
- Select the table report item to enable the grouping panel in the designer.

- Click the
(Details)member field in the grouping panel to open the tablix member properties.
- In the
Tablix Memberproperties, click theSet Filters...button.
- Read the Set filters section to create a new filter expression.

- Choose the
Equaloperator and assign theProductIDparameter in the Value field. Save the filter.
- Preview the report. The following view appears.

- The drop-down lists the manually created values. Choose any value from the drop-down list.

- Click
View Report.
Frequently asked questions
What happens if I do not provide a label for an available value?
If you do not provide the label, the Web Report Designer uses the value as the label.
Where do query-based available values come from?
Query values come from a dataset you choose. The value and label fields are retrieved from the list of column or field names in that dataset.