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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jscivias
Frequent Visitor

Map isn't plotting all data points

Hello, I have a dataset with separate columns for Country, State, City, and Postal code information as follows:

 

jscivias_5-1658168682774.png

 

When I include all these fields under 'location', many countries don't show up (e.g. Japan, United Kingdom, and other countries where my data don't have postal code or state data). When I omit State and postal code information and only include country and city fields, most data points are plotted in the correct location, including those countries with missing state info, but so many of my US data don't get plotted correctly-- e.g. a city in state X gets mapped to state Y, etc. I am not sure how to get around this issue. Is there a way I can include the state field, and for those entries where I have missing state info, force power BI to just consider the city level info? (get the data to show up just as they did when i included only country and city fields? Thanks for your help. 

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@jscivias I have often found that concatenating this kind of information into a single field and then setting the data category to Place helps resolve a lot of map plotting issues.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@jscivias I have often found that concatenating this kind of information into a single field and then setting the data category to Place helps resolve a lot of map plotting issues.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler thanks for the concatenation suggestion, it did solve a bulk of data points that were randomly mis plotted all over the place on the map! 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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