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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Daniel1993
Frequent Visitor

Issue with PBI map

Hi!

I have read several posts about PBI map, but have not found the right solution. So hopefully someone can help me.

I have a table with locations, including a column with zip code (postal code) and a column with country (1 with abbreviation of 3 digits and 1 with fully country name).

In most cases, if I use ''country'' and ''zip code'' in  ''Location'', the bubbles are correct except for 2 cases:

 

The locations of Luxembourg. The zipcodes are located in the Netherlands instead of Luxembourg..

Daniel1993_1-1732309145787.png


One bubble of Czech Republic is located in France/Belgium..

Daniel1993_0-1732309498138.png


It is set up like below. I also tried to create a new columns and tried to use them as post code

[Country Code] & " , " & [Post Code] or [Post Code] & " ," & [Country].. same output.

Country/Postal Code do also have the right data category

Daniel1993_2-1732309145788.png

Daniel1993_1-1732309916897.png


Hope someone can help me out 🙂

 

1 ACCEPTED SOLUTION

I solved the issue adding the city. Thank you.

ZipCode/Country = Location[FullCountry]&","&Location[City]&","&Location[Postal code]

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Daniel1993 ,

 

It's not clear what your data source is. If it is Excel and you want to convert ZIP Code to Latitude and Longitude

How to Convert ZIP Code to Latitude and Longitude in Excel

Hope this helps.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

danextian
Super User
Super User

Power BI maps based on location name is kind of a hit or miss. Your best best is to specify the exact location using the geo coordinates - latitude and longitude.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
rajendraongole1
Super User
Super User

Hi @Daniel1993 -By default, Power BI relies on Bing Maps for geocoding, and sometimes ambiguities in location data (like shared or similar postal codes across countries) lead to incorrect placements.

you can create a calculated column in Power BI that concatenates the country name and zip code.

 

eg: LocationKey = [FullCountry] & " " & [ZipCode]

Use this column in the "Location" field of your map visual. This makes the geocoding process more explicit.

you can also configure that with category label

 

rajendraongole1_0-1732365492563.png

 

If the issue still exist, consider using a custom map visual like ArcGIS or Shape Map in Power BI, where you can upload custom boundary data or shape files for precise control over location plotting.

 

Hope this details helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I solved the issue adding the city. Thank you.

ZipCode/Country = Location[FullCountry]&","&Location[City]&","&Location[Postal code]

Hi thanks for the respons! I tried to create the calculated column, but I do not see any bubbles based on that.  I used: 

ZipCode/Country = Location[FullCountry]&","&Location[Postal code]

Daniel1993_1-1732382736103.png

 

Daniel1993_2-1732382895382.png

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.