Good morning everyone!
Still fairly new with Alteryx and I have a project i can't quite figure out.
I have a file with dates that range from today going back to 1995.
I need to create RECENCY field based off the most recent date received by my client. So if today is 6/4/2020 i need to make sure that "0-6 Months" is from 6/4/2020 - going back to 12/4/2020 - and so forth going all the way back.
Below is an example of the field RECENY that i'm trying to create based off of the field DATE.
| ** Recency is based off of today's date 6/4/2020. This date will change from month to month ** |
| DATE | RECENCY |
| 5/6/2020 | 0-6 Months |
| 2/21/2020 | 0-6 Months |
| 2/14/2020 | 0-6 Months |
| 2/11/2020 | 0-6 Months |
| 2/10/2020 | 0-6 Months |
| 12/17/2019 | 0-6 Months |
| 11/26/2019 | 7-12 Months |
| 10/1/2019 | 7-12 Months |
| 9/5/2019 | 7-12 Months |
| 4/2/2019 | 13-18 Months |
| 11/11/2018 | 19-24 Months |
I'm thinking i would need a tool to create the below, and than maybe i can link this back to my data to update the RECENCY field?
| Recency_Desc | Start_Date | End_Date |
| 0-6 Months | 12/4/2019 | 6/4/2020 |
| 7-12 Months | 6/4/2019 | 12/3/2019 |
| 13-18 Months | 12/4/2018 | 6/3/2019 |
| 19-24 Months | 6/4/2018 | 12/3/2018 |
| 25-30 Months | 12/4/2017 | 6/3/2018 |
| 31-36 Months | 6/4/2017 | 12/3/2017 |
| 37-42 Months | 12/4/2016 | 6/3/2017 |
| 43-48 Months | 6/4/2016 | 12/3/2016 |
| 49-54 Months | 12/4/2015 | 6/3/2016 |
| 55-60 Months | 6/4/2015 | 12/3/2015 |
| 61-66 Months | 12/4/2014 | 6/3/2015 |
| 67-72 Months | 6/4/2014 | 12/3/2014 |
| 73-78 Months | 12/4/2013 | 6/3/2014 |
| 79-84 Months | 6/4/2013 | 12/3/2013 |
| 85+ Months | 6/4/1920 | 6/3/2013 |
Any ideas on what the best solution for this would be? What tools you would recommend i use? Any thoughts would be greatly appreciated. Thanks as always! Javier