Forum Discussion
Regions and Countries on Shape Map
Hello Folks,
Need help on creating Shape Map Visualization.
After Trasformations I have the followiong columns,
M stuck at creating a orthographic shape map visualization
Where in my data I have 6-7 regions, Each region has a set of 10-20 countries
I tried creating a column assigning countries to region name But the expected result in not appearing!
4 Replies
- rajendraongole1
Super User
Hi techy_tuner - If mapping regions (e.g., Europe-North), custom GeoJSON is mandatory, as Power BI does not natively recognize these as geographical entities.
If your regions are custom-defined (e.g., Europe-North), create a custom GeoJSON file:
Use tools like MapShaper or other JSON editors.
Define polygons for your regions, assigning them names (e.g., Europe-North).
Upload the GeoJSON file to Power BI as a custom map:
Go to the Shape Map visual.
In the Format Pane, under Shape, upload your custom JSON file.if shapemap is not enabled,please follow the below
file>> options and settings>> options>> preview features
- techy_tuner
Helper I
I got about the json file but how to create custom regions is main issue
Like suppose I have Asia as region and (Russia , China) countries for Asia region- AnonymousNot applicable
Hi techy_tuner
Make sure that the place names in your column exist in the Map keys.
You can click the View map type key to view it:
Here's a detailed link about how to use the shape map:
Map Your World in Power BI: A Step-by-Step Guide to Custom Shape Maps
Hope this can help,
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- techy_tuner
Helper I
I got it about using Json editors. But how to draw polygons on it is the question!
I understood the interface but unable to understand whether it is working or not because if I want to group Russia and China how can we do it using Polygon.