Start Free Trial

Alteryx Designer Desktop Discussions

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

filtering on dates

ntudev
8 - Asteroid

I have 2 columns with 2 different dates.

 

Column 1             Column 2

4.28.2022          random dates

 

I need column 2 to only filter on dates that's beginning 4.1.2022 and up and this is for a monthly report. Can anyone help me out here?

18 REPLIES 18
IraWatt
17 - Castor
17 - Castor

@ntudev is this the kind of formula you are looking for:

IraWatt_0-1654527370753.png

 

ntudev
8 - Asteroid

so this is the filter i have now. since i run this report monthly i cant just put a date in there, so i'm hoping  that the system will look at column 1 which has todays date (or the date i run the report) and pull the report starting from 1st of the month to todays date, example if today is 4.28 i need the report to pull everything in column 2 (which has random dates)  that is from 4.1 to 4.28

 

this is the ideal column. everything between 4.1 to 4.28.

Column 1        Column 2 

4.28                  4.1

                         4.3

                         4.15

ntudev_0-1654527606658.png

 

ntudev
8 - Asteroid

forgot to mention, in my filter i'm going straight to column 2 and putting a 2022-04-01 filter on it.

ntudev
8 - Asteroid

here is an example finally

stvnhdmpa
8 - Asteroid

If you are doing it monthly for that month, then you could use a "DateTimeFirstofMonth".  If you need to go backwards a month you could do a datetimeadd to go backward one month.

stvnhdmpa
8 - Asteroid

@ntudev - See if this helps.

ntudev
8 - Asteroid

thanks @stvnhdmpa , i was hoping it would be something simple like just putting a ">="

 

ntudev_0-1654533712457.png

 

Jon-Knepper
8 - Asteroid

Since this is for a monthly report, is your goal to locate records that are within a certain date range?  Are you trying to identify the Month and Year of each date so that you can easily classify which Month/Year the record belongs to?

ntudev
8 - Asteroid

@Jon-Knepper yes i want all dates within a certain date to show up in column 2 

Labels
Top Solution Authors