Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there
I have some conditional formatting on the totals (I'd like them to be on both values and totals, took values off because it didn't work when filtered only to find out it doesn't work when filtered for totals either).
It's a 3 pronged rule and each is different for every column.
First rule - if it's >= 0 and < 25 then red
Second rule - if it's >=25 but < 55 then yellow
Third rule - if it's >=55 and < 100 then green
Each col has a variation of that rule. And when nothing is filtered, it colours the total correctly. If I filter the months, then they're all green when they shouldn't be. Any ideas?
Solved! Go to Solution.
Hi @smather ,
Please try to create a measure for conditional formatting:
Color Measure = SWITCH(TRUE(),
[10Secs %]>=0 && [10Secs %]<0.25 ,"Red",[10Secs %]>=0.25 && [10Secs %]<=0.55, "Yellow", [10Secs %]>=0.55 && [10Secs %]<1,"Green")
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @smather ,
Please try to create a measure for conditional formatting:
Color Measure = SWITCH(TRUE(),
[10Secs %]>=0 && [10Secs %]<0.25 ,"Red",[10Secs %]>=0.25 && [10Secs %]<=0.55, "Yellow", [10Secs %]>=0.55 && [10Secs %]<1,"Green")
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
can you share the screenshots
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
@mh2587 sure!
Apologies, I should've said "it didn't do what it was meant to". The top picture is perfect, until I filter it by month:
If the values in percentage then put 0.25 , 0.55 and 1 for hundred
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 143 | |
| 123 | |
| 102 | |
| 79 | |
| 54 |