Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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
14 - Magnetar
14 - Magnetar

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