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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
lakshay12311
Regular Visitor

Plotting values on US map

Hello all,

 

I am using "Shape Map" to show metric values on a US map. I am showing opportunities in terms of values (10,5 and 0). This works perfectly fine. See below:

lakshay12311_0-1605644738891.png

 

 

When I use a slicer value (say product "A") , then based on the report logic there are no opportunites or in other words opportunity=0.  I get the below map - which is all pink in color. My requirement is to get "Grey" color in the map as the opportunity=0. I tried few things in data values options but am unable to get the required results. Any suggestions?

 

lakshay12311_1-1605644957247.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@lakshay12311 , Not exactly clear on your measure, but try like

new measure = if([opportunity]=0, blank(),[opportunity])

This should greyout 0 values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@lakshay12311 , Not exactly clear on your measure, but try like

new measure = if([opportunity]=0, blank(),[opportunity])

This should greyout 0 values

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak ! It worked like a charm 🙂 It amazing to see how small changes make big difference!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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