Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!

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.