Forum Discussion

Mous007's avatar
Mous007
Helper IV
5 years ago
Solved

Conditional formatting issue

Hi all,

 

I have generated the below table with two metrics.

The Quality KPI switch = 

quality KPI switch = SWITCH(TRUE(),
[Quality KPI] < -0.1 , "G" ,
[Quality KPI] <= 0 && [Quality KPI] >= -0.1 , "A" ,
[Quality KPI] < 1 , "R" )
 
 
I would like to apply  conditional formatting with three different colors to the quality KPI column using the quality KPI figures
I want to apply the following rules to my formatting
 
If Quality KPI is between 0 and - 10% --> "A" and "Color1"
If quality KPI is more than - 10% --> "G" and " Color2"
If quality KPI is more than 1% or any positiive value --> "R" and "color2".
 
I tried to add the colors into the switch function and also tried the conditional formatting but did not manage to get the expected results
 
Can anyone please help me achieve this or at least guide me on how i can get it done ?
 
Thanks in advance
 
 
 

 

2 Replies