Alteryx Designer Desktop Discussions

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

Filter Next Month & Following Month

markalves
8 - Asteroid

Hello,

 

I would like to create a formula for filtering out the data of the next month. I also need to filter out the following month as well. For example, it is January now, so I want to only show the data with February dates.  I then want a separate filter to show only the data in March.

2 REPLIES 2
Qiu
20 - Arcturus
20 - Arcturus

@markalves 
This should help.

0127-markalves.PNG

RolandSchubert
16 - Nebula
16 - Nebula

Hi @markalves ,

 

the DateTimeFunction work well with a Filter tool.

 

2022-01-27_08-32-40.jpg

 

Using DateTimeFirstOfMonth/DateTimeLastOfMonth with DateTimeAdd gives you flexibility in selecting the date range.  I've attached a sample for the next and the following month, but it can be easily adjusted for other ranges.

 

Let me know if it works for you.

 

Best,

 

Roland

Labels