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

Batch split in Alteryx

Pascal_R
8 - Asteroid

 

 

 

    needed output
 MaterialBatchreturn QTY (Material level)Final QTY to return (Batch level)
17548565
7548461
27421544
7421440
38451111
8451110

 

 

2 REPLIES 2
DavidP
17 - Castor
17 - Castor

Are you grouping on [Material] in the multi-row formula?

 

If not, it is possible that a value for a previous material is subtracted in the first line for this material - grouping by [Material] will prevent this.

 

Incidentally, 

 

IF [RunTot_Unrestricted] < [QTY to return to Memphis (rounded)]
THEN [Unrestricted]
ELSE [QTY to return to Memphis (rounded)] - [Row-1:RunTot_Unrestricted]
ENDIF

 

will yield the same results as your original formula since the condition in the ELSEIF is the exact opposite of the condition in the 1st IF

Pascal_R
8 - Asteroid

Hi  

 

I just saw it this morning that I didn't  group by Material.

But thank you for Explanation on it.

 

Regards,

Pascal

Labels
Top Solution Authors