Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

new column to calculate different rows

Raghadhq
7 - Meteor

Hi there

 

i want to add a new column to calculate the different in time 

 
Arrival5/7/2023 6:44:00 AM
Departure5/7/2023 2:54:00 AM

 

how can i do it?

 

thanks

4 REPLIES 4
alexnajm
17 - Castor
17 - Castor

Is this always the structure of the data? If so, this will work:

 

Raghadhq
7 - Meteor

yes it's always comes in different row ( follow each other )

alexnajm
17 - Castor
17 - Castor

Understood - well hopefully you have a column to Group By then! Otherwise you might need to use a Multi-Row Formula to create those groupings so the difference calculations don't overlap. The above will still work - you just need to select that grouping column!

Raghadhq
7 - Meteor

it worked thanks!!

Labels