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
leopoldvili_1
Helper I
Helper I

Using Long Lat add city names

Hi, I want to add city names on my data with long Lat. is it anyhow possible in powerbi?

I have a table where I have different locations (xy)-shops in Germany and I want to know in which city this shops are located.

I downloaded German cities with coordinates, but could not make it work.

 my locations: 

 

LongLatClose city Name
8.46215       50.2334Empty. 

 

 

Any help would be appreciatable.

Br,G

1 ACCEPTED SOLUTION
Anonymous
Not applicable

5 REPLIES 5
Anonymous
Not applicable

Hi @leopoldvili_1 ,

 

I don't think Power BI has such feature. But if you have a table that contains Long Lat and city name, we might be able to do this with DAX.

 

Best Regards,

Jay

Hi @Anonymous  i have city coordinates as city centers only. Downloaded from this link  https://www.basedig.com/german-government/list-of-all-cities-and-towns-in-germany-with-gps-coordinates-4937/.

and I have another table with locations spreaded in the different city,  only have Long, Lat

Anonymous
Not applicable

Hi @leopoldvili_1 ,

 

You could refer these topics about how to find the nearest location based on the given coordinates.

https://community.powerbi.com/t5/Desktop/Find-the-nearest-location-for-a-customer/m-p/217048 

https://community.powerbi.com/t5/Desktop/Calculate-nearest-points-by-geographical-coordinates/m-p/73... 

 

Best Regards,

Jay

amitchandak
Super User
Super User

@leopoldvili_1 , Not very clear. If you have city name in one table and City name long, lat in another table, you can merge them  in power query

 

 

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

Hi @amitchandak thank you for your reply. No i dont have a city name in another table only xy. 

Br, G

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.