how to get first Non zero number as summary if lineitem is dimensions with list
Hi @PujithaB
As @kavinkumar already provided you a solution.
As we know as per our best practice we should avoid Text line item as much as possible. I have tried to solve same problem without text line item. As we can't use any time formula like Previous etc here that's why i have used few line items to support the logic.
Below screenshot will show you different Examples
Example 1:
Example 2:
Example 3:
Blueprint of Module:
Hope this helps!
Thanks
Akhtar
Do you mean first or MIN ? If MIN then it is relatively easy with the MIN summary.. You'll have to trick Anaplan a little here by changing 0 to a very high value for example, 999999999, so these 0 are not picked up by MIN.If the display of your original line item is important and you don't want to show those 99999 values, you do this on another "technical" line item and then bring the value on the original one.
technical line item (summary type MIN) = IF source value = 0 then 99999999 else source value
original line item = technical line item
If you want to display both low level values and parent MIN on the same line item you can try something like this:
display line item (summary type formula) = IF low level then source value ELSE technical line item
low level being a boolean line item dimensioned by your list (only) with formula TRUE and summary type none.
HI @PujithaB,
Try this!!
Output:
Logic: Try to convert the number to text, then find the first non-zero item and bring back the value.
I have an issue where I am getting the expected result from RANKCUMULATE when using one dimension, but when I add an additional scenario dimension to the module, it doesn't calculate the way I'd expect. Here are some screenshots to explain the case: Module 1 - calculates cumulative total for list items in list "Age"…
Hey everyone, I wanted to share the Anaplan Python SDK with you. It's a Python Library that wraps all Anaplan APIs and makes it easier to interact with Anaplan programmatically. It is mostly designed with Data Integration Scenarios in mind, but it does support all APIs including ALM, SCIM, Audit, and Cloud Works. Please…
Hello, I am receiving an 'Anaplan Upload Failed' Status Description when testing my integration with a Big Query dataset. The integration imports data from BQ to our Anaplan model. No other details given in the error log. I suspect that Cloudworks is not even picking up the file but am not sure what we did wrong on the set…