Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Calculating the Distance based on Lat & Lon as numbers not as objects

8 - Asteroid

Dear Experts,


I have a list of location with lat & lon  between the source and the destination (pickup/dropoff) as the following :


Pick-up long, drop-off long, Pickup lat, drop-off lat 


all of them as numbers but not as objects how I can I calculate the distance between them either by KM or Mile?


Thank you in advanced 

Alteryx Certified Partner
Alteryx Certified Partner



first step is to create points from long/lat info, then calculate distance.
Hopefully the attached workflow is helpful as a starting point.