Forum Discussion

RingoSun's avatar
RingoSun
Helper II
3 years ago
Solved

Conditional formatting not giving expected output

Above is my table, in the Color column the value is 0 if the Score is equal to or greater than the Expected column. Otherwise the value will be 1 if it is above the Minimum but below the Expected. The Score is basically just Numerator divived by Denominator.

 

Basically, if the Score meets or exceeds the Expected %, then the color should be green. But if it is below the Expected % but above the Minimum % then the color should be Yellow.

 

It can be seen above that January 2021 is 89% which means it meets the minimum so the Yellow color is correct. But for September 2021 it is 90%, it meets the Expected % but the color is still Yellow.

 

Here are the rules I have applied.

 

Can anyone help me troubleshoot this and how to get the correct colors assigned?

 

PBIX

4 Replies