Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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

 

 

binuacs
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