cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

how to successfully use Shape Map

Hi Team , 

I have China , Thailand , Hongkong , Malaysia , I wanna use shape map to visualize these countries into the shape map. 
how to successfully use such map ? i have no idea while i tried to research multiple documents but no output and a bit hectic with the different ways to acheive it. 

Anyone can tell me how to settle this ? 

Thanks with Regards, 
Chanleakna Hang 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: how to successfully use Shape Map

You need to do a few things.  Firstly, have a column in your data which holds the Country information you have mentioned.  Select that field in your field picker and use the Model Tab of your menu ribbon and give that field a 'Data Category' of Country.  Put this into the location area of the visual setup.

 

Next you need a field that is going to act as the highlighter for your shape map, usually this will be a value field such as "Revenue" or something.  Place this field into the "Colour saturation" area of the visual setup.

 

Lastly, in your visual set up there is an icon that looks like a paint roller, select this and you will have a grouping called 'Data colors'.  This will let you choose what your data saturation gradient is, i.e. red to green.

 

 

Many many ways to set this visual up, but the above is a common method that should hopefully get you started.

View solution in original post

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: how to successfully use Shape Map

Hi @Chanleakna123,

 

You can use custom maps with Shape Map as long as they are in the TopoJSON format. If your map is in another format, you can use online tools such as Map Shaper to convert your shapefiles or your GeoJSON maps into the TopoJSON format.

 

Take the China for example, you can get a China .shp file here, then you can convert the .shp file to TopoJSON via the Map Shaper tool as mentioned above. Add this custom map to Power BI desktop and visualize data via ShapeMap visual. You can see atatched file. 

 

q8.PNG

 

Reference:

https://docs.microsoft.com/en-us/power-bi/desktop-shape-map

 

Best Regards,
Qiuyun Yu 

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

Re: how to successfully use Shape Map

You need to do a few things.  Firstly, have a column in your data which holds the Country information you have mentioned.  Select that field in your field picker and use the Model Tab of your menu ribbon and give that field a 'Data Category' of Country.  Put this into the location area of the visual setup.

 

Next you need a field that is going to act as the highlighter for your shape map, usually this will be a value field such as "Revenue" or something.  Place this field into the "Colour saturation" area of the visual setup.

 

Lastly, in your visual set up there is an icon that looks like a paint roller, select this and you will have a grouping called 'Data colors'.  This will let you choose what your data saturation gradient is, i.e. red to green.

 

 

Many many ways to set this visual up, but the above is a common method that should hopefully get you started.

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: how to successfully use Shape Map

@v-qiuyu-msft Hi Dear, 

I'm in cambodia and i'd like to see all of the province inside Cambodia Country. and i had use your file HERE. and i download the Cambodia Country , But sadly i still need to understand more how can you have Custom Map , CHN from ? 

I'm very basic oon this one. So your guiadance is really critical for us and really appreciated all your support so far. 
 1.PNG

Highlighted
Post Prodigy
Post Prodigy

Re: how to successfully use Shape Map

@Ross73312 Hi , Thanks , i do as per your advise and it's work . But a bit slow which i have so many country on the map 😞 

Anw, really appreciated your support 🙂

Highlighted
Helper IV
Helper IV

Re: how to successfully use Shape Map

Hi @Ross73312 I want to use my Floor Plan data to show heatmap like the attached image. Is this possible using Shapemap visual. Any help on this is really appriciated. Thanks

Example Resutl I am looking for is:

Heatmap Resutl.jpg

 

Highlighted
New Member

Re: how to successfully use Shape Map

Thank you so much. I have been researching this for days and you are the only person in the whole web who gave an easy and correct solution!!!!!

 

Highlighted
New Member

Re: how to successfully use Shape Map

Hi,

 

I have converted shp files into json files in order to do mapping in power bi, however the trouble I face is there are no data attributes with these shape files when putting them into map shaper.  I have dbf files, so question iss what to do next, do I need QGIS?

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors