Forum Discussion
Location/Map defaults to USA?
Hi JayP
What data type did you set your column to in Power BI?
And what I typically do is always put in a comma between each item, with the country always being at the end. This has worked well for me in the past to ensure that it always gets the right location.
Here are some tips & tricks that could also assist: https://docs.microsoft.com/en-us/power-bi/power-bi-map-tips-and-tricks
- JayP8 years agoRegular Visitor
Hi, I didn't put any datatype (nor know where to do so).
I clicked Get Data, pointed to the excel sheet, and accepted the defaults.
Then on the fields pane I clicked "Full address" and Power BI (desktop) automatically added a map visualisation for me. So I'm guessing it recognised the field as a location. In the visualisations field it shows "location" as "Full Address" - do I need to add another step to confirm it is meant to be location data?I think I had commas in before and the result was even more US-biased. So much so that only 2 of the 80 addresses were plotted in NZ.
- v-ljerr-msft8 years ago
Microsoft Employee
Hi JayP,
Have you tried the solution provided by GilbertQ above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?
If you still have any question on this issue, feel free to post here. :smileyhappy:
Regards
- JayP8 years agoRegular Visitor
Apologies for the late response I got pulled back to other stuff and had to put my Power BI play/learning on hold.
I'm not able to find this data category setting in either the query editor window or the visualisations window (which at present only shows a map and a pie chart).
The column value for address: = Table.SelectRows(#"Changed Type4", each ([Full Address] = "78 Virginia Rd, Wanganui, New Zealand"))It is plotted at a Virginia Rd in Conneticut US.
The formatting of the address above is the same as it is for the many others that work and correctly point to locations in the correct city/country