Report filters allow users to hide parts of a report and view only data pertinent to them without affecting the report data.
Keep in mind that filters can be resource intensive and care must be taken when designing your reports and views so that each view does not take more than 2 seconds to generate.
You can create report filters on the Filtering tab of the Report Options dialog box.
The Report Options dialog box appears when you're creating a new report or editing an existing report (or view).
There are two types of filter options you can create from this dialog box:
Filter Rules: Filters that are always applied to a report or a view.
Quick Filters: Filters that appear in the toolbar for users to apply after the report (or view) has been generated.
The following standard filters are available by default.
To add a default filter rule to a report, complete the following:
The new filters appear for the report view, but you still need to save the report to apply the changes to end users.
To add a new filter rule to a report, do the following:
The new filters appear for the report view, but you still need to save the report to apply the changes to end users.
Comparison Operators Available for Filter Rules
Filter Operation | Description |
---|---|
= | Equals |
<> | Not equal |
< | Less than |
> | Greater than |
<= | Less than or equal to |
>= | Greater than or equal to |
>= | Greater than or equal to |
>= | Greater than or equal to |
in | in the list of comparison items |
not in | not in the list of comparison items |
like | similar to the comparison item |
not like | dissimilar to the comparison item |
between | confined or restricted to the range of values |
not between | existing outside the confines of the values |
To remove a filter, select the Filtering tab of the Report Options dialog box, and clear the checkbox associated with the filter and Save.
A broad range of expressions, functions, and rules are available for use as filters by adding hidden data columns to your report.
To add a hidden data column, complete the following:
From the Data tab of the Report Options dialog box, add a data column using an expression that results in true or false. See also: Adding Report Data
For example:
1
if(pv!ProcessVariable=desiredValue,true(),false())
"HELLO" = "HELLO"
returns true
and "hello" = "HELLO"
returns true
), then use the exact()
function rather than the '=' operator to improve performance (such that exact("HELLO","HELLO")
returns true
, but exact("Hello","HELLO")
returns false
). See also: exact()For example:
1
if(exact(pv!ProcessVariable,desiredValue),true(),false())
Hidden Column = True
The new filters appear for the report view, but you still need to save the report to apply the changes to end users.
The Quick Filters Group Box allows you to create sets of filters that the user can select from the report toolbar. One of the filter rules in the set is always applied to the report or view (either the default or the first filter rule if no default is specified).
The following options are available for defining sets of Quick Filters.
Click ... | To |
---|---|
|
Create a new filter set that will then be visible in the toolbar. |
|
Move the selected filter sets up one row. You can select a single rule's checkbox (or multiple checkboxes) before selecting Move Up. All selected rows move up one row. |
|
Move the selected filter sets down one row. You can select a single checkbox (or multiple checkboxes) before selecting Move Down. All selected rows move down one row. |
|
Delete an existing filter set, when the checkbox next to the filter set is selected. Multiple filter sets can also be deleted. |
|
Display each filter in the set as a link on the report (or view) toolbar. |
|
Display all filters in the set as a dropdown list that appears on the toolbar. |
![]() |
The Quick Filter Sets you define are exposed either as links or as dropdown lists on a secondary toolbar when this checkbox is selected. (By default this option is selected for all reports.) If you clear this option, users can still apply Quick Filters from the Filters list that appears on the primary toolbar. The secondary toolbar also displays the dynamic filter button ![]() ![]() |
To add a new filter set, complete the following:
Once you've saved your filter set, it appears on the Quick Filter list.
The new filters appear for the report view, but you still need to save the report to apply the changes to end users.
To modify an existing filter set, click its name from the Filtering tab of the Report Options dialog box.
To delete a filter from the filter set, select the checkbox next to the filter set and click .
The default filter you specify is always applied initially. It is often useful to create a default filter that does nothing, called Show All to make the unfiltered report display as your default view. If you do not specify a default filter, the first filter in the set is automatically applied as the default option.
See also: Reports