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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.