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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors