In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
19 - Altair
19 - Altair

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
19 - Altair
19 - Altair

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
Top Solution Authors