English (Español a continuación)
This function returns the number of elements in a list. It consists of a single argument:
@CalcMgrGetListCount (List);
- List: is the list of elements that the function will count.
This list can be defined:
- As a relationship of elements: «one», «two», «three» …
- Through a function: @IDESCENDANTS (@CURRMBR («Markets»))
- …
Let’s see an example:
@CalcMgrGetListCount (@LIST («one», «two», «three»)) = 3
This function can be used within a calculation script:
For example, starting from the following outline:

Applying the following calculation:

Assign as variable «Units» to each member of the dimension «Markets» the number of its descendant members (including the same one), obtaining the following result:

Español
Esta función devuelve el número de elementos de una lista. Consta de un solo argumento:
@CalcMgrGetListCount(Lista);
- Lista: es la relación de elementos que la función va a contar.
Esta lista se puede definir:
- Como una relación de elementos: «uno»,»dos»,»tres»…
- A través de una función: @IDESCENDANTS(@CURRMBR(«Mercados»))
Veamos un ejemplo:
@CalcMgrGetListCount(@LIST(«uno»,»dos»,»tres»)) = 3
Esta función se puede utilizar dentro de un script de cálculo:
Por ejemplo, partiendo del siguiente outline:

Aplicando el siguiente cálculo:

Asigna como variable “Unidades” a cada miembro de la dimensión “Mercados” el número de sus miembros descendientes (incluyendo el mismo), obteniendo el siguiente resultado:
