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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Filled map with colour saturation: it colours also zero value countries

Hello all!

I've a simple filled map shaded by value (in this case a sum of investments in several sectors). I've also a slicer by sector.

When I slice by sector the map does change colour shade BUT countries with £0 value of investment in that sector still remain slighly coloured. I am attaching some pictures. Thank you!!

GiuliaOverviewOverviewUsing the slicerUsing the slicer3 map.PNG 

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

It seems you are using old version of Power BI Desktop.

You could create a measure like this

measure=IF(SUM([value])=0,-1,SUM([value]))

Then add this measure in the color saturation

Configure the color setting Minimum to 0

5.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
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

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

It seems you are using old version of Power BI Desktop.

You could create a measure like this

measure=IF(SUM([value])=0,-1,SUM([value]))

Then add this measure in the color saturation

Configure the color setting Minimum to 0

5.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi - thanks and sorry! 

My question is: how can I remove the colour from £0 value country? I just don't want them coloured.

Thank you!

parry2k
Super User
Super User

@Anonymous what is your question/issue?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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