A Page Filter or Widget Filter has a type, which decides how you set its condition. A new filter starts as a Simple Filter. If the field supports more than one type, the filter's card shows a drop-down where you can change it.
Simple Filter Copy Link
Use a Simple Filter to set a condition with an operator, such as equals, does not equal, contains, or a numeric comparison. Once the first condition is complete, you can add a second and join the two with AND or OR. Simple Filter is available for both Page Filters and Widget Filters. For a Date or DateTime field, this type is labelled Fixed Dates.
The example below applies a different Simple Filter to each Table, over the same six orders. The last two each join two conditions, one with AND and one with OR.
Relative Dates Copy Link
Use Relative Dates for a date range that moves with today's date, such as the last 7 days or this month. It is available for Date and DateTime fields, for both Page Filters and Widget Filters.
Choose Last, Next or This, then a unit: Day, Week, Month or Year. A DateTime field also offers Hour and Minute. For Last and Next, you also enter a number.
- With Day, Week, Month or Year, Last covers that number of units up to the end of yesterday, and Next covers that number of units from the start of tomorrow. Tick Include Today to move the range so that it ends or starts with today.
- With Hour or Minute, Last and Next count back or forward from the current time.
- This covers the current unit, for example today, the current week from Monday to Sunday, or the current month.
The example below has orders dated relative to today, so each Table shows which days its filter keeps.
Selection Filter Copy Link
Use a Selection Filter to pick one or more values from a list. It is particularly useful for categorical fields, where a list of values is the most direct way to set the condition. Selection Filter is available for both Page Filters and Widget Filters.
Each value in the list shows the number of rows that hold it. Other filters on the page and the search box above the list do not change these numbers.
In the example below, the Region filter keeps North and South, and the list shows how many orders hold each region.
Selection Filter is not offered for Measures.
Rank Filter Copy Link
Use a Rank Filter to restrict a Widget to the Top N categories, the Bottom N categories, or both, based on a numeric result. Rank Filter is only available as a Widget Filter, and only when the Widget produces a numeric output per category. That includes any numeric field, whether it is used as a group-by or with a numeric Aggregation such as Count, Sum, Average, Minimum or Maximum. Only one Rank Filter can be active per Widget.
When Rank Filter is enabled, you can enter separate Top and Bottom values, where N is a whole number.
The field you rank by must be in the Widget's Data Mapping, and how that field is used in the Widget decides the ranking. For example, ranking by Line Net with an Average aggregation ranks categories by their average Line Net value, while ranking by a numeric group-by field ranks categories by the field's value directly.
The example below shows two bar charts using Rank Filters. The top chart shows the Top 5 subcategories by Average Line Net, sorted descending, and the bottom chart shows the Bottom 5 subcategories by Net Sales, sorted ascending. The Filters Panel shows the active Rank Filter cards on each widget.
A Rank Filter respects all other active filters, and ranking is applied after them. If N is larger than the number of available categories, all available results are shown.
If the Widget changes so that the category no longer produces a numeric output, the Rank Filter is cleared, and a message explains why it was removed without interrupting your work.