Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Enrico501
Frequent Visitor

Conditional formatting of % on MAP Visual in power bI not working correctly

Hi, 

 

I have set a set of SLA % below and the conditional formating associated with them.

 

Enrico501_0-1682346135558.png

Based on the Above Italy for example should be in Yellow as the Delievered in SLA is 66.82%. 

Enrico501_1-1682346293971.png

Enrico501_3-1682346324813.png

however as you can see below Italy is showing in REd not Yellow even though SLA is above 50%. 

Enrico501_4-1682346411954.png

Any ideas on the issue? 

 

 

 

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Enrico501 

 

You can try the following methods.

Color measure = SWITCH(TRUE(),
             [SLA%]>=0&&[SLA%]<=0.5,"Red",
             [SLA%]>0.5&&[SLA%]<=0.8,"Yellow",
             [SLA%]>0.8&&[SLA%]<=1,"Green" )

vzhangti_0-1682477380128.png

vzhangti_1-1682477407908.png

vzhangti_2-1682477432942.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Enrico501
Frequent Visitor

It works. Thank You. This is the accepted solution. 

 

v-zhangti
Community Support
Community Support

Hi, @Enrico501 

 

You can try the following methods.

Color measure = SWITCH(TRUE(),
             [SLA%]>=0&&[SLA%]<=0.5,"Red",
             [SLA%]>0.5&&[SLA%]<=0.8,"Yellow",
             [SLA%]>0.8&&[SLA%]<=1,"Green" )

vzhangti_0-1682477380128.png

vzhangti_1-1682477407908.png

vzhangti_2-1682477432942.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.