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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Why Does PBI Load JSON Polygons as Individual Points Across Multiple Files?

I'm creating a custom map in JSON and it works flawlessly at showing my polygons on mapshaper.org, geojson.io, jsonlint.com, and geojsonlint.com, but when I load it into Power BI it only shows up as points. Why would that be? My version is updated to January 2024 and I have no third-party plugins/extensions due to group security policy. 

 

I've even gone as far as to test someone else's JSON file in PBI located here

, and it too shows each coordinate pair as a single point such as below.

rawrjson.PNG

 

Thanks ahead of time!

 

 

Status: Investigating

Hi  @chippy-chip ,

 

Power BI expects coordinates in the order of longitude, latitude. If your coordinates are in the reverse order (latitude, longitude), this could cause issues with rendering.
Please verify that your GeoJSON file explicitly defines the geometries as polygons. if the geometries are not correctly defined, Power BI might interpret them as points. Ensure that the "type" property in your GeoJSON is set to "Polygon" or "MultiPolygon".
In the Visualizations pane, select the map visual and then go to the Format pane. Check the settings under Shape and Map styles to ensure that polygons are enabled and correctly configured.

 

Best regards.
Community Support Team_Caitlyn

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi  @chippy-chip ,

 

Power BI expects coordinates in the order of longitude, latitude. If your coordinates are in the reverse order (latitude, longitude), this could cause issues with rendering.
Please verify that your GeoJSON file explicitly defines the geometries as polygons. if the geometries are not correctly defined, Power BI might interpret them as points. Ensure that the "type" property in your GeoJSON is set to "Polygon" or "MultiPolygon".
In the Visualizations pane, select the map visual and then go to the Format pane. Check the settings under Shape and Map styles to ensure that polygons are enabled and correctly configured.

 

Best regards.
Community Support Team_Caitlyn