In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
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

Filter tool formula meaning

The_Voter
6 - Meteoroid

Dear all i'm trying to figure out few wf from my previous colleagues and i have troubles understanding why filter tool doesn't work.


[DateTime_Out] = DateTimeFormat(DateTimeAdd(DateTimeToday(),-18,"days"),"%Y-%m-%d")

could you please explain meaning of this filter?

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @The_Voter 

 

Below filter means filter [DateTime_Out] where it is 18 days back from today.

 

DateTimeFormat( // Format as YYYY-MM-DD (this done to remove time part)

 

DateTimeAdd( // add -18 days which is 18 days previous to current date

 

DateTimeToday() // today date

 

,-18,"days")

 

,"%Y-%m-%d")

 

Hope this helps : )

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @The_Voter 

Cheers and have a nice day!

Labels
Top Solution Authors