The CreatorCon Call for Content is officially open! Get started here.

Kalyani Jangam1
Mega Sage

Report range is used to define data intervals that are used in bar and pie charts.

Reports only show historical data. It is not possible to set report ranges for dates in the future.

There is a “sys_report_range” table in which all report ranges are stored. We can create customize report range in following ways

navigate to Reports > Administration > Report Ranges.

KalyaniJangam1_0-1685607199841.png

Element- on which field of table you want to use it

Upper duration value- In which duration you have to calculate range. Ex. In the above field it will be less than 1 week hence the upper duration value is 7.

Name- In which table you have to apply. It is table limitation. This report range is not used for any table rather than incident.

Upper Int Value-Example: One report range has an upper limit of 10 and an Order of 20. A second report range has an upper limit of 5 and the Order of 19. Values from 5 to 10 display the formatting specified by this range.

 

In the report of the incident table, you can use this customised report range.

Screenshot 2023-06-06 at 1.10.14 PM.png

 

For more detail analysis, Please check below ServiceNow docs for reference.

https://docs.servicenow.com/en-US/bundle/utah-now-intelligence/page/use/reporting/concept/c_ReportRa...

 

 

 

Comments
Nayan  Dhamane
Kilo Sage

This is very helpful.

tim_treacy
Tera Contributor

 

"In the report of the incident table, you can use this customised report range."

 

How.

I've built the custom ranges I need and I've run through SN's documentation to ensure that the module is enabled.  I don't see anything in the report builder that lets you alter or change from the default ranges.

The ones I created appear to be completely useless.

 


 

Kalyani Jangam1
Mega Sage

Hi @tim_treacy 

 

Have you created record on Report Ranges this table???

 

tim_treacy
Tera Contributor

Not sure I follow the "this table" part, but yes.

I've created 4 Report Range records on [sys_report_range] for the time ranges I need (7, 30, 60, 90, days) under the Global application.
Screenshot_375.png

The ranges are explicit for grouping based on the <sys_created_on> of the [task] table, as these are needed for Cases and Incidents.

Issue is, there aren't any options in the reports chart configuration that allows you set what range to use.
It just, uses the OOB ranges.
Screenshot_374.png

Kalyani Jangam1
Mega Sage

Hi @tim_treacy 

You created report range on task table and your report on [sn_customerservice_case_core] table. updated table of report ranges and check once. It is table specific also, depend on which table you want to customize.

tim_treacy
Tera Contributor

So.....the 'sys_created_on' field doesn't exist on the [sn_customerservice_case] table, it's an extended field from [task].
(our [sn_customerservice_case_core] table is extended from the Case table)

FWIW, I did try to build it this way first, but the Case table isn't an available table in the 'Name' field in the Range record.
Screenshot_386.png

So, since I can't create the ranges on the table I'm reporting against, and building them on the root extensor table doesn't work...I guess my question is now:  "How do I build a Report Range that's functional on the Case table, that uses a field (Element) that's extended from the Task table?"

Prasad Tlns1
Tera Contributor

I am trying this for the Quarterly based grouping but I am unable to get that. Report X Axis shows 1/2025; 2/2025 instead of Q1 or Q2

tim_treacy
Tera Contributor

@Prasad Tlns1 

Unfortunately I wan't able to find any solution for this, any no one here's been able to provide any advise or guidance.

Here's to hoping that something in Platform Analytics enables this, or provides more/better tools that we might build it.

Tim

Version history
Last update:
‎06-06-2023 12:41 AM
Updated by:
Contributors