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

Alteryx Designer Desktop Discussions

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

Filter on date

Tridev_Dev
5 - Atom

I have data in a date field, Filtering must be applied to that field, According to logic, each run must choose values from the current year. For instance, if data contains future values, it should disregard them and choose numbers from the current year.

3 REPLIES 3
BS_THE_ANALYST
15 - Aurora
15 - Aurora

datetimeparse([YOUR DATE FIELD HERE], "%Y") = datetimeparse(datetimetoday(), "%Y")

 

 

All the best,
BS

LinkedIN

Bulien
Qiu
21 - Polaris
21 - Polaris

@Tridev_Dev 
It will be better you can provide a sample input and desired output. 😁

Tridev_Dev
5 - Atom

Thank you for helping out; it was very helpful.

Labels
Top Solution Authors