Conditionally Filter Report Data
This document describes how to filter a report's data based on a specific condition.
Warning
Use the approach below if expression bindings are enabled in the Report Designer (the Designer provides the Expressions panel).
See Conditionally Filter Report Data if expression bindings are not enabled in the Report Designer (the Designer does not provide the Expressions panel).
Switch to the Field List panel, select the Parameters node and click Add parameter.
Specify the parameter's description in Print Preview and set its type to Number (Integer).
Select the report's detail band, switch it to the Expressions panel and click the Visible property's ellipsis button. In the invoked Expression Editor, specify the required visibility condition. For example:
The expression above makes the Visible property return True or False depending on whether the field value is below the specified parameter value.
Switch to Print Preview to see the result.