Hello,
To put the problem simply, I need to know how to do the diagonal sums of an array in Anaplan.
To explain in detail: I have a module called "Daily Matrix". It has the dimensions: Time, Days after Registration (a List, that "Applies to" the entire module), and one of the line items in this module is a "Daily Rate %" (% formatted data point).
Days after Registration (members are 0-1000) is a list that I am using for custom time calculations.
The module looks like:
0 / 1 / 2 / 3 / 4 ...
(Model Time dim)
Jan 1 1% / 2% / 3 %/ 2% / 1%
Jan 2 1% / 2% / 1 %/ 1% / 1%
Jan 3 1% / 3% / 1 %/ 2% / 1%
Now, I need diagonal sums, by day. i.e., for Jan 3, I need 1% + 2% (Jan 2, 1 day after registration) + 3% (Jan 1, 2 days after registration) = 6%.
In other words, this is a diagonal sum for each day. If you do a diagonal sum, you would get the % contribution from the "cohort" Jan1, and Jan 2 as well, that will contribute to Jan 3.
If you search for diagonal sum on Excel, you will get array calculations. What I am trying is methodologically the same.
Can someone please help? Attached are images of the module where I have colored cells indicating the calcuations which shows this clearly.