I need some help with doing a cumulative sum on a pivot table. This sum would be to calculate when a customer's payment is due. This is done by week. I would like to display the following 4 weeks, from today, and have overdue payments fall into the current week.
Currently this is what the actual result looks like.
This is the outcome I am aiming for.
I assume that this might be something I need to calculate within the script, perhaps adjust the due date when I load the data?