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
jafp
Frequent Visitor

Problem locating Spanish municipalities on the Azure map

Good morning,
I'm trying to represent certain Spanish municipalities using a hierarchy of Country, Autonomous Community, Province, and Municipality on the Azure Map. Several municipalities are represented outside of Spain, whereas if I use the Power BI map, the municipalities are located correctly.
Why doesn't the Azure map locate them correctly when using the same configuration?

Thank you very much,
Best regards

Azure Map:

jafp_0-1742294675443.png

Power Bi Map:

 

jafp_1-1742294718289.png

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @jafp  - Some municipality names exist in multiple countries. Ensure your dataset includes country information (Spain) explicitly.Try concatenating fields: Municipality, Province, Spain.

Try different map layers or check if Azure Maps has a preference for a specific hierarchy.If possible, use latitude and longitude instead of names to avoid misplacement.

 

Hope this helps





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

Proud to be a Super User!





View solution in original post

5 REPLIES 5
V-yubandi-msft
Community Support
Community Support

Hi @jafp ,

We noticed we haven't received a response from you yet, so we wanted to follow up and ensure the solution we provided addressed your issue. If you require any further assistance or have additional questions, please let us know.

Your feedback is valuable to us, and we look forward to hearing from you soon.

V-yubandi-msft
Community Support
Community Support

Hi @jafp ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @jafp ,

 Especially regarding the ambiguity in municipality names across different countries. To further enhance accuracy, especially when using Azure Maps within Microsoft Fabric or Power BI, I recommend the following.

1. Concatenate location fields to provide better context to the Azure Maps visual.

2. Use this Full Location field in the Location bucket of the Azure Maps visual.

3. Set the Data Category of the Full Location column to Place  or  Address (via Column Tools in Power BI).

 

This improves geocoding behavior. If possible, use Latitude and Longitude for the most precise location mapping  Azure Maps prioritizes them over names.

 

for your response @rajendraongole1 

 

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

rajendraongole1
Super User
Super User

Hi @jafp  - Some municipality names exist in multiple countries. Ensure your dataset includes country information (Spain) explicitly.Try concatenating fields: Municipality, Province, Spain.

Try different map layers or check if Azure Maps has a preference for a specific hierarchy.If possible, use latitude and longitude instead of names to avoid misplacement.

 

Hope this helps





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

Proud to be a Super User!





Hello @rajendraongole1,
In the end, I used the name of the municipality and province, along with the latitude and longitude.
Thank you very much.
Best regards.

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.