Forum Discussion
Incorrect map location
Hello,
The Map visual seems to be plotting some of my locations incorrectly (see attached).
Example of data; Florida, United States, 32217
14 Replies
- AnonymousNot applicable
This usually works for me:
Create a new calculated column that concatenates the street address, city, state/province, postal code, and country. It seems to geocode faster this way as well:
ShipToLocation = 'Details'[Ship To Address] & " " & 'Details'[Ship To City] & " " & 'Details'[Ship To Region] & " " & 'Details '[Ship To Postal Code] & " " & 'Details'[Ship To Country]
Instead of placing multiple location-related fields in the location well for the Map visual, just put this one new field in there. This full location can be used with the ArcGis map visual.
- CharlesKFrequent Visitor
Jesus!! this worked like gold!!
i'm in Kenya so Maps couldnt find aaaany of my towns....
so i read this and did it kinda half assed...
i put "Kenya-" infront of every town name.
it found each and every single town!!!!!
Kudos sir. - smgt90Frequent Visitor
Thanks, this tip helped me but I put the country then the state and then the city all separated by a space. I tried sorting it as city "space" state and it didn't work.
- jordanlevineFrequent Visitor
Same deal for me. Kept putting Lake County California into Illinois. I made a new column like the MOD suggested that was county, state and assigned it the data category of County and then it worked fine.
- jschwabishRegular Visitor
I'm having a similar problem for city names. It's putting Las Vegas in Spain, not Nevada.
- jordanlevineFrequent Visitor
Same deal for me. It worked great for everything except Lake County, California. It keeps putting Lake County in Illinois. I did as the mod suggested and made a new column that was county, state and assigned that the Data Category of County and then it worked.
- _seanrich_Frequent Visitor
The address data that I'm using comes from sources that I have no control over, so it appears that these addresses are pulled from Google Maps, or unreliable sources. What I ended up doing was finding the address exactly as it is in Bing, and creating a manual table to relate my dataset addresses to the Bing addresses, and replacing them via a calculated column. Example below.
- I have a table in my dataset with the address field; we'll call it Dataset[Address].
- Manually created table is named MappedAddresses with columns MappedAddresses[DatasetAddress] and MappedAddresses[MapAddress] (with MapAddress being the Bing address).
Two new columns are created in Dataset as follows:
MappedAddress = RELATED(MappedAddresses[MapAddress])
ReplacedAddress = IF( ISBLANK('Dataset[MappedAddress]), Dataset[Address], Dataset[MappedAddress] )
This is pulling the new Bing address (MappedAddress) where needed, but keeping the dataset address where plotted correctly. I'm using the Dataset[ReplacedAddress] column to plot these datapoints on the Map visualization.
- Phil_SeamarkMicrosoft Employee
What data category have you selected for that column? The map will behave differently if you specify the column to be a City or County etc. Can you try a few different Data Categories with the map?