community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

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

Highlighted

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

Hi,

 

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

Labels