Forum Discussion
Conditional format in matrix table can't exceed 100% (when using measures)
- 5 years ago
hi Namoh
You should create a measure as below:
Measure = DIVIDE(SUM(actual unplanned downtime(hrs)) , SUM(target unplanned downtime(hrs)))
then do conditional format based on this measure not target unplanned downtime(hrs).
and since this meausre is a percent, you need to change 1->0.01 80->0.8 110->1.1 120->1.2 9999->99
Now it should work for your requirement.
Regards,
Lin
Thanks, will try to use the extra measure!
Will post if it worked.
- Namoh5 years ago
Post Partisan
v-lili6-msft , I've created the measure and it shows the correct values, see 2nd picture below, last column.
I've added the conditional formatting rules accordingly, but the colors are not showing up correctly, see picture below.
What am I doing wrong?
According to above rules the first 3 rows should be Dark Green, because they're less than 80% / 0.8, but they show as Red....?
- v-lili6-msft5 years ago
Community Support
- Namoh5 years ago
Post Partisan
Yes, that solved it.
To be honest the Conditional Formatting this works in PowerBi is much less intuitive then how it works in Excel.
The fact that you need to create an extra measure is a step I really don't understand, with my knowledge from Excel.
But then again, I'm a newbie when it comes to PowerBi, but it just isn't as easy and intuitive as Excel.