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

Carrying over previous month $$ into new month

kauser
8 - Asteroid

Hello, 

How can i carry over previous month ending balances into next month beginning balances. please note january beginning $$ already populated in file. i need from february month. please see below my sample how can i transfer jan ending $110 into feb beginning, feb ending $150 into Mar beginning and Mar ending $200 into Apr beginning 

 

 JANFEBMARAPR 
Beginning $$

50

110150200
Running $$60405050
Total 110150200 

 

Thank You 

 

 

5 REPLIES 5
binuacs
21 - Polaris

@kauser One way of doing this

Screenshot 2023-07-19 223722.png

ScottLewis
11 - Bolide

This gets easier to solve if you pivot the data to have your time in rows. Doing so lets you use multi-row formula to do the moving calculation.

Making the assumption that you have as input the January Beginning Balance and all of the Running values, the attached workflow creates your rollforward by calculating the beginning value for each month using a multi-row formula and then a regular formula to fill in ending. 

 

kauser
8 - Asteroid

Thanks for your quick response. can please let me know how to convert null to zero because on my I have multiple rows and lines with null so when I apply your formula its consider all nulls. but I want to apply this formula only for beginning balances. 

ScottLewis
11 - Bolide

That is a job for the Data Cleansing tool. Drop it in where you need to conversion done and have a look at the configuration. One of the selectable options is to do exactly that. I think it may even be one of the defaults for numeric fields. If it doesn't just work, check to make sure your data is stored as numeric and if not put in a select before the data cleansing to re-type to some appropriate number format.

binuacs
21 - Polaris

@kauser You can also use the Imputation tool to make the NULL to 0

image.png

Labels
Top Solution Authors