You can add interactive widgets to a dashboard, so your viewers can interact with, and customize their results. Only editors can add interactive widgets, but any viewer permitted to view a dashboard can use them.
For help using interactive widgets, see Interacting with dashboards.
Filtering results
Viewers can use filter interactive widgets to restrict results to specific attribute values, date and number ranges, or the highest and lowest results.
Data filter
A data filter enables viewers to filter results by an attribute's values. Viewers can divide data by an additional attribute without the results appearing on each report.
To add a data filter
- In the Dashboard menu, click Add > Add data filter.
- On the Choose data filter dataset panel, choose the dataset you want to filter. You'll only see this panel if you've added multiple reports that use different datasets to your dashboard.
- In the Choose data filter columns panel, select the attribute you want to
use.
Before you choose a date attribute, think about how you want your viewers to be able to filter the dashboard. For example, a common filter might be the date the ticket was created, so you'd choose the Ticket created - Date attribute. The attribute you select must be part of the dataset that was used to create the report you’ve added to the dashboard.
You can either browse the available attributes in the list, or refer to Understanding Explore datasets for a full list of available values for the dataset you are using.
- Enter a Display name and Width to set a custom name and width for the attribute.
- Select a position from the Display drop-down list to set how options appear.
- Select from the following additional options:
- Multiselection enables viewers to select more than one value
- Cascade prompts applies the data filter to other filters. For example, if you are using two separate data filters for Ticket Tags and Ticket ID, you can check Cascade prompts, so when a viewer selects a tag, only the ticket IDs for that tag will be available.
- Check the Promote URL as parameter box to embed your filter in the dashboard URL. You can type a new value directly in the URL to update your filter. For more information about this option, see Customizing dashboards with URL parameters.
- If your dashboard uses multiple datasets, you can enter a common attribute in the Link with box to apply the filter across all of your dashboard's datasets.
- Check the Do not share across tab box to apply the filter to only the selected tab.
- In the Sort drop-down list, select the order of values. Values can be sorted alphabetically from A-Z or Z-A.
- When you are finished, click Apply.
Your data filter interaction will resemble the image below.
Time filter
A time filter enables users to edit the displayed time period.
- In the Dashboard menu, click Add > Add time filter.
- In the Time filter widget panel, select a date attribute to use in the filter.
- Edit how the time filter is rendered (calender by default) and the level of detail.
These options are available underneath your metrics.
- When you are finished, click Apply.
Your time filter widget will resemble the image below.
Metric filter
The metric filter interactive widget is similar to the metric filter manipulation in the report builder (see Selecting the metric result range). Viewers can use the metric filter to set a floor or ceiling to results.
- In the Dashboard menu, click Add > Add metric filter.
- On the Choose metric filter dataset panel, choose the dataset you want to filter. You'll only see this panel if you've added multiple reports that use different datasets to your dashboard.
- In the Choose metric filter dataset panel, choose a dataset.
- Select the metric you want to use as a filter.
- You can then edit the display name, width, and if blank values are filtered.
- When you are finished, click Apply.
Your metric filter will resemble the image below.
Top/bottom filter
Similar to the top/bottom filter manipulation option in the report builder, with the top/bottom interactive widget your viewers can limit results to the highest or lowest values. For more information on the top/bottom filter in the report builder, see Creating a top/bottom filter.
- In the Dashboard menu, click Add > Add top/bottom.
- In the Top/Bottom panel, enter your top and bottom values and set their
visibility.
- Select a strategy. The strategy will determine what attribute is used to calculate results.
- Add metrics in the Metrics textbox.
- Select a Display type. You can display measures in either a drop-down or button list.
- When you are finished, click Apply.
Your top/bottom filter will resemble the image below.
Selecting new metrics and attributes
When you select these interactive widgets, your viewers can edit the initial metrics or attributes to view other possible outcomes.
The following interactive widgets that enable your viewers to edit existing metrics or attributes:
Selecting a different metric
The change metric widget enables viewers to change the initial metrics, so they can view different outcomes of the same report.
- In the Dashboard menu, click Add > Add change metric.
- In Choose change measure dataset panel, select a dataset used on the dashboard.
- Select the metric that you want to give users the option to change.
- After you select a metric, you can edit the option display name, width, and display
format. You can also permit users to change measure aggregators and restrict the list
of available measures.
- When you are finished, click Apply.
Your change metric widget will resemble the image below.
Selecting a different attribute
Similar to a change metric, the change attribute interactive widget enables viewers to select a new attribute.
- In the Dashboard menu, click Add > Add change attribute.
- In the Choose change attribute dataset panel, select the dataset containing the attribute you want to become a change attribute.
- Select the attribute to become a change attribute.
- After you select an attribute, you can edit the display name, width, and display
format. You can also restrict the list of available attributes.
- When you are finished, click Apply.
Your change attribute widget will resemble the image below.
Editing what if variable values
If you have a what if variable added, you can enable users to change its value. You must use a what if variable in a report to add this interactive widget (see Performing analysis with what if variables).
- In the Dashboard menu, click Add > Add what if variable.
- In the Choose what if variable dataset panel, select the dataset containing the what if variable you want to use.
- Select the what if variable you want to add.
- Edit the display name and width of the option box.
- When you are finished, click Apply.
Your global variable widget will resemble the image below.
Using bookmarks to save filtered dashboard states
When you add a bookmark widget, it freezes the current state of filters. Viewers can switch to different bookmarks to see different filter states. To learn about how to use bookmarks, see Working with dashboard bookmarks.
3 Comments
@... - did you ever get an answer to your question? That's exactly what I'm trying to do right now.
Hi Joshua!
Limiting attributes to preselected values should be doable by utilizing sets. When creating a dashboard data filter using a set as the data filter column, only those attributes in that particular set will show up in the dashboard to be selected.
Follow along this documentation below to create sets.
https://support.zendesk.com/hc/en-us/articles/360022184334#topic_fsd_gw1_fv
Matt - Customer Advocate
Zendesk offers free, on-demand training for all of our products. Set up your account and start learning today at training.zendesk.com
It doesn't look like the time filters include any of the Initial Rating metrics from the Ticket Updates dataset. Example: Bad Initial Rating.
I added a new time filter to the dashboard and don't have that as one of the options. Am I missing something?
Please sign in to leave a comment.