Forum Discussion
How to map latitude longitude
- Anonymous11 years ago
sjkp,
This one is a little counter intuitive. The only map tool that can take straight lat/long is Power Map in Excel, but there currently isn't any integration with the rest of the BI stack yet for that.
The way you do this in Power View - maps, or the PBI Desktop is put you lat and long in the appropriate Fields, then whatever it is you are examining in that location (count of wrecks, count of "x") that goes in the location and the value fields. Then your bubbles will show up in the middle of the ocean at the coordinates you specified in the lat/long.
If there aren't direct counts, I would assume you can just create a column to contain the value of 1 to make this work.
Here is a screenshot of the sample data I pulled in and the layout in PBI Desktop
Okay that is pretty **bleep**ed up. If I use a value of 1 for the location, then it will not work, the location value has to be unique. Because if it's not then it will sum all the lat/long together with the same location, which will obviously not give anything meaning full.
You can choose "Average", and it will cluster the latitude and longitude to a central location dependent of the grouping of your dataset. So, if you group by city, it would average the Lat and Long to the center of all of the adresses within that city, and then would show the bubble size as the number of adresses clustered into that location.