Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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