Create a bar graph based on start and today date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 12:33 PM
I have a requirement to show in bargraph
0-1days
2-3 days
>3 days
It's calculated based on difference between request creation date and today's date. How can I achieve in Reports. Can anyone suggest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 09:31 PM
HI @Hareesha ,
I trust you are doing great.
To achieve the desired result of displaying a bar graph based on the age of IT asset management requests, you can follow these steps in ServiceNow:
- Create a new report in ServiceNow.
- Define the report type as "Bar Chart" to display the data in a bar graph format.
- Specify the table from which you want to fetch the data. In this case, it would be the table containing the IT asset management requests.
- Configure the report to include the following fields: "Request Creation Date" and "Today's Date" (current date).
- Add a filter to the report to calculate the age of the requests. The condition will be based on the difference between the "Request Creation Date" and "Today's Date".
- Set the filter conditions to categorize the requests into the desired age ranges:
- For requests created within 0-1 days, use the condition: "Difference is less than or equal to 1".
- For requests created within 2-3 days, use the condition: "Difference is greater than 1 and less than or equal to 3".
- For requests created more than 3 days ago, use the condition: "Difference is greater than 3".
- Configure the report to display the categorized data in a bar graph format.
- Customize the appearance of the graph by setting appropriate labels, colors, and axis titles.
- Save the report and share it with the intended audience.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 09:57 PM
I Amit,
I am unable to set the filter condition that you have suggested. I am unable to see the Difference in report. Can you help me on this.Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 10:55 PM
Hi @Hareesha ,
You need to look into report ranges to create the ranges you have specified in your question. You can see the documentation here: https://docs.servicenow.com/en-US/bundle/utah-now-intelligence/page/use/reporting/concept/c_ReportRa...
Afterwards, you create a bar chart graph based on created date whit the condition that the request is not resolved, closed or completed (your choices my differ), and whatever conditions you might need.
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 05:25 AM
Hi @Hareesha
if my answer has helped with your question, please mark my answer as accepted solution.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/