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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter tool

mihir_mir_jb
8 - Asteroid

Hello Everyone, 

 

I have a column in my excel file titled "Sent Date" which had dates of various months until the last month. So since this is the month of June it will have dates from Jan to May. I am trying to figure out how to filter on data where I can get records only for last month. And since this is going to be done month on month I cannot put a hard code month in the filter. Can you please advise on how to go about this. 

2 REPLIES 2
Emil_Kos
17 - Castor
17 - Castor

Hi @mihir_mir_jb,

 

I have created a workflow for you. First I would create a month column and then I would use join tool to show only the last month:

 

Emil_Kos_0-1623149570534.png

 

Hollingsworth
12 - Quasar
12 - Quasar

If your field is already a Date type, then you can use a simple filter tool with this expression:

 

DateTimeMonth([Send Date]) = datetimemonth(DateTimetoday())-1

John Hollingsworth
Clear Channel Outdoor
Labels
Top Solution Authors