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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
adidriksen
Regular Visitor

Using coordinates for a shape map

Can I use latitude and longitude coordinates to place observations on a shape map? I want Power BI to, for instance, be able to count the number of houses (in the data set) located in the Zentrum district of Cologne (there should be exactly one) and display this on the map.

 

Desired result 

Sample data 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @adidriksen ,

 

Thanks for your reply. I doubt if "shape map" visual has such a function. As far as I know, "shape map" does not have the function of setting longitude and latitude. 

 

Best Regards,

Yuna

View solution in original post

7 REPLIES 7
ELW
Advocate II
Advocate II

It's been almost three years, is there still no solution to a map visual with both shapes and points?  

Anonymous
Not applicable

Hi @adidriksen ,

 

Thanks for sharing your files.

Based on your description, do you mean the "filled map" visual?  Where is "Zentrum" in your sample data?

Is the following result what you want? Sorry I'm a little confused.

 

v-yuaj-msft_0-1610529540075.png

 

Best Regards,

Yuna

 

Hi Yuna.

 

I meant the shape map (it's a preview feature.) An example of how the shape map looks, and where Zentrum region is located, is here:

 

Zentrum.png

 

I got that from using the .json as a custom map in the shape map visual. Now I want to count (for example) how many rows are located in the Zentrum region using the coordinates, like this (visual made with a different software):

 

desired result.png

 

Bonus points if the sections of the map that do not have any observations could be cut away like in the example above!

Anonymous
Not applicable

Hi, @adidriksen ,

 

Thanks for your reply. I doubt if "shape map" visual has such a function. As far as I know, "shape map" does not have the function of setting longitude and latitude. 

 

Best Regards,

Yuna

Anonymous
Not applicable

Hi @adidriksen ,

 

Sorry for that I cannot download the sample data from your posted link. Please save your files in OneDrive or any other cloud sharing platforms and share the link here. Thank you.

 

Best Regards,

Yuna

 

Hello Yuna, thanks for bringing this to my attention. I had overlooked one of the privacy settings. The link should work now!

amitchandak
Super User
Super User

@adidriksen , You an option for latitude and longitude filled MAP. I doubt that is there for shape MAP.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.