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

Filtering previous three months based on current month

jesseds2
5 - Atom

I need to automate an excel model for a monthly recurring report where there's a column titled "Month" containing each calendar month in the form of a string (i.e. "JANUARY, FEBRUARY, MARCH..., etc.). So if the report is being pulled in March, it needs to filter for Dec., Jan., and Feb. I'm hoping I can somehow use the DateTimeMonth function or something to make this dynamic. How can I filter for these months (in String form) using the current date?

2 REPLIES 2
cplewis90
13 - Pulsar
13 - Pulsar

Hello @jesseds2,

 

I believe the attached workflow will do what you are looking for. It takes the current date and gets the past 3 months and conve3 months past.PNGrts them to a name string.

jesseds2
5 - Atom

This is exactly what I was looking. Thanks a ton cplewis90!

Labels
Top Solution Authors