cancel
Showing results for 
Search instead for 
Did you mean: 
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!:
Mastering Power BI 2nd Edition

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!:
Mastering Power BI 2nd Edition

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
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors