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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 836 views
  • 0 likes
  • 2 in conversation