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

Moving Date Range

GiantPencil
5 - Atom

Hi All,

 

Just started using Alteryx and I'm trying to put in a filter to my data source that look will give me projects that are older than 3 weeks.

 

Basically........ [Week Ending] > projects older than 3 weeks - this is where I'm struggling. I think it may involve the functions DateTimeDiff(dt1,dt2,u) and DateTimeNow() just can't get the combinations right.

 

Thanks for the help!

 

GP

2 REPLIES 2
RodL
Alteryx Alumni (Retired)

Try this...

 

DateTimeAdd(DateTimeToday(),-21,'days') > [Date]

GiantPencil
5 - Atom

worked a treat, thanks!!

Labels
Top Solution Authors