Start Free Trial

Alteryx Designer Desktop Discussions

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

Fulfill missing months

angel0v89
7 - Meteor

Hi all, 

 

I was reading some of the articles already and still can't find a resolution to my query. I hope someone can help. 

 

The data I have got is: 

 

Client NameStart DateEnd DateAmount
Alex Ltd2020-09-072021-09-0616000
Alex Ltd2020-11-302021-11-2915000
Alex Ltd2021-01-292021-04-2820000

 

What I would like to do, is to fulfill the missing months between the start dates with the amount from the previous row.

 

 

Client NameDateAmount
Alex LtdSep-202016000
Alex LtdOct-202016000
Alex LtdNov-202015000
Alex LtdDec-202015000
Alex LtdJan-202120000
Alex LtdFeb-2021

20000

Alex LtdMar-2021

20000

Alex LtdApr-2021

20000

Alex LtdMay-2021

0

Alex LtdJune-2021

0

Alex LtdJuly-2021

0

Alex LtdAug-2021

 

And the data to finish up to the previous month we are currently at. 

 

Can anyone help please?

 

Alex

8 REPLIES 8
atcodedog05
22 - Nova
22 - Nova

_

atcodedog05
22 - Nova
22 - Nova

Hi @angel0v89 

 

I was able to arrive at the expected output. Considering everything after max end date is 0.

 

Workflow:

atcodedog05_0-1631032439572.png

 

Hope this helps : )

 

Luke_C
17 - Castor
17 - Castor

Hi @angel0v89 

 

Here's my take on this:

 

(edited to get april value)

Luke_C_0-1631032749917.png

 

Luke_C_0-1631032094306.png

 

atcodedog05
22 - Nova
22 - Nova

Really interesting take on the usecase @Luke_C 🙂👍

angel0v89
7 - Meteor

Hi there, 

Thank you so much for the output! When I ran the latest version I still have values after the April, for that one, I would like to have values =0 until the end of the contract (End Date). Exactly as in your latest screenshot

atcodedog05
22 - Nova
22 - Nova

Hi @angel0v89 

 

Must be a bug. Reuploaded it can you check now 🙂

angel0v89
7 - Meteor

Thank you very much folks! Much appreciated! 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @angel0v89 

If the response helps please don't forget to mark it as solution.

Cheers and have a nice day!

Labels
Top Solution Authors