The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I hope someone can help me with my two-fold question in regards to the map visualisation 🙂
I have found some instances where an address will not plot on the map, I am ensuring that the address follows the following format:
= Table.AddColumn(#"Renamed Columns1", "full_location", each [street_address]&", "&[suburb]&", "&[State_full]&", "&[Country])
and almost all the addresses plot
examples:
I have a large amount of addresses that I'm needing to plot and it isn't viable to manually go through each address and find the latitude and longitude, is there a way to check whether an address will plot on the map (or has)?
If there is no way to check, what's be best way to quickly find the lat/longs for these addresses?
Any help is greatly appriciated 🙂
Thanks, Berry
Solved! Go to Solution.
@Anonymous You can use process called geo-coding to change address to lat long coordinates in power bi using APIs from bing or google maps. In your case I would suggest use Google Maps API since you're able to get addresses on it. Here is the article that shows you how to perform get-coding in power bi. It is showing Bing Maps but you can use the same process with Google maps. Once you get lat long make sure columns are defined of that category in power bi desktop.
PowerBI MAPS may have a bug and will somehow not accept the ADDRESS word in the MAPS Location field.
In the query editor try rename your data column header from *Address* to *Adress*
Just had the same problem, with about 7 locations out of 70 not showing up on the map (and being mystified as to why just these were missing). I changed the column name from 'Address' to 'Adress' and BOOM, now they appear. Thank you TONS for posting about this defect.
In case anyone is wondering, as of 12/15/2021, this bug is still present. Had a field named FullAddress with address, city, state, zip code and it wasn't mapping some address correctly. Changed it to "Addres" and per above BOOM, now it works.
@Anonymous You can use process called geo-coding to change address to lat long coordinates in power bi using APIs from bing or google maps. In your case I would suggest use Google Maps API since you're able to get addresses on it. Here is the article that shows you how to perform get-coding in power bi. It is showing Bing Maps but you can use the same process with Google maps. Once you get lat long make sure columns are defined of that category in power bi desktop.
Thanks for that, I'll give it a go 🙂