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

YTD Calculation dynamically for as the last month values

farhana_91
7 - Meteor

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.)

2 REPLIES 2
Bahouth12
7 - Meteor

 Hi @farhana_91,

 

The solution is attached and hope works fine. 

 

Thanks

farhana_91
7 - Meteor

Thank you @Bahouth12. Looks perfect! 

Labels
Top Solution Authors