Referencing same line item of prev row
I am facing issue in trying to reference the same item of prev row. For example,
This is the Excel formula for a line item ‘Calendar Month’ :
IF Calendar month of prev row = 12 THEN 1 ELSE Calendar month of prev row + 1
Has anyone faced similar issue? The Else part of the formula gives circular reference.
Could you please describe a little bit more what you are trying to achive with this formula?0
I have Month No. as my row, trying to apply formula for Calendar month line item0
PFB the Screenshot :0
You can use CUMULATE formula for this. Cumulate by Month No. list via Count. https://help.anaplan.com/1173a903-81bb-4838-a4d0-1c9f9c739aa3-CUMULATE
CUMULATE(1,[boolean to recet counter],[month no. list])0
boolean to reset counter can be based on Start month = Val_Date0
As per my understanding , use the cumulate function - the Boolean line item used to reset the start month
Cumulate(Month No, boolean)
find the attachment for your reference0
Thank you. I was able to resolve the functions for Month/Year related line items using Cumulative.
But I have similar issues with other line items too, where we cannot use Cumulate() or Mod().
These items are dependent on each other, hence giving circular reference
Any workaround for this?0