Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
Here is what I am trying to solve:
I have a table with Business addresses (business Zip) and a Table with People and their home zips + their assigned business ZIP.
I am trying to figure out the distance between each person and each location. I was able to get each person to their assigned location, and each person to locations within the state they reside in (if any) by joining bot tables as a new one and expanding.
I still need to get each to every other zip code (outside of assigned state).
After i manage this part, I also need to assign a secondary location to each person based on the second closes distance between home zip/business zip.
I am having a hard time explanding to all US business zips and I cannot figure a formula to get the second closest location (could not get RANKX to work for this, too many distances), plus if possible i would like to get which location that is that i am getting in the secondary distance.
Any suggestions/helps greatly appreciated!
Manuela
Does your data come with latitude and longitude of the center of each ZIP code? Do you want to use the Great Circle Distance or a simpler approximation?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
95 | |
80 | |
77 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |