Forum Discussion

Gaddam's avatar
Gaddam
Frequent Visitor
3 years ago
Solved

Measure for Colour coding

Hello All,    I having problem with the colour changing, i am switch measure but is not working, always showing the values in  red colour TestPerc_CC = SWITCH(True(),[Test_Percentage]>50,"green",...
  • TomasAndersson's avatar
    TomasAndersson
    3 years ago

    Try with decimals from 0 to 1 instead in your switch cases and see if it works.

    TestPerc_CC = SWITCH(True(),[Test_Percentage]>0.50,"green",[Test_Percentage]<0.50&&[Test_Percentage]>0.20,"orange", "red")