Anaplan is a very smart and intelligent platform, and it educates its model builders/developers brilliantly about the mistakes or errors made. Here are some of the common errors that may occur while model building—decoded.
ERROR 1: Automatic Sum of “Module.Line item” over “List hierarchy” is not possible, as “List” doesn’t have a built-in top level.
This type of error occurs in two cases:
Source Module:
Target Module
Result:
ERROR FIX: There are many ways to fix this error.
ERROR 2: Module.Line item has XXX format, but the formula resolves to YYY format.
This error occurs when the format of the source line item doesn’t match with the format of the Target line item. Let’s understand with the following example. Suppose we have a source module that is dimensioned byProducts,and one of the line items is formatted asLIST - Location. Our Target module is also dimensioned byProducts. To get the location details from the source module to the target module, change the formats of the line items so they are the same. In this case, the format of the target line item is TEXT—hence the error.
Source Module:
Target Module:
Additionally, attempt to stay away from Text Formats as:
ERROR FIX: Change the format from Text to List.
ERROR 3: “XXX,YYY” is an invalid Applies To for Module because XXX and YYY have a common ancestor.
This error occurs when you are attempting to add the lists to modules, but the lists have common ancestors. For example:
Product Hierarchy: Products卷起来,Categories
XYZ Hierarchy: XYZrolls up toCategories
SinceCategoriesis the Common Ancestor, Anaplan will not allow you to add these two lists as dimensions in one module. Please note that this will also occur when using subset of a list.
Note: At the time of module creation Anaplan will grey out all the lists that are part of the hierarchy or have common ancestors, and the possibility of getting this error is none. However, you will receive this error once the module has been created and you try to change the dimensionality of the module after the creation of the module in blueprint mode.
ERROR FIX:This cannot beaccomplished as this is an Anaplan Architecture misunderstanding.
ERROR 4: Dimension of mapping used for lookup doesn’t match any dimension of the result.
This error occurs due to a mismatch in the dimensions of the mapping used for LOOKUP. For example, if a Source Module is dimensioned byTransactionsand has two line-items—Regions (LIST-Region formatted)Country (List-Country Formatted).
Countrybeing a child ofRegionandCurrencybeing an attribute ofCountryin SYS Country Module.
The target module is dimensioned byCountry, Products.To get the Currency (an attribute of Country) into the Target module, we may directly use LOOKUP from SYS module, and our formula might look like below:
This will return the error because the mapping used for LOOKUP in the above formula doesn’t match any dimension of the Target or result line item.
ERROR FIX:Make sure that the mapping that is being used for LOOKUP has at least one dimension matching with the Target or Result Line item.
ERROR 5: Level mismatch on a common dimension.
Let’s use the previous example:
Source Module: Dimensioned byTransactions, with two Line itemsRegionandCountry. Country being a child ofRegion.
The only difference this time isCurrencyis an attribute ofRegionand not ofCountry.
Target Module: Dimensioned byCountry, Products—to get Currency into the Target module, our formula may look like this:
Error Fix:Although the dimension is common, there is a mismatch in the levels between the Source and Target module—meaning an attribute ofRegion(Parent) is getting pulled into the module which is dimensioned byCountry(Child). Make sure levels are common when you try to pull the information across modules, even if the hierarchies are the same.
Hope you enjoyed reading it, as the article is intended to make you aware or understand the errors Anaplan returns when a model builder makes a mistake. Try to understand these errors, and you may potentially save a lot of time in debugging them.
@MisbahThank you very much for this post. Now it's clearer for me
Great Job I agree with you that “understanding” these errors can save the model builder a lot of time and unnecessary frustrations.
@PhilippeGlad that it helped
@einas.ibrahimLook who's here. Absolutely it does save us
正是我需要的!你刚才救了我几个hours. Thanks!
Thanks again ..MCDVOICE