In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Get a specific Range of Dates

fitch1892
7 - Meteor

I have a [date] column and I want to identify all the [date]'s and their values that are 30 days prior to today. How would I do this? 

 

For instance, since today is 10/18 I want to identify the values in [date] as 09/18, 09/02, 08/09. And not date values such as 10/09 or 10/02. 

 

date    |  value

09-18      A

09-02      B

10-10      C

 

3 REPLIES 3
acarter881
12 - Quasar

Hello @fitch1892.

 

Please see the attached workflow.

 

I believe this is what you're looking for. It can be done dynamically within a Filter tool. If the dates aren't formatted as dates, then they need to be transformed to dates before comparing.

Spoiler
acarter881_0-1666119509754.png

 

 

binu_acs
21 - Polaris

@fitch1892 One way of doing this with the filter tool

 

binuacs_0-1666128544532.png

 

fitch1892
7 - Meteor

This worked great! Thank you! I did something similar to this prior to this question but i was missing the "DateTimeToday()" . 

Labels
Top Solution Authors