#### How to dynamically update a filter condition when the report runs

This procedure assumes that you already created:

- A report that contains a table or list to display data from a data set
- One or more report parameters for the report

1. In the layout editor, select the table element or list element to filter. The property editor displays the properties of the selected table or list.
Figure 12-6 shows an example of a selected table and its properties.

Figure 12-6 Table properties
2. Choose the Filters tab. The property editor displays the Filters page, as shown in Figure 12-7.

Figure 12-7 The Filters page in Property Editor
3. Choose Add to create a new filter condition.
4. Specify the filter condition:

1. Click the cell below Expression.
Two buttons appear at the right.
2. Choose the arrow button, then select the field for which you want the user to specify a value when the report runs.
3. For Operator, select an operator from the drop-down list.
4. For Value 1, specify the name of the report parameter that you created.
You can use the expression builder to select the report parameter from the list of report parameters that you created for the report. Figure 12-8 shows an example of a filter condition for which the value is set to a report parameter.

Figure 12-8 Filter condition, set to a report parameter

5. Preview the report.
Enter Parameters appears and displays the report parameters that you created. Figure 12-9 shows an example.

Figure 12-9 Enter Parameters, showing a report parameter
6. Specify values for the report parameters, then choose OK.
The report displays data that matches the values that you specified.