ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Calculate over records from another row.

Yury_Brunt
7 - Meteor

Hello,

 

Best to describe my question based on the example below. The original data is in black, red is what I need to add.

1) The StartTime of the next record needs to be the EndTime of the current, like the three arrow show. 

2) I need to calculate the difference between the current record and the next (line 3 - line 2). The original value could be higher, lower or the same as the value which need to be calculated.

 

Hope someone can help me out.

 

Thanks!

 

 

 

12-Mar-18 14-53-19.png

2 REPLIES 2
LordNeilLord
15 - Aurora

Hey @Yury_Brunt

 

Multirow Formula is your friend here :)

 

MultirowTime.PNG@LordNeilLord

Part time Tableau, Part Time Alteryx. Full Time Awesome


Data Lover

CharlieS
17 - Castor
17 - Castor

A Multi-Row formula tool is what you're looking for. I have attached an example that covers both of your requests.

 

Labels
Top Solution Authors