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

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