Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello all,
I have a table called SECTORS_4G_ENM with LAT and LON as well as some additional information like this:
Now I can calculate the shortest distance between any of these points using a formula I picked up from this forum. The formula is below and has been modified to work with this table:
However, this returns the shortest distance to any SITE_TYPE - Big or Small. This is not what i want to acomplish.
What I want to acomplish is the for every GOLD_NAME, regardless of whether it is Big or Small type, return the shortest distance to the nearest SITE_TYPE that is Big.
Thanks in advance.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.