@MAXSRANGE

English (Español a continuación)

This function gets the maximum value from a range of values. Its structure consists of three parts:

  • @MAXSRANGE(A, B, C);

Part A: determines the treatment given to members that are zero or missing (no data). There are 4 options:

  • SKIPNONE: It takes into account all the values ​​of the defined series for the calculation of the maximum.
  • SKIPMISSING: Exclude those members that have no data.
  • SPIPZERO: Exclude those members that have zero value.
  • SKIPBOTH: Exclude those members that have zero value or that have no data.

Unlike this, the @MAXRANGE function (which has a similar use) does not allow zero or missing values ​​to be excluded from the calculation.

Let’s see an example:

Part B: determines the variable for which the maximum is calculated.

Part C: sets the data series for which the maximum is calculated. This list can be set in several ways:

  • Using a list: @LIST(“Barcelona”, ”Madrid”, ”Valencia”)
  • Through a function that determines a series: @IDESCENDANTS(“Markets”)
  • ….

This variable is optional, if it is not specified, it takes the zero levels of the period dimension (January, February …, December) as a series for calculating the maximum.

Let’s see an example of this formula:

 “Max_Sales” = @MAXRANGE(SKIPNONE,”Sales”,@RELATIVE(“CATALUÑA”,0));

  • «Max_Sales» = 5

Any question, please send an email to: essbaseeasy@gmail.com

Español

Esta función obtiene el valor máximo de un rango de valores. Su estructura consta de tres partes:

@MAXSRANGE(A,B,C);

Parte A: determina el tratamiento que se da a los miembros que son cero o missing (sin dato). Caben 4 opciones:

  • SKIPNONE: Tiene en cuenta todos los valores de la serie definida para el cálculo del máximo.
  • SKIPMISSING: Excluye aquellos miembros que no tengan datos.
  • SPIPCERO: Excluye aquellos miembros que tengan valor cero.
  • SKIPBOTH: Excluye aquellos miembros que tengan valor cero o que no tengan datos.

A diferencia de esta, la función @MAXRANGE (que tiene una utilidad similar) no permite excluir del cálculo los valores cero o missing.

Veamos un ejemplo:

Parte B: determina la variable para la que se calcula el máximo.

Parte C: fija la serie de datos para la que se calcula el máximo. Esta lista se puede fijar de diversas formas:

  • Mediante una lista: @LIST(“Barcelona”,”Madrid”,”Valencia”)
  • Mediante una función que determine una serie: @IDESCENDANTS(“Mercados”)
  • ….

Esta variable es opcional, si no se especifica la fórmula toma como serie para el cálculo del máximo los niveles cero de la dimensión periodo (enero, febrero… , diciembre).

Veamos un ejemplo de esta fórmula:

“Max_Ventas” = 5

Cualquier consulta envía, por favor, un correo a: essbaseeasy@gmail.com

Anuncio publicitario