In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. 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

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