Forum Discussion
Help with conditional formatting!
- 5 years ago
Try:
SWITCH(TRUE(),
[Your measure] < 0.81, "red",
[Your measure] > 1.19, "red,[Your measure] >= 0.95 && [Your measure] <= 1.05, "green",
"orange")
You need to create a Measure
SWITCH(TRUE(),
YourMeasure>= -5 && YourMeasure <=5, "Green",
YourMeasure<=-19&&YourMeasure>=19 ,"#DC8210", "red")
Then use this In conditional Formatting using Field Value
as shown below:
Please let me know if any questions
Hi,
Thank you for responding. When using the measure suggested above, it doesn't work as expected.
It is turning every number green. I have tried changing the measure with no luck. It seems to constantly highlight all numbers green, regardless of their value.
I am wanting everything between -5% and +5% green and everything below -19% and above 19% red.
Thanks again!
- PaulDBrown5 years agoCommunity Champion
Try:
SWITCH(TRUE(),
[Your measure] < 0.81, "red",
[Your measure] > 1.19, "red,[Your measure] >= 0.95 && [Your measure] <= 1.05, "green",
"orange")