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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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

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

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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