Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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