Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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