@MOVMAX

English (Español a continuación)

This function calculates the maximum value within a moving range.

Its structure consists of 3 parts:

@MOVMAX (A, B, C)

  • Part “A”: collects the variable for which the maximum is to be calculated.
  • Part “B”: It is optional; is a number that indicates the size of the moving range to calculate the maximum. 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 maximum (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 maximum 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, as 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 maximum of the previous 5 months.

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

Español

Esta función calcula el valor máximo dentro de un rango móvil.

Su estructura consta de 3 partes:

@MOVMAX(A,B,C)

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

Parte “B”: Es opcional; es un número que señala el tamaño del rango móvil para el cálculo del máximo. 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áximo (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áximo 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áximo de los 5 meses anteriores.

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

Anuncio publicitario