SET FRMLBOTTOMUP

English (Español a continuación)

This command is used to speed up calculations under certain circumstances.

Essbase uses two calculation methods: «bottom-up» and «top-down».

  • In bottom-up mode, Essbase begins by determining from the existing blocks which need to be calculated and only calculates the blocks that are affected.
  • On the contrary, the «top-down» mode calculates all the potential blocks that can affect that specific member (whether they exist or not). This method is less efficient because it calculates more blocks but in some cases it ensures that the result is correct.

By default Essbase applies the «bottom-up» mode, which is faster than the «top-down».

However, when Essbase finds a complex formula for that specific member, it applies the «top-down» mode, a method that slows down the calculation. Complex formulas are formulas that contain:

  • A finance function (@ACCUM, @ GROWTH…)
  • A relation function (@PARENTVAL, @ SHIFT …)
  • A range type function (@AVGRANGE, @MAXRANGE, @ SUMRANGE …)
  • A double-dimensional member (A = B-> D + C-> D)

Complex formulas applied to members of sparse dimensions considerably increase the volume of calculation, speeding it up.

The SET FRMLBOTTOMUP command instructs Essbase to use the bottom-up calculation method in these cases where it would apply top-down calculation by default. It can be useful when the outlines are large as it makes the calculation easier.

This command presents two options:

SET FRMLBOTTOMUP ON / OFF;

  • ON: Activates the bottom-up method in calculations of complex sparse member formulas.
  • OFF: Disables the bottom-up method in calculations of complex sparse member formulas; is the default method.

However, this command must be used with caution since forcing a bottom-up calculation in a complex formula can lead to an erroneous result, so before incorporating it into the calculation, it must be validated.

Let’s look at an example of incorrect calculation:

We start from the following situation: we have two members «Cost» and «Price» of the sparse dimension «Variable»; we are going to calculate «Price» with the following formula:

  • Price = Cost * 1,2;

The starting situation is:

Applying the «bottom-up» mode to calculate the price gives the following result:

  • For «Product A» it does not calculate since there is no price block.
  • For “Product B” the result is also #missing (since it multiplies #missing * 1,2).
  • For “Product C” it ​​does calculate.

Applying the «top-down» mode the result is:

  • For “Product A” and “Product C” it ​​does calculate (it calculates all potential blocks even if they do not exist).
  • For «Product B» the result is #missing.

Español

Este comando se utiliza para acelerar los cálculos en determinadas circunstancias.

Essbase utiliza dos métodos de cálculos: “bottom-up” y “top-down”.

  • En el modo “bottom-up” Essbase comienza por determinar de los bloques existentes cuales necesitan ser calculados y únicamente calcula los bloques que se ven afectados.
  • Por el contrario, el modo “top-down” calcula todos los bloques potenciales que pueden afectar a ese miembro concreto (existan o no). Este método es menos eficiente por que calcula más bloques pero en algunos casos asegura que el resultado es correcto.

Por defecto Essbase aplica el modo “bottom-up”, que es más rápido que el “top-down”.

No obstante cuando Essbase encuentra una fórmula compleja para ese miembro concreto aplica el modo “top-down”, método que ralentiza el cálculo. Fórmulas complejas son fórmulas que contienen:

  • Una función financiera (@ACCUM, @GROWTH…)
  • Una función de relación (@PARENTVAL, @SHIFT…)
  • Una función tipo range (@AVGRANGE, @MAXRANGE, @SUMRANGE…)
  • Un miembro de doble dimensión (A = B->D + C->D)

Las fórmulas complejas aplicadas a miembros de dimensiones dispersas aumentan considerablemente el volumen de cálculo, raletizándolo.

El comando SET FRMLBOTTOMUP indica a Essbase de utiliar el método de cálculo bottom-up en estos casos en los que por defecto aplicaría el cálculo top-down. Puede ser útil cuando los outlines son de gran tamaño ya que permite aligerar el cálculo.

Este comando presenta dos opciones:

SET FRMLBOTTOMUP ON / OFF;

  • ON: Activa el método bottom-up en los cálculos de fórmulas complejas de miembros dispersos.
  • OFF: Desactiva el método bottom-up en los cálculos de fórmulas complejas de miembros dispersos; es el método por defecto.

No obstante este comando hay que utilizarlo con precaución ya que forzar un cálculo bottom-up en una fórmula compleja puede llevar a un resultado erróneo, por lo que antes de incorporarlo al cálculo hay que validarlo.

Veamos un ejemplo de cálculo incorrecto:

Partimos de la siguiente situación: tenemos dos miembros “Coste” y “Precio” de la dimensión dispersa “Variable”; vamos a calcular “Precio” con la siguiente fórmula:

  • Precio = Coste * 1,2;

La situación de partida es:

Aplicando el modo “bottom-up” para calcular el precio da el siguiente resultado:

  • Para “Product A” no calcula ya que no existe bloque de precio.
  • Para “Product B” el resultado también es #missing (ya que multiplica #missing * 1,2).
  • Para “Product C” sí calcula.

Aplicando el modo “top-down” el resultado es:

  • Para “Product A” y “Product C” sí calcula (calcula todos los bloques potenciales aunque no existan).
  • Para “Product B” el resultado es #missing.
Anuncio publicitario