Alteryx Designer Desktop Discussions

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

Filter Current Month

Jeyaraj_M
7 - Meteor

Hi,

 

I need to filter the current month data from the attached list

 

Ex: i need June month data alone based on the current date. 

 

From the attached have 14 records with different dates. So my expected output date is 7 records which is relating to June month alone.

 

Please help

6 REPLIES 6
ChrisTX
15 - Aurora

When you import the data into Alteryx, is the column given a Date or DateTime data type, or a string data type?

JosephSerpis
17 - Castor
17 - Castor

Hi @Jeyaraj_M I mocked up a workflow let me know what you think?

 

Month_30062020.JPG

grazitti_sapna
17 - Castor

Hi @Jeyaraj_M  alternate solution to @JosephSerpis . I hope this helps.

Thanks.

grazitti_sapna_0-1593520244876.png

 

Sapna Gupta
Jeyaraj_M
7 - Meteor

Thank you so much for you help

klaudia07
5 - Atom

How could I expand on this formula so that the current year only is filtered?  DateTimeMonth(DateTimeNow())=datetimemonth(DateTimeParse([Fiscal year / Period],"%m/%d/%Y")) ?

ChrisTX
15 - Aurora

Update the formula in two places.  Instead of using the DateTimeMonth function, use DateTimeYear.

 

Here is a list of all functions: https://help.alteryx.com/current/designer/functions

 

Chris

Labels