Solved! Go to Solution.
Hi have you tried the date time add formula you can specify the unit of measurements e.g. + or - 36 months then you could that in a filter?
I think the attached workflow achieves the desired result. Check it out at let me know if that works for you.
The first step is to convert the input data to the standard date format (ISO 8601) that Alteryx recognizes. I converted "January 2017" to "2017-01-01" using this expression: DateTimeParse([Month],"%B %Y"). The first day of the month is automatically populated.
Then I applied a filter to the data by comparing the newly converted date field and the user input field with the following expression: DateTimeDiff([Input_Date],[FirstofMonth],"months")<=36.
Finally I gave the user a Date tool to input a date (and ensure it would be in the expected format).