Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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/...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |