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.
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