Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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