Alteryx Designer Desktop Discussions

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

Calculate last weeks balance

Albert
6 - Meteoroid

I am trying to recreate historical balance by day.   I have two tables : 1)Current balance table that provides today's balance and 2) a History table that contains historical transaction information. 

 

Can someone help create a descending running balance by day for each account? I have attached mock data . 

 

Thank you very much,

5 REPLIES 5
ivoller
12 - Quasar

Hi,

 

I'm not sure exactly what you need to achieve but this may help.

 

2018-04-18_15-42-52.png

NicoleJohnson
ACE Emeritus
ACE Emeritus

Here's another option that I think gets you the result your looking for - joins the sources by account, sorts by descending date, and then uses a Multi-Row formula to calculate the balance from prior day.

 

Let us know if either of these options don't line up with what you are trying to achieve! And if so, an example of your desired output would be helpful to narrow down the solution. Thanks!

 

Cheers,

NJ

Albert
6 - Meteoroid

Hi Nicole - It is very close to the desired output.. Is there any way I can stack the current balance above the previous day balance?  lets pretend current balance is 4/19/2018

 

AccountDateTrans AmountBalance
A4/19/2018 11081.15
A4/18/201888410197.15
A4/17/2018-37.5910234.74
A4/16/2018-26.9510261.69
A4/15/2018-8.0810269.77
ponraj
13 - Pulsar

You can try attached workflow.

Albert
6 - Meteoroid

Thank you!!

Labels