@MOVMIN

English (Español a continuación)

This function calculates the minimum value within a moving range.

Its structure consists of 3 parts:

@MOVMIN (A, B, C)

  • Part «A»: collects the variable for which the minimum is to be calculated.
  • Part “B”: It is optional; is a number that indicates the size of the moving range for the calculation of the minimum. If it is not reported, the default value is 3.
  • Part “C”: It is optional; collects the data series through which this function moves to calculate the minimum (list of members, function that returns a range …). If not reported Essbase moves through the 0 levels of the dimension marked as time.

Let’s see an example: Starting from the following series of data:

We apply the following function:

We get the following result:

For each month, calculate the minimum of the previous 3 months (including the month itself). As we have not reported part «C», this function moves through the months of the year (0 levels of the time dimension).

In the case of the months of January and February, since they do not have 3 previous months, it repeats the same data from the original series.

If we apply the function:

We get the following result:

For each month, calculate the minimum of the previous 5 months.

If any member has no data (#missing), this function bypasses it by calculating the minimum among the rest of the values ​​of the moving range.

Español

Esta función calcula el valor mínimo dentro de un rango móvil.

Su estructura consta de 3 partes:

@MOVMIN(A,B,C)

Parte “A”: recoge la variable de la que se va a calcular el mínimo.

Parte “B”: Es opcional; es un número que señala el tamaño del rango móvil para el cálculo del mínimo. Si no se informa se toma por defecto el valor 3.

Parte “C”: Es opcional; recoge la serie de datos por la que se mueve esta función para calcular el mínimo (lista de miembros, función que devuelve un rango…). Si no se informa Essbase se mueve a través de los niveles 0 de la dimensión marcada como tiempo.

Veamos un ejemplo: Partiendo de la siguiente serie de datos:

Aplicamos la siguiente función:

Obtenemos el siguiente resultado:

Para cada mes calcula el mínimo de los 3 meses anteriores (incluido el propio mes). Como no hemos informado la parte “C” esta función se mueve por los meses del año (niveles 0 de la dimensión tiempo).

En el caso de los meses de enero y febrero como no tienen 3 meses anteriores repite el mismo dato de la serie original.

Si aplicamos la función:

Obtenemos el siguiente resultado:

Para cada mes calcula el mínimo de los 5 meses anteriores.

Si algún miembro no tiene datos (#missing), esta función lo obvia calculando el mínimo entre el resto de valores del rango móvil.

Anuncio publicitario