BookmarkSubscribeRSS Feed
lilouptk
Calcite | Level 5

Hello,

 

I would like to edit the color of the value on a counter according to it. For example I have a counter with the value '6', and I would like the '6' in red if it smaller (ou equal) than 10 and green if it greater than 10. This is my counter :

lilouptk_0-1609935454524.png

 

I'm using SAS Visual Analytics Designer..

 

Thank you in advance for your help,

 

Lilou

1 REPLY 1
MelCar
SAS Employee

I don't know a way to do that... but you could add a Key Value object under the gauge (I turned off the Value Label in the gauge so the number doesn't appear twice) and then used Rules so that the value is the same color as what that value would be in the gauge.

 Gauge with key value.jpg

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 988 views
  • 0 likes
  • 2 in conversation