ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start 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