Alteryx Designer Desktop Discussions

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

Filter only the rows from previous months

Rayyl
7 - Meteor

Hello everyone,

Is there a specific solution (without creating a new column) that allows you to only get the rows that match a date in previous months? So for example, in September it's practical for August and before. Thanks in advance!

Best regards,
Christian

2 REPLIES 2
DataNath
17 - Castor

Hey @Rayyl, you can handle this with a Filter tool with an expression like the following:

 

 

DateTimeMonth([Input]) < 
DateTimeMonth(DateTimeToday())

 

Just replace [Input] with your own date field.

 

Rayyl
7 - Meteor

Thanks man!

Labels