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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.