Forum Discussion
Shape Map
Hi Power BI Team,
I want use Shape map in power BI. Please add India map in this visual.
You can either purchase shapemap file or use what's freely available. Search for the ones for India at https://gadm.org/maps.html . You will need to convert them to topojson. You can use https://mapshaper.org/ for that.
Hi,
Power BI does not natively include an India map in the Shape Map visual, but you can add it manually using a custom TopoJSON file.
Step 1 - Download the India Map TopoJSON file: reference site - https://data.humdata.org/dataset/geoboundaries-admin-boundaries-for-india
File name - geoBoundaries-IND-ADM1.topojson
You can download from other sites as well.
Step 2 - Enable Shape Map in Power BI
- Open Power BI Desktop.
- Go to File > Options and settings > Options.
- Under Global, select Preview features.
- Check the box for Shape Map visual.
- Restart Power BI Desktop to apply the changes.
Step 3 - Add the Shape Map Visual
- Go to the Visualizations pane.
- Click on the Shape Map icon (it looks like a basic map).
- If you don’t see it, try enabling it again in the Options menu.
- Drag the visual onto your report canvas.
Step 4 - Configure the Shape Map
- In the Fields pane, add a Location field (e.g., state names).
- Click on the Format pane > Map Settings.
- Select a built-in map or Add a Custom Map (for India, upload a TopoJSON file). By default it will show json files only from downloads just select all files options and upload. Might get error about wrong file format but it should work.
- Customize colors, tooltips, and interactions as needed.
Thanks,
Bhavin
2 Replies
- danextianSuper User
You can either purchase shapemap file or use what's freely available. Search for the ones for India at https://gadm.org/maps.html . You will need to convert them to topojson. You can use https://mapshaper.org/ for that.
- BhavinVyas3003Super User
Hi,
Power BI does not natively include an India map in the Shape Map visual, but you can add it manually using a custom TopoJSON file.
Step 1 - Download the India Map TopoJSON file: reference site - https://data.humdata.org/dataset/geoboundaries-admin-boundaries-for-india
File name - geoBoundaries-IND-ADM1.topojson
You can download from other sites as well.
Step 2 - Enable Shape Map in Power BI
- Open Power BI Desktop.
- Go to File > Options and settings > Options.
- Under Global, select Preview features.
- Check the box for Shape Map visual.
- Restart Power BI Desktop to apply the changes.
Step 3 - Add the Shape Map Visual
- Go to the Visualizations pane.
- Click on the Shape Map icon (it looks like a basic map).
- If you don’t see it, try enabling it again in the Options menu.
- Drag the visual onto your report canvas.
Step 4 - Configure the Shape Map
- In the Fields pane, add a Location field (e.g., state names).
- Click on the Format pane > Map Settings.
- Select a built-in map or Add a Custom Map (for India, upload a TopoJSON file). By default it will show json files only from downloads just select all files options and upload. Might get error about wrong file format but it should work.
- Customize colors, tooltips, and interactions as needed.
Thanks,
Bhavin