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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 603 views
  • 0 likes
  • 2 in conversation