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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
annie09
Frequent Visitor

Custom shape map - json file

I'm creating custom shape map using the json file. I'm trying to mimic the map from the below link. 

 

https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/Analyzing-the-UN-s-Sustainable-Develo...

 

The map is in just grey after importing json and doesnt do anything. I enabled the zoom but nothing is working. My power Bi version is Version: 2.120.963.0 64-bit (August 2023). Please advise. Thanks.

3 REPLIES 3
Benton
Frequent Visitor

Hey Annie, 

 

Upon further investigation, I saw the same issue with your TopoJSON file.   

 

That said, you can get a world state boundary GeoJSON here: 

GeoJSON Maps of the globe (ash.ms)

 

You can then use MapShaper to https://mapshaper.org/ convert it to TopoJSON.

 

 

 

Here is what I see in the Shape Map.

Benton_0-1694050837918.png

 

Hope this is helpful!

Benton (from EasyTerritory)

Benton
Frequent Visitor

Hey Annie,

 

Where did you get your GeoJSON from?  It might be that it isn't valid JSON or that it is too complex (has too much coastline detail) for the map visual to render.  You're trying to load it in the Azure Maps visual?  If you can post a link to the JSON file you're using, that would be helpful to try and troubleshoot.  

 

Benton (from EasyTerritory)

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors