Filters decide which data a widget or dashboard shows. They work like the filter drop-downs on an Excel table: you choose the values you want to keep or exclude, such as one department or one date range.
When you have a filter set to include certain values they will appear blue. When you have set the filter to exclude certain values, they will appear as red.
Dashboard filters and widget filters
There are two places you can add a filter.
| Dashboard filters | Widget filters | |
|---|---|---|
| Where you set them | The filter panel on the right of the dashboard | Inside a widget, while you're editing it |
| What they affect | Every widget on the dashboard (unless disabled within as specific widget) | Only that widget |
| Can viewers change them? | Yes, unless you lock them | No. Only a designer can change them, on the template dashboard as only the designer can edit the configuration of a widget |
| Use them for | Choices viewers will want to make, such as department or date range | Rules that define what the widget shows, such as "completed enrolments only" |
Dashboard filter UI:
Widget filter UI:
To change a widget filter later, open the template dashboard as a designer and edit that widget.
Regular, primary and background filters
Dashboard filters come in three kinds.
Regular filters
Standard dashboard filters. They will only show values that are available after primary filters have been applied.
Primary filters
Similar to a regular filter, but they are applied first and will dictate what data the regular filters can see. To set a primary filter add a regular filter and then drag it into the "Primary Filters" area.
Background filters
A background filter is a way of limiting what values a user can select within a certain filter.
For example, add a background filter to Course Name that keeps only your compliance courses. Viewers can still choose a course in the Course Name filter, but only compliance courses appear in the list, and the dashboard never shows data for other courses, even when nothing is selected.
Use background filters to:
- Keep a dashboard focused on one area, such as one business unit or one group of courses.
- Hide test or archived content from viewers.
- Make long filter lists shorter and easier to use.
To make a filter a background filter:
- Create it as a regular filter
- Set the values you want the filter to include / exclude
- Click the three dots on the filter and select "Set as Background Filter"
Dependent filters
Dependent filters are linked, so the choice in one filter narrows the options in the next. For example, choosing a User Group means the Manager filter only lists managers in that group. This makes long filter lists much easier to use.
To make a filter a dependant filter:
- Create it as a regular filter
- Click the three dots on the filter and select "Add a dependant Filter"
- Select the field you want to be used as the dependant filter
Items with the same name
If two courses have the same name, Analytics treats them as one when you filter by Course Name, and combines their data, including completions. On the platform they're still two separate courses, each with its own alias and ID.
To keep them apart, add a filter on Course Alias as well. The alias is unique to each course.
Stopping a widget from following dashboard filters
Sometimes a widget should ignore the dashboard filters, for example an indicator that always shows the total for the whole organisation, next to widgets that viewers can filter.
In the widget's settings, you can:
- Turn off all dashboard filters for that widget, or
- Turn off specific dashboard filters, for example ignore Course Name but still follow the date range.
Make it clear to viewers when a widget ignores a filter, for example in its title ("All courses"), so they aren't confused when it doesn't change.
Locking filters
You can stop viewers changing a dashboard filter on the shared dashboard. This is useful when a filter defines what the dashboard is for and shouldn't be changed.
- Open the template dashboard.
- In the filter panel, open the filter's menu and select Lock.
- Republish the dashboard.
The lock carries over to the shared dashboard when you republish.
Tips
- Keep the filter panel short. A handful of well-chosen primary filters is easier to use than a long list.
- Use filters within widgets or locked filters if you want to limit what users can select.
- Test as a viewer. After you republish, try the filters on the shared dashboard and check every widget responds the way you expect.
Next steps
- How widgets count and aggregate
- Example useful widgets
- Building widgets