ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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.

How to restart 2 different running totals if a condition is met

jhustonEFN
5 - Atom

Attempting to create a field "UploadNo" based on the running totals of two different fields that also must restart their counts when UploadNo changes.  

UploadNo increases by 1 if

If Running total>=1000 

or

Count>2

 

I can make a multi-row that updates one field but not all three.

 

Example:

Amount   Running Tot   Count  UploadNo

2,000       2,000             1            1

100             100             1            2

150             250             2            2

300             300             1            3

 

 

Thanks!

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @jhustonEFN,

Tool 3 multi row formula but this achieves what you were looking for:

IraWatt_0-1654100968497.png

Any questions or issues please ask :)
HTH!
Ira

 

DataNath
17 - Castor
17 - Castor

If you can make your UploadNo field as you say then you should just be able to use a ‘Running Total’ tool after the multi-row. Tick what running totals you want and then ‘group by’ UploadNo.

Labels
Top Solution Authors