Hello!
Hope no one attacks me for this, but this may be a case where Excel trumps Alteryx. Hoping someone here can prove me wrong!
I am trying to calculate the future payment obligation based on separate date criteria. For example, if DATE (in column) is < 1 year from DATE include in sum payment amount and then continue this formula down. The example attached is how it is done in Excel, I would like to replicate the same in Alteryx. For additional reference, below are the three Excel expressions used to create the obligation buckets.
1. =SUMIFS($C$4:$C$20,$B$4:$B$20,">"&EOMONTH(B4,0),$B$4:$B$20,"<="&EOMONTH(B4,12)) == <1 Year Payment
2. =SUMIFS($C$4:$C$20,$B$4:$B$20,">"&EOMONTH(B4,12),$B$4:$B$20,"<="&EOMONTH(B4,60)) == >=1 Year AND <5 Year Payment
3. =SUMIFS($C$4:$C$20,$B$4:$B$20,">"&EOMONTH(B4,60)) == >5 Year Payment
| | | Future Obligation Buckets | | |
| Full Date | Fixed Payment | <1 Year - Payment | >1 year and <5 years - Payment | >5 years - Payment |
| 04/01/2020 | 10 | 20 | 100 | 40 |
| 05/01/2020 | 10 | 10 | 100 | 40 |
| 06/01/2020 | 10 | - | 100 | 40 |
| 07/01/2021 | 10 | 80 | 20 | 30 |
| 08/01/2021 | 10 | 70 | 20 | 30 |
| 09/01/2021 | 10 | 60 | 20 | 30 |
| 10/01/2021 | 10 | 50 | 20 | 30 |
| 11/01/2021 | 10 | 40 | 20 | 30 |
| 12/01/2021 | 10 | 30 | 20 | 30 |
| 01/01/2022 | 10 | 20 | 20 | 30 |
| 02/01/2022 | 10 | 10 | 20 | 30 |
| 03/01/2022 | 10 | - | 20 | 30 |
| 04/01/2025 | 10 | - | 40 | - |
| 05/01/2026 | 10 | - | 30 | - |
| 06/01/2027 | 10 | - | 20 | - |
| 07/01/2028 | 10 | - | 10 | - |
| 08/01/2029 | 10 | - | - | - |