Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Distance Calculation

TomBock
8 - Asteroid

Hi:

 

I'd like to calculate the total travel distance between 4 points (lat/long).

 

At this point, I'm not entire certain how to construct the expression for the multi-row formula to calculate distance between:

- Point 1 and Point 2

- Point 2 and Point 3

- Point 3 and Point 4

 

How would I need to modify the attached workflow to output the individual distance as well as the total distance?

 

Thank you,

Tom

DistanceCalculation.JPG

2 REPLIES 2
Clifford_Coon
11 - Bolide

Hi @TomBock ,

 

Here is a method: use the ST_Distance formula as shown

distance.jpg

 

Hapy Solving ;-)

TomBock
8 - Asteroid

@Clifford_Coon -- perfect!   Your solution is exactly what I was looking to achieve.   Thank you!!

 

Labels
Top Solution Authors