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

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.

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

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors