@ISSAMEGEN / @ISSAMELEV

English (Español a continuación)

It is a Boolean function that returns «True», if the calculated member fulfills the function’s argument, or «False» otherwise.

Its structures consist of a single argument:

  • @ISSAMEGEN (Argument);
  • @ISSAMELEV (Argument);

This argument picks up an element of the outline (for example, «Madrid») or a function that returns a member. If the calculated member belongs to the same generation (level) as the specified member, the function returns «True»; if it is not, it returns «False».

Examples of these functions:

  • @ISSAMEGEN (“Madrid”);
  • @ISSAMELEV (“Madrid”);

In the first case it will return true if the calculated member belongs to the same generation as “Madrid”, while in the second case it will return true if the calculated member belongs to the same level as “Madrid”.

These functions are usually used within an «IF» structure:

  • IF (@ISSAMEGEN (“Barcelona”))
  • Sales = 50;
  • ENDIF

This function applied to the following outline would result in:

The following example:

  • IF (@ISSAMELEV (“Barcelona”))
  • Sales = 50;
  • ENDIF

It would result in:

Español

Es una función booleana que devuelve “Verdadero”, si el miembro calculado cumple el argumento de la función, o “Falso”, en caso contrario.

Sus estructuras constan de un único argumento:

  • @ISSAMEGEN(Argumento);
  • @ISSAMELEV(Argumento);

Este argumento recoge un elemento del outline (por ejemplo, “Madrid”) o una función que devuelva un miembro. Si el miembro calculado pertenece a la misma generación (nivel) que el miembro especificado la función devuelve “Verdadero”; si no lo es devuelve “Falso”.

Ejemplos de estas funciones:

  • @ISSAMEGEN(“Madrid”);
  • @ISSAMELEV(“Madrid”);

En el primer caso devolverá verdadero si el miembro calculado pertenece a la misma generación que “Madrid”, mientras que en el segundo caso devolverá verdadero si el miembro calculado pertenece al mismo nivel que “Madrid”.

Estas funciones se suelen utilizar dentro de una estructura “IF”:

IF(@ISSAMEGEN(“Barcelona”))

Ventas = 50;

ENDIF

Esta función aplicada al siguiente outline daría como resultado:

El siguiente ejemplo:

IF(@ISSAMELEV(“Barcelona”))

Ventas = 50;

ENDIF

Daría como resultado:

Anuncio publicitario