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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Yumikang
Helper II
Helper II

How to fill different colors in different areas of a shape map;

dear, i need heplp:

I am using shape maps, and I have inserted the JSON file according to the map format.

1. I use the “provinces” in the map table as locations in the shape map, which then displays a complete map of China.

2. I treat some provinces in the map table as a large region, so I have a large region table, which is my slicer.

3. I also have a sales table showing the sales of each product in each large region.

My goal: I want to display different colors on the shape map based on different regions; East Region in blue, West Region in green, South Region in pink, North Region in yellow, other regions in orange, and special regions in white;

Can you help me with this?

Yumikang_0-1754480796234.png

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Yumikang ,

 

For this you need to use the sales value on the tooltips and the colors must be condittional based on the location:

In this small example I have used only New York and California but you can see that they both have different colours.

 

In your case you need to use the colum of the region to make the color work.

MFelix_0-1754490647618.png

 

MFelix_1-1754490659760.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
v-saisrao-msft
Community Support
Community Support

Hi @Yumikang,

We haven’t heard back from you in a while regarding your issue. let us know if your issue has been resolved or if you still require support.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @Yumikang,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @Yumikang,

Have you had a chance to review the solution we shared by @MFelix ? If the issue persists, feel free to reply so we can help further.

 

Thank you.

MFelix
Super User
Super User

Hi @Yumikang ,

 

For this you need to use the sales value on the tooltips and the colors must be condittional based on the location:

In this small example I have used only New York and California but you can see that they both have different colours.

 

In your case you need to use the colum of the region to make the color work.

MFelix_0-1754490647618.png

 

MFelix_1-1754490659760.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors