Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Community,
I'm trying to find the distance between two points using latitude and longitude. I have a table with subject locations I'm trying to value (5 for example) and a table for comparable locations (25 for example). I think I need to append the comparable location table five times, each time tagging the table by the subject location. How can I set this up dynamically in the query portion?
I appreciate your help,
Charlie
Solved! Go to Solution.
You may take a look at the post below.
You may take a look at the post below.
Yes this is very helpful. As an additional functionality is there a way to do a cross join in a way that is more customizable? I have 7k subject properties and 200k comprable properties to compare. If I do a cross join that will create almost 1.5 billion unique ID's (rows). But if I can only compare the states that are next to eachother I could decrease the total rows to around 80 million.
User | Count |
---|---|
94 | |
86 | |
78 | |
69 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |