In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!
Free Trial

Alteryx Designer Desktop Discussions

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

Rolling 12 months dates

morganlunsford
5 - Atom

Hi,

 

How can I create a formula to remove any records that are not within 12 months of the current date?

 

Thanks!

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @morganlunsford, if you stick the following expression in a Filter tool, you'll only get records from the last year coming out of the True anchor. Just replace [Date] with the name of your actual date field.

 

[Date] >= DateTimeAdd(ToDate(DateTimeToday()), -1, 'year')

 

Labels
Top Solution Authors