Hi Everyone,
Could someone please explain this formula in layman's language.
OFFSET(1, -1, 0) = 0
Thanks
JH
Hi @zaibhamid81,
You can check the documentation of OFFSET(WHAT, SHIFT, DEFAULT) function with examples here: https://help.anaplan.com/4f5a095c-0e7a-4f1a-b6ea-0ef8f88d6c3f-OFFSET
Now to explain your exact use:First argument of OFFSET (which I would axplain as "WHAT", in this example it can be any number different than zero) tells Anaplan to give you value "1", but (because of second argument of function = -1, which you can imagine as "SHIFT") as if it was in previous period. So Anaplan tries it and does yield 1 for every period, but not the first one. Why not the first one? Because for the first one there is no "previous" period - so Anaplan uses third argument (which you can explain as "DEFAULT"). So OFFSET(1, -1, 0) will return 0 for first period, but 1 for every next - That's why you then compare it with "0", so you have TRUE for first period only, and FALSE for every other.FYI: almost all parts can be changed in this formula and it will behave in the same way, as long as Y is not equal to X: OFFSET(Y,-1,X)=XNow you should see that format of X and Y doesn't matter, so you can even simplify the formula to "OFFSET(FALSE, -1, TRUE)"
Thank you @M.Kierepka for explaining this formula in a very nice and understandable way.
Can someone help me i am unable to login anaplan portal using my credentials
Dear Hive Mind, Do we have a way to get the history of a particular List Item, from its creation into a model up until its removal ? I am trying to chase when / how an item has been added into a model and how / when it would have been deleted and then recreated with the same code. Is there a pattern (manual or API) to get…
I have an action in a process which is getting failed since 2 days when run via CloudWorks with below error . No issues when run manually . Same error occurs when run manually but as a warning "Import complete but with failures" This action is running since almost a year without any issue . No change has been made to…