Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi ,
I have the following requirement , where i need to change font color based on conditions.
I have Performance as my calculated column.
I am not getting actual result based on below measure. Is there any way we can achieve this. I tried VALUES also , still not working. Please help
Overall_Color_BLs = VAR Overall= SUM(All_Bls_Fct[OverallPerformance_New])
return SWITCH( TRUE(), overall>=0.95,"#F34E4E", overall>=0.85 && overall<0.95,"#E7A76C", overall<0.85,"#5BA35F")
Sorr, try this instead! added some extra brackets in the last one.
If it works let me know and accept as solution if you'd be so kind!
Good luck! 🙂
If not, make sure that the column "OverallPerformance_New" is of numeric data type and contains valid numbers.
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
120 | |
101 | |
71 | |
61 |