Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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