Free Trial

Alteryx Designer Desktop Discussions

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

Running total of two columns along with opening balance

caneerajdwivedi
6 - Meteoroid

Hi all,

I've an opening number of 100 employees and monthwise movement is as below :

MonthJoinersLeavers
Apr100
May11-1
June12-2
July13-3
Aug14-4
Sep15-5
Oct16-6
Nov17-7
Dec18-8
Jan19-9
Feb20-10
Mar21-11

 

So my desired output is For april is Opening (100) + Joiners (10)+Leavers (0) =110 and so on as below :

MonthJoiners_CountLeavers_CountRunning balance
Opening   100
Apr100110
May11-1120
June12-2130
July13-3140
Aug14-4150
Sep15-5160
Oct16-6170
Nov17-7180
Dec18-8190
Jan19-9200
Feb20-10210
Mar21-11220

 

How can i achieve the same in alteryx ?

1 REPLY 1
RolandSchubert
16 - Nebula
16 - Nebula

Hi @caneerajdwivedi ,

 

I think, the Multi-Row Formula tool could do the job.

 

2021-06-25_15-28-28.jpg

 

I've attached a sample workflow.

 

Let me know if it works for you.

 

Best,

 

Roland

Labels
Top Solution Authors