Dashboard Data Sources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 11:47 PM
Hi Community,
I have a requirement to display data on a dashboard using Data Visualization → Single Score, where the records will change to the "Registered" status within the next 3 days.
The calculation logic is:
In the table, records with the status "Completed" or "Modified Completed" will automatically change to "Registered" 14 days after they reached those statuses.
Therefore, I need to find records that will automatically become "Registered" within the next 3 days, and display them in the dashboard's Single Score component.
What is the best way to implement this in ServiceNow?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 12:07 AM
Hi @kack l ,
You can achieve using reports
- Create a Report:
- Navigate to Reports > View / Run.
- Click Create a Report.
- Data:
- Table: Select the table containing the records (e.g., incident, task, or a custom table).
- Type: Select Single Score.
- Filter: Apply the following conditions to identify records that will become "Registered" within the next 3 days:
- Status is one of Completed, Modified Completed.
- Date of Status Change (or the relevant date field capturing when the status became "Completed" or "Modified Completed") is on or before javascript:gs.daysAgo(-11) (This calculates 14 - 3 = 11 days ago, meaning records that achieved the "Completed" or "Modified Completed" status 11 days ago or earlier will transition to "Registered" within the next 3 days).
- Date of Status Change is on or after javascript:gs.daysAgo(-14) (This ensures the records are within the 14-day window for transition).
- Style: Configure the display options for the Single Score report as desired.
- Save: Save the report with a descriptive name.
- Add to Dashboard:
- Navigate to the desired dashboard.
- Click Add Widgets.
- Select Report.
- Search for and select the report created in the previous step.
- Add the report to the dashboard.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 12:15 AM
Thank you for your response! This is just one of my requirements. I also need to calculate:
Records that will become "Registered" within the next 1 day.
The average number of "Registered" records per day for the current year.
Can both of these calculations also be achieved using the same method you suggested?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 12:26 AM
Hi @kack l ,
Yes you can reproduce in same way.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 12:32 AM
Thank you very much for your answer.