- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Is there a way to add a date filter widget with preset options such as This Month, Last 6 Months, and Last 12 Months? This would make it easier to review trends over different periods without manually adjusting the dates. I have already charts created can we able to create some filter so I can have both charts give date wise data currently I am not able to do it. Please see below chart settings.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @poojanpatel,
Yes, this is out of box. Edit the dashboard > Add new element > Filter > New filter, and select the Date type. Point it to the date field your charts use, for example Created.
1. In Date filter view, choose Relative ranges only (the other options are Calendar with relative ranges and Calendar only).
2. Open Select predefined ranges. Applied already has Last 3 months, Last 6 months, Last 7 days, Last month, Last year and YTD. Move This month and Last 12 months from Available to Applied, and move out the ones you don't want.
3. In Default values, pick the range the dashboard should open with.
The Date filter applies to Score, Time series, Bar and Pie/Donut visualizations on the same tab. For indicator-based charts, also turn on Apply date range in each chart's configuration panel. Time series charts adjust their aggregation automatically. By doing this, you can change the period for both charts in one click, without editing each chart.
Kindly remove any fixed date condition from the charts' data sources (like Created on Last 6 months), otherwise it gets combined with the filter.
Configure a Date filter: https://www.servicenow.com/docs/r/now-intelligence/create-date-filter-workspace.html
If this helped, kindly mark it Helpful so others facing the same issue can refer to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @poojanpatel,
Yes, this is out of box. Edit the dashboard > Add new element > Filter > New filter, and select the Date type. Point it to the date field your charts use, for example Created.
1. In Date filter view, choose Relative ranges only (the other options are Calendar with relative ranges and Calendar only).
2. Open Select predefined ranges. Applied already has Last 3 months, Last 6 months, Last 7 days, Last month, Last year and YTD. Move This month and Last 12 months from Available to Applied, and move out the ones you don't want.
3. In Default values, pick the range the dashboard should open with.
The Date filter applies to Score, Time series, Bar and Pie/Donut visualizations on the same tab. For indicator-based charts, also turn on Apply date range in each chart's configuration panel. Time series charts adjust their aggregation automatically. By doing this, you can change the period for both charts in one click, without editing each chart.
Kindly remove any fixed date condition from the charts' data sources (like Created on Last 6 months), otherwise it gets combined with the filter.
Configure a Date filter: https://www.servicenow.com/docs/r/now-intelligence/create-date-filter-workspace.html
If this helped, kindly mark it Helpful so others facing the same issue can refer to it.