Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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