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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
bluespatial
New Member

odata spatial service

I have setup an OData service that imports into powerBI fine. 

 

https://demo.bluespatial.com/odata/layers/Schools1?$top=20

 

However when I add a map vizualization and set the Location to the geometry field nothing happens / the geometries are not drawn. 

 

I am leveraging code from Github - https://github.com/OData/ODataSamples/tree/master/WebApi/v4/ODataSpatialSample which returns the geometries as MS Geometry JSON format.

 

Should I be returning as TopoJSON or some other format for my REST endpoint to be able to function with Power BI?

2 REPLIES 2
Anonymous
Not applicable

@bluespatial,

Which field do you set the Location type? I put all data into a JSON file and connect to the JSON file in Power BI Desktop, then extract all columns and create a map using the city column, please check if it returns your expected result.

https://1drv.ms/u/s!AhsotbnGu1Nok0pvPuF9WuASni7G

Regards,
Lydia

My geometry are pregeocoded. I am not trying to specify a city which is then geocoded and then placed on the map. I have the actual coordinates. Also I have more than just point geometries. I also have polygons etc. 

 

I also need to know if it will work with OData with a spatial field.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.