Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Rolling Filters Ranges

rdeguzman
6 - Meteoroid

I have expiry dates for documents. I am looking to create filters that dont ever have to have the ranges changed manually.

 

Today's date to 1 year from now.

 

AND

 

Today's date and 8 months from now to the end of the that 8th month.

 

Thoughts anyone?

 

Thanks for the help in advanced.

3 REPLIES 3
rdeguzman
6 - Meteoroid

I found the answer that worked and figured since I did it myself I should post it. its already built into the filter tool, but I had to actually try and use the Custom Filter. 

 

[Visa Max Date] <= ToDate(
DateTimeAdd(DateTimeNow(), 1, "years")
) AND
[Visa Max Date] >= DateTimeNow()

grossal
15 - Aurora
15 - Aurora

Hi @rdeguzman,

 

you could use this formula in a Filter Tool to achieve it:

 

[Date] >= DateTimeAdd(DateTimeToday(),1,"years") AND DateTimeAdd(DateTimeAdd(DateTimeFirstOfMonth(),20, "month"),-1, "days") >= [Date]

 

 This calculates the Filter ranges based on today's date. I think you might need to make it to "21" month instead of 20, but that's it.

 

Workflow with the formula attached. Let me know if I got it right.

 

Best

Alex

rdeguzman
6 - Meteoroid

@grossal yes that did work as well.

 

Thanks!

Labels
Top Solution Authors