Filtering means limiting the data displayed on your report, based on criteria that you specify. You can add, modify, or remove filters as you wish.
When filtering is applied, only data rows that meet the specified criteria are displayed.
You can create filters in three ways:
(Table reports only) Use a special "Filter row" to enter simple criteria in one or more fields (at most one criterion per field).
Hover on the field you wish to filter. You’ll see a little filter-icon appear.
Click on the Filter icon. This opens a window showing all the field’s values.
Check / uncheck as you wish. You can use the Show All to quickly check or uncheck the entire list.
Click OK when you’re done.
The filter expression builder allows you to create complicated filters using multiple fields and multiple criteria. You can combine criteria using logical operators, including AND, OR, and NOT.
Logical Operators |
|
Comparison Operators |
|
The Filter Editor displays filter criteria as a tree structure, where nodes represent simple filter conditions. If the filter criteria consist of multiple filter conditions, the Filter Editor contains multiple nodes linked by logical operators into groups.
For instance, the following image shows the Filter Editor representing the [StoreName]Begins with 'Ace' filter expression:
In the example above, there is only one Group.
In the example below, the filter expression contains two groups combined by the logical OR operator.
Note that both conditions have two parts.
If you’re technically inclined, the actual expression is closer to this:
The image below shows the Filter Editor, indicating its UI elements.
or Filter Editor (for a table-report);
Or, in the report's Ribbon, click the Prefilter button (for pivot reports)
or the Filter Editor button (for table reports).
And | A logical operator like OR, NOT, and others |
Company | A field name in the report’s data set |
Begins with | A comparison operator like equals, less-than, contains, and others |
<enter a value> | A value you enter |
Otherwise: the form will contain the filter expression that you already created, ready for you to modify as desired.
Choose a Comparison Operator. The "Begins with" comparison operator is changed the same way as a field-name selection. If you want some other comparison operator ("contains", "is less than", etc) click the "Begins with", and you will see a list of available operators from which you can choose.
The list you see will vary depending on the field’s data type. For example, if your field is numeric (for example, “Year”) then the list of comparison operators would not include (for example) “contains”.
Click "<enter a value>" and provide a value for your filter clause. Depending on the field and comparison operator you’re using, you may need to enter the value directly, or you may be presented with a list of choices based on the data in your report.
Choose the logical operator. Click the logical operator (in this case, "And") to display a list from which you can choose.
To add another logical condition, either:
Click the little add button (the "+" sign) next to the logical operator (in this example, next to the And operator); OR
Click the logical operator itself and choose "Add Condition" from the menu.
To start a new group: click the logical operator (in this example, the "And") and choose "Add Group" from the menu. See the overview above for an example of grouping.
Repeat the above steps as needed.
Click Apply at any time to apply your filter and remain in the filter-editor. Click OK to apply your filter and close the filter-edit.
Your filter expression is shown at the bottom of your report. You can directly enable / disable it, choose a different filter-expression that you’ve used (if available), edit, or delete it.
Example: If you apply following filter expression,
At the bottom of the report you see (far left and far right, respectively):
You can use a special "Filter row" to enter simple criteria in one or more fields (at most one criterion per field). This row is available in Table Reports only.
To show the filter row:
A new row appears at top of the table report, with a little "filter" icon at the far left.
To filter using the filter row: