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 by last 90 Days

AG50
5 - Atom

Hello,

 

Sorry for the basic question, but trying to filter rows to only show rows where the date listed is 90 days older than today's date.

 

Tried [field name]=(DateTimeToday(),-90)"days" but thats not quite working.

 

The date field format is YYYY-MM-DD HH:MM:SS

 

Thanks for the help. 

3 REPLIES 3
Felipe_Ribeir0
16 - Nebula

Hi @AG50 

 

Try this formula into the filter tool to filter exactly the row with date = datetimetoday() - 90:

datetimediff(datetimetoday(), [date], 'days') = 90

 

Felipe_Ribeir0_1-1669062067291.png

 

If you want to keep everything equal or older than 90 days, use this one:

datetimediff(datetimetoday(), [date], 'days') >= 90

 

 

binuacs
21 - Polaris

@AG50 One way of doing this

 

binuacs_0-1669062118018.png

 

AG50
5 - Atom

Thank you!

Labels
Top Solution Authors