Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Multi Row formula

rajputakansha
8 - Asteroid

Hi,

 

I have a data set in which I am trying to use a Multi-Row formula to get the below output.

It should assign each row a unique ID whenever the running total hits 0.

 

ValuesRunning TotalID (OUTPUT)
-3000-30001
-2000-50001
3000-20001
200001
1001002
-200-1002
10002
10103
20303
30603
-40203
-2003

 

Thanks for your help!

2 REPLIES 2
DiganP
Alteryx Alumni (Retired)

@rajputakansha The Multi-row formula would look something like this:

 

 

IF [Row-1:Running Total]=0 THEN [Row-1:New Field]+1 ELSE [Row-1:New Field] ENDIF

Does that work for you? 

 

Digan
Alteryx
rajputakansha
8 - Asteroid

It absolutely works!!

 

Thank you !!

Labels