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

Pull last 120 days of data

tf05
7 - Meteor

I am looking to pull the last 120 days of data from whatever day the workflow is run (today's date).

 

The data field is inputting in a DateTime format

 

Can anyone please outline the flow for that?

 

Thanks

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @tf05 

 

Here is how you can do it. I am checking is the difference between today and the date is less than or equal to 120.

Workflow:

atcodedog05_0-1642090876888.png

 

Hope this helps : )

 

EKBS83
7 - Meteor

Hi tf05,

 

You should be able to use a filter tool and write an expression in the Custom Filter section:

 

[your date field]>=DateTimeAdd(DateTimeToday(),-120,"days")

 

This will return all the data within these parameters to the "T" output.

 

Hope this helps

Thanks

Ed

 

 

 

Labels
Top Solution Authors