- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi ServiceNow Community,
I'm kinda turned around on a configuration issue that I've been trying to work through regarding how to best set the Range limit(s) and Range color(s) for a custom Target to work with a custom Formula Indicator to check percentage of compliance rates on a table.
The goal is to use a Single Score Data Visualization to show the percentage in Green for > 90%, Yellow for anything between 60% and 90% and Red for < 60%.
Despite my best efforts to read and review documentation and videos, I can't get past how to properly get the threshold colors to synchronize or rather show the proper color per the thresholds.
I have the data populating correctly from the table to the widget, but the UI part, showing the colors, is the last hurdle to get over.
I would really appreciate any help on how best to configure the Target value tab on the Target record. Right now, I have it set to 90 per the 90% threshold, but also used 100 as the Target value to test and nothing effective came.
And also... any help on how to best set the Range limit for 1, 2, 3 and 4 the right way.
Right now have:
Range limit 1: -100
Range limit 2: -40
Range limit 3: -10
Range limit 4: 0
I've also tried other combinations like this one below:
Range limit 1: 0
Range limit 2: 10
Range limit 3: 40
Range limit 4: 50
The Range colors:
Range color 1: Red
Range color 2: Yellow
Range color 3: Green
Range color 4: Green
Range color 5: Green
And I have the Indicator(s) "Direction" set to Maximize.
I realize I may be missing a step or not using something already out-of-box to more easily set the colors.
I'd appreciate any help with this.
Respectfully
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I think the key here is how the Target Color Scheme evaluates the indicator score. It uses the gap percentage relative to the target, not the actual compliance percentage.
Since your indicator direction is set to Maximize, and your target is 90%, the gap percentages for your required thresholds would be:
60% actual score = approximately -33.33% gap
90% actual score = 0% gap
Above 90% = positive gap
So, assuming the underlying indicator score and target are both stored on a 0–100 scale, try the following configuration:
Target value: 90
Range limits:
Range limit 1: -33.33
Range limit 2: 0
Range limit 3: 10
Range limit 4: 20
Range colors:
Range color 1: Red
Range color 2: Yellow
Range color 3: Green
Range color 4: Green
Range color 5: Green
This should give you the intended behavior:
Below 60%: Red
60% to 90%: Yellow
Above 90%: Green
The reason for using these values is that the first range represents scores below -33.33% of the target gap, the second represents the range up to 0%, and all subsequent ranges are green.
Also, make sure the target is Global, the color scheme is associated with that target, and the Single Score visualization has Target color selected under Colors.
One additional thing to verify: check whether your formula indicator stores the percentage as 90 or 0.9. The target and range calculations must use the same underlying scale.
I would test with scores of 59%, 60%, 90% and 91% to validate the color transitions.
Reference:
Performance Analytics Targets and Target Color Schemes :
https://www.servicenow.com/docs/r/xanadu/now-intelligence/performance-analytics/pa-targets.html
Single Score Visualization – ServiceNow documentation
https://www.servicenow.com/docs/r/now-intelligence/create-dv-sing-sc-ac.html
Helpful? Please mark the response as Accepted Solution ✅ and close the thread — this helps future readers find the solution faster.
Regards,
Sachinvic
✨ ArchX Certified | ✨ 16x ServiceNow AI MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I think the key here is how the Target Color Scheme evaluates the indicator score. It uses the gap percentage relative to the target, not the actual compliance percentage.
Since your indicator direction is set to Maximize, and your target is 90%, the gap percentages for your required thresholds would be:
60% actual score = approximately -33.33% gap
90% actual score = 0% gap
Above 90% = positive gap
So, assuming the underlying indicator score and target are both stored on a 0–100 scale, try the following configuration:
Target value: 90
Range limits:
Range limit 1: -33.33
Range limit 2: 0
Range limit 3: 10
Range limit 4: 20
Range colors:
Range color 1: Red
Range color 2: Yellow
Range color 3: Green
Range color 4: Green
Range color 5: Green
This should give you the intended behavior:
Below 60%: Red
60% to 90%: Yellow
Above 90%: Green
The reason for using these values is that the first range represents scores below -33.33% of the target gap, the second represents the range up to 0%, and all subsequent ranges are green.
Also, make sure the target is Global, the color scheme is associated with that target, and the Single Score visualization has Target color selected under Colors.
One additional thing to verify: check whether your formula indicator stores the percentage as 90 or 0.9. The target and range calculations must use the same underlying scale.
I would test with scores of 59%, 60%, 90% and 91% to validate the color transitions.
Reference:
Performance Analytics Targets and Target Color Schemes :
https://www.servicenow.com/docs/r/xanadu/now-intelligence/performance-analytics/pa-targets.html
Single Score Visualization – ServiceNow documentation
https://www.servicenow.com/docs/r/now-intelligence/create-dv-sing-sc-ac.html
Helpful? Please mark the response as Accepted Solution ✅ and close the thread — this helps future readers find the solution faster.
Regards,
Sachinvic
✨ ArchX Certified | ✨ 16x ServiceNow AI MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Your solution worked perfectly!!!
Once I dropped those numbers into the Range limit fields 1-4 and clicked save and reviewed each Data Visualization created, the color scheme was different for each metric.
Thank you