community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

YTD Calculation dynamically for as the last month values

Alteryx Certified Partner

Hi Team,

Appreciate the favor, in advance.

 

The input looks like the attached excel file: Input.

I want to calculate YTD which is Jul 2018 data -15,000.

 

The output looks like the attached excel file: Output.

 

The challenge is: the YTD keeps changing every month. It is the last month data I receive. How do I change it dynamically as the data keeps coming in.Also, whenever the year changes, it needs to change automatically to YTD 2019(For e.g.)

Meteor

 Hi @farhana_91,

 

The solution is attached and hope works fine. 

 

Thanks

Highlighted
Alteryx Certified Partner

Thank you @Bahouth12. Looks perfect! 

Labels