Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Calculate the rollover qty backwards

Ronal_bal
8 - Asteroid

Hi,

 

I'm trying to calculate the rollover qty based on the following criteria's,

 

The calculation needs to start from the last record and its cum_received value. 

 

for the last records, use the cum_received as the expected output

 

Whenever the current status is delayed then use the next cum. 

 

whenever the current status is ahead or okay then use next_cum-current_qty

 

Attached the example in the excel.

10 REPLIES 10
caltang
17 - Castor
17 - Castor

Hmm, you're right. My current method doesn't work for single line items. Do you mind giving us more varied data? Give us more scenarios so we can account for them.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors