Greg_Deckler
Community Champion
6 years agoGoing the Distance
Uses the Haversine formula to compute the distance between the latitudes and longitudes of two points.
c =
VAR __FromCity = SELECTEDVALUE('From City'[City])
VAR __ToCity = SELECTE...
MYDATASTORY
Resolver I
6 years agoGreg_Deckler This is great, looking forward to seeing the final distance calculation.
- Greg_Deckler6 years ago
Community Champion
OK, I downloaded the UK Postal Code latitudes and longitudes from here:
https://www.freemaptools.com/download-uk-postcode-lat-lng.htm
You guys sure have a lot of postal codes, apparently about 1.7M of them and since they are unique as well as the latitudes and longitudes, well, it makes for a fairly sizeable file. Anyway, I went ahead and implemented a few columns and such to get the distances.
However, they only allow a maximum upload file size of 50MB and the file is nearly twice that. So I am uploading to my personal OneDrive and will share out a file from there. Hang tight.