@RDESCENDANTS

English (Español a continuación)

This function selects all members below a certain member, including shared members.

  • This is the difference with the function @DESCENDANTS, which does not include shared members.

There are two variants of this function:

  • The function @RDESCENDANTS does not include the reference member in the selection.
  • The function @IRDESCENDANTS does include the reference member in the selection.

Like the function @DESCENDANTS, it offers several options:

  • Select all descendant members.
  • Select all descendant members up to a certain level.

This function consists of two arguments:

  • @RDESCENDANTS (A, B)

Part “A”: It is the member that serves as a reference to select the other members. It can be a dimension or a specific member of the dimension.

Part «B»: This argument is optional:

If not reported this function selects all descendant members of the reference member.

If it is informed, the function is told up to what level of descent it has to select. It is reported by an integer:

  • If it is positive, it indicates how many generations it must descend from the reference member.
  • If it is zero or negative, it is indicated to where it must descend but counting from below, from the zero level:
    • A zero indicates that it should drop to the zero level.
    • A -1 indicates that it should descend to level one.

If we want to exclude some members from the specified selection, we can use this function together with the function @REMOVE.

For example:

  • @REMOVE (@RDESCENDANTS (“Mercados”), @ LIST (“Barcelona”, ”Alicante”))

We indicate that of the descendants of the «Market» dimension, exclude Barcelona and Alicante.

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

Español

Esta función permite seleccionar todos los miembros que estén por debajo de un miembro determinado, incluyendo los miembros compartidos.

Esto es lo que lo diferencia de @DESCENDANTS, que no incluye a los miembros compartidos.

Hay dos variantes de esta función:

  • La función @RDESCENDANTS no incluye en la selección al miembro de referencia.
  • La función @IRDESCENDANTS sí incluye en la selección al miembro de referencia.

Al igual que la función @DESCENDANTS ofrece diversas opciones:

  • Seleccionar a todos los miembros descendientes.
  • Seleccionar a todos los miembros descendientes hasta  cierto nivel.

Esta función consta de dos argumentos:

@RDESCENDANTS(A,B)

Parte “A”: Es el miembro que sirve de referencia para seleccionar a los otros miembros. Puede ser una dimensión o un miembro determinado de la dimensión.  

Parte “B”: Este argumento es opcional:

Si no se informa esta función selecciona todos los miembros descendientes del miembro de referencia.

Si se informa se le indica a la función hasta que nivel de descendencia tiene que seleccionar.  Se informa mediante un número entero:

  • Si es positivo indica cuantos niveles (generaciones) debe descender a partir del miembro de referencia.
  • Si es cero o negativo se le indica hasta donde debe descender pero contando desde abajo, desde el nivel cero:

Un cero indica que debe descender hasta el nivel cero.

Un -1 indica que debe descender hasta el nivel uno.

Si de la selección especificada queremos excluir algunos miembros podemos utilizar esta función conjuntamente con la función @REMOVE.

Por ejemplo:

@REMOVE(@RDESCENDANTS(“Mercados”),@LIST(“Barcelona”,”Alicante”))

Le indicamos que de los descendientes de la dimensión “Mercado” excluya Barcelona y Alicante.

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

Anuncio publicitario