Alteryx Designer Desktop Discussions

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

Pulling Data from ledger to organize in average monthly balances

smurad008
6 - Meteoroid

I have an excel attached that has data on the first tab and the 2nd tab shows what I want to do. I can't seem to figure it out because of the dates not being exactly at the end of the month. I basically want to pull the most beginning month date number and the most end month date number then organize it in a table then calculating the month average.Any help would be awesome I am new to this and could use a hand I have been working on this for hours and not getting anywhere. 

 

Any help is appreciated! Thank you ahead of time. 

1 REPLY 1
grossal
15 - Aurora
15 - Aurora

Hi @smurad008,

 

I got pretty close to what you were looking for:

 

grossal_0-1588133858091.png

 

Result:

grossal_1-1588133885408.png

 

What happens in the worklow:

- Renaming columns (Select)

- Removing empty rows (Sample)

- Calculating Year n Month column (Formula)

- Filling up columns (2x Multi-Row-Formula)

- Filtering into Investment and Checking (Filter)

- Extracting first and last row (Sample)

- Adapting the date to last/first (Formula)

- Union all together (Union)

- Formula to fill up columns (Formula)

- Sort for checking if I did it correctly (Sort) [you can remove this]

- Cross Tab to bring everything into shape (Cross Tab)

- Select to bring Checking to the front (Select)

 

 

I am a bit confused about the Sample Result. Your column "2370_ABC PA Equity" shows a little different value for beginning. How do you "know" the beginning value? I assumed that the first value of a month is the beginning and the last value of a month is the end. I'll attach what I got. Let's work this out together!

 

Best

Alex

Labels