In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Formula to show only YTD values

NorbertB
5 - Atom

Hello I'm pretty new to Alteryx and probably my question may seem very basic but.... My data set consists of monthly data for the whole 2022 year but I would like to create the formula which would enable me to see only YTD data. How to achieve?

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @NorbertB 

Can you provide some sample input and expected output It will help us get a better understanding of the usecase.

We will be happy to help : )

Qiu
21 - Polaris
21 - Polaris

@NorbertB 
Maybe you are just looking for the function of "DateTimeToday()"? 😁

0226-NorbertB.PNG

NorbertB
5 - Atom

I would like to have shown values only for the past months, so in 2022/02 only 2022/01, in 2022/03 only 2022/01 and 2022/02 and so on

NorbertB_0-1645867490248.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @NorbertB 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1645867989530.png

 

Hope this helps : )

NorbertB
5 - Atom

Fantastic. Thanks!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @NorbertB 

Cheers and have a nice day!

Labels
Top Solution Authors