Alteryx Designer Desktop Discussions

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

Remove or Filter out current month

PassION_es
9 - Comet

Hi,

 

I simply want to remove rows with current month.

I currently have this formula. 

 

[Risk Date]<=DateTimeNow()

 

What else do I  need to add from the DateTimeNow?

 

Thanks

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @PassION_es,

Try in a filter tool:

 

[Risk Date]<=DateTimeTrim(DateTimeNow(),"firstofmonth")

 

Datetime trim can convert a date to the start or end of a month

Or you can try:

 

DateTimeMonth([Risk Date])<=DateTimeMonth(DateTimeNow())

 

Date time month returns the month of a date as a number

PassION_es
9 - Comet

Thanks @IraWatt

IraWatt
17 - Castor
17 - Castor

No worries @PassION_es ! 

Labels