Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
10 - Fireball

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
10 - Fireball

Thanks @IraWatt

IraWatt
17 - Castor
17 - Castor

No worries @PassION_es ! 

Labels
Top Solution Authors