@ISRANGENONEMPTY

English (Español a continuación)

It is a Boolean function that returns «True» / «False» if the condition is met (not met). The condition is that within the established range there is at least one non-null value.

The structure of this function consists of two parameters:

  • @ISRANGENONEMPTY («Part A», «Part B»):

Part A: the first parameter defines the treatment that is given to the 0 values. There are two options:

  • ZEROASDATA: “0” values ​​are treated as data.
  • ZEROASMISSING: “0” values ​​are treated as #missing.

Part B: is the list of members in which the condition must be met. There are several options:

  • A member:
    • @ISRANGENONEMPTY (ZEROASDATA, «Germany»);
    • @ISRANGENONEMPTY (ZEROASDATA, ”Germany” -> “Cars”);
  • A list of members:
    • @ISRANGENONEMPTY (ZEROASDATA, @ LIST (Germany, Spain, Italy));
  • A function that defines a list of members (@RELATIVE, @ DESCENDANTS …):
    • @ISRANGENONEMPTY (ZEROASDATA, @ RELATIVE (“Markets”, 0));
  • A function of type range:
    • @ISRANGENONEMPTY (ZEROASDATA, @ XRANGE (Jan, Dec));

This function can be used within an “IF… ELSE” conditional structure.

  • If any month in the period January – December has data, the condition is met (the @ISRANGENONEMPTY function returns «True»), assigning the value 100 to all months.
  • If no month in the period January – December has data, the condition is not met (the @ISRANGENONEMPTY function returns «False»), assigning the value 0 to all months.

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

Español

Es una función booleana que devuelve “Verdadero” / “Falso” si se cumple (no se cumple) la condición. La condición es que dentro del rango establecido haya al menos un valor no nulo.

La estructura de esta función consta de dos parámetros:

  • @ISRANGENONEMPTY(“Parte A”, “Parte B”):

Parte A: el primero parámetro define el tratamiento que se le da a los valores 0. Hay dos opciones:

  • ZEROASDATA: los valores “0” son tratados como datos.
  • ZEROASMISSING: los valores “0” son tratados como #missing.

Parte B: es la lista de miembros en la que se debe cumplir la condición. Hay varias opciones:

  • Un miembro:
    • @ISRANGENONEMPTY(ZEROASDATA,”Alemania”);
    • @ISRANGENONEMPTY(ZEROASDATA,”Alemania” -> “Automóviles”);
  • Una lista de miembros:
    • @ISRANGENONEMPTY(ZEROASDATA,@LIST(Alemania,España,Italia));
  • Una función que define una lista de miembros (@RELATIVE, @DESCENDANTS…):
    • @ISRANGENONEMPTY(ZEROASDATA,@RELATIVE(“Mercados”,0));
  • Una función de tipo rango:
    • @ISRANGENONEMPTY(ZEROASDATA,@XRANGE(Ene,Dic));

Esta función de puede utilizar dentro de una estructura condicional “IF … ELSE”.

  • Si algún mes en el periodo Enero – Diciembre tiene dato, se cumple la condición (la función @ISRANGENONEMPTY devuelve “Verdadero”), asignando el valor 100 a todos los meses.
  • Si ningún mes en el periodo Enero – Diciembre tiene dato, no se cumple la condición (la función @ISRANGENONEMPTY devuelve “Falso”), asignando el valor 0 a todos los meses.

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

Anuncio publicitario