Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Filter a date

angelique_martin
7 - Meteor

Hi Alteryx community,

 

I am currently trying to determine how I can create a filter for a date column that reads greater than or equal to todays date. I tried to do a basic filter screenshotted below but I am still having trouble on how to write the "Today's date" part. Any help will be greatly appreciated. 

 

Thanks!

 

angelique_martin_0-1635541510031.png

 

2 REPLIES 2
Maskell_Rascal
13 - Pulsar

Hi @angelique_martin 

 

You can use the Custom filter option to do this with the following formula. 

[Agr_Valid_To]>=DateTimeToday()

This will always filter to a date greater than or equal to the date the workflow is ran. 

 

Maskell_Rascal_0-1635779892213.png

 

Hope this helps.

 

Cheers!

Phil

 

HomesickSurfer
12 - Quasar

Hi @angelique_martin 

 

Further to the solution offered by @Maskell_Rascal , you can use the following that targets the start of the workflow run (in case it starts before midnight and evaluates the formula after midnight):

 

[Agr_Valid_To]>=DateTimeStart()

 

 

Labels