Skip to main content
Announcements
Happy New Year! Cheers to another year of collaboration, connections and success.
cancel
Showing results for 
Search instead for 
Did you mean: 
MB2024
Contributor II
Contributor II

KPI chart to display a RAG status based on performance

Hello all

I have a KPI Chart that uses a master measure to display a RAG status.  I have the following IF statement

if(rag_status>=6,'Red',if(rag_status<=3,'green','Amber')) 

What I would like to do is have the RAG status in the relevant colour.  For example if the KPI is displaying Red I want the text to be red. 

Any help appreciated 

Labels (1)
3 Replies
Lisa_P
Employee
Employee

In the Master Measure for RAG status, edit and go to the Segment colors tab.

Set to Custom coloring, and select the fixed value segments and decide where your segments are and assign the colors on the tab.

Lisa_P_0-1726530801498.png

 

 

MB2024
Contributor II
Contributor II
Author

Thanks i am guessing i will have to have a dual output for my if statements?  As the  limits are in percentages but my if statement is currently text. 

 

sorry for the newbie questions still learning

Lisa_P
Employee
Employee

You are only coloring using the values, you should be using the dimension values for the labels. To apply this color scheme use the color by measure with library colors turned on.