In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!
Free Trial

Alteryx Designer Desktop Discussions

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

How to get yesterday's date in a Formula to Filter Data

crouchsonia
7 - Meteor

I am looking for a formula to filter my data as of yesterday.  Basically a workflow will be scheduled that runs each morning to create a file with yesterday's credit information in it.  I want to filter based on the field Credit Date.  I assume I would use the Filter Tool.  The Credit Date field is formatted like yyyy-mm-dd

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus
DateTimeAdd([credit date],1,"days") =datetimetrim(datetimestart(),"day")

That just might work if you run the job daily.

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
crouchsonia
7 - Meteor

Thank you very much that worked.  

Labels
Top Solution Authors