BookmarkSubscribeRSS Feed
jmehul
Quartz | Level 8

Hi All,

 

I want to make a dynamic KPI triangle color as shown in green color in the image.

 

For example, if my profit goes down with respect to the previous year then the triangle will be red else it will show green.

Thanks.

 

gross-profit-margin.png

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

Hi!

Create a calculated measure that get the value -1, 0 or 1 depending if you are under, on or over previous year.

Then add a display rule to your meter with the conditions: -1 = red and 1 = green.

 

Add a text object with dynamic text for the description...:)

 

//Fredrik

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