Issue symptoms
I created a custom dashboard and set up a time filter but it doesn’t work correctly when I choose a time frame.
Resolution steps
When you add a time filter to a dashboard to filter query results based on the selected time filter date range, you also need to select the appropriate date attributes for the applicable datasets based on the queries embedded on your dashboard.
To apply the time filter to the appropriate query
- Open the dashboard and click Edit in the top tools bar.
- Click the Time filter you want to edit and then click the arrow pointing down.
- Select Edit filters and search for the attributes you want to filter. Select the datasets related to the query you want the filter to impact in this dashboard.
- Click Close.
When you select a time attribute, you are applying the time filter widget to that time attribute rather than filtering it. For example, when Support: Tickets 1 - tickets_created_at is selected, the time filter widget applies the specified date range to any queries that use the Support: Tickets 1 dataset as the ticket creation date. To prevent this, exclude the time filter from any unrelated queries.
To exclude a time filter from a query
- Open the dashboard and click Edit in the top tools bar.
- Click the query you want to exclude and then click the arrow pointing down.
- Click Exclude filters and then Time filters.
- Select the elements that you don't want to be applied to that query.
In this example, the tickets_solved_at time filter doesn't interfere with the tickets_created_at based query. - Click Apply.
Once you finished customizing the dashboard, publish the dashboard to save any changes made.
For more information about filters, see the article: Adding interactive dashboard widgets.
5 Comments
Hi @... and team, I have a different issue with the Time Filter. I'm editing a dashboard, I update the time filter from 30 days in the past to 4 weeks in the past, and publish. The dashboard always reverts to my previous 30 days setup. Any tips on how to address this? Apologies if this is covered elsewhere, I can't find another article that covers time filter not saving.
@... - check out bookmarks. You can't save a default filter on a dashboard directly. https://support.zendesk.com/hc/en-us/articles/1260803013110
@... bookmarks did the trick; thank you very much!
Hello,
Hope you can help me. Is there a way to change the default time filter from the "past 30 days" to "this month". I've been trying to set this up but it keeps on going back to the default date filter which is "past 30 days".
Hoping to hear from you soon!
@... - see my previous comment above. You cannot save a default for a dashboard. The default will be whatever is built in the query as saved. You can use bookmarks to quickly change filters.
Please sign in to leave a comment.