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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am using a red/green icon with conditional formatting. Everything under 50.9999% should be green, everything above should be red. However, when I apply the conditions I get a mix of icon colors (red/green) not aligned to the conditional criteria. Why?
Solved! Go to Solution.
@dekidroske , when say %, You use Number( Not percent ) in the option and use .5 for 50% if that is % column
You can also create measure and use field value option
example
Switch(true(),
[SLA] = 1 , "Green" ,
[SLA] >= .5 , "Amber" ,
"Red "
)
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
HI @dekidroske,
Does any aggregation apply to your value fields? If that is the case, the condition formatting is to check the detailed records instead of aggregated values.
I think you need to use a measure with to calculate the aggregate values and use it to apply conditional formatting.
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
@dekidroske , when say %, You use Number( Not percent ) in the option and use .5 for 50% if that is % column
You can also create measure and use field value option
example
Switch(true(),
[SLA] = 1 , "Green" ,
[SLA] >= .5 , "Amber" ,
"Red "
)
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...