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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Dev Camp Session 30

Ted's Dev Camp - January 26, 2023

This session will provide guidance and teach campers the skills required to build Power BI reports that support multiple languages.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.