English (Español a continuación)
This function selects all members of a dimension that are within a certain distance from a member of the dimension that is used as a reference.
This function consists of 2 parts:
- @RELATIVE (A, B)
Part “A”: sets the member of the dimension that is used as a reference.
Part “B”: determines the distance of the members to be selected with respect to the member used as reference. It is a number:
If it is positive, it refers to a generation. Generations are counted from the reference member:
- Generation 1 is the one that is one level below the reference member.
- Generation 2 is the one two levels below the reference member.
- …
If it is zero or negative, it refers to a level. Levels are counted from the bottom of the outline (the lines that descend from the reference member):
- Level 0 is the end of the lines descending from the reference member.
- Level -1 is the level before level 0.
- …
Let’s see an example:
We have in the outline the dimension «Market» with the following structure:

We can select members with @RELATIVE specifying the «level»:


We can also select members with @RELATIVE specifying the «generation»:


Any question, please send an email to: essbaseeasy@gmail.com
Español
Esta función permite seleccionar todos los miembros de una dimensión que estén a cierta distancia de un miembro de la dimensión que se utiliza como referencia.
Esta función consta de 2 partes:
@RELATIVE(A,B)
- Parte “A”: fija el miembro de la dimensión que se utiliza como referencia.
- Parte “B”: determina la distancia de los miembros que se van a seleccionar respecto al miembro que se usa de referencia.
La parte “B” es un número:
Si es positivo hace referencia a una generación. Las generaciones se comienzan a contar desde el miembro de referencia:
- La generación 1 es la que está un nivel por debajo del miembro de referencia.
- La generación 2 es la que está dos niveles por debajo del miembro de referencia.
- …
Si es cero o negativo hace referencia a un nivel. Los niveles se comienzan a contar desde el extremo de las líneas que descienden desde el miembro de referencia:
- El nivel 0 es el extremo final de las líneas que descienden del miembro de referencia.
- El nivel -1 es el nivel anterior al nivel 0.
- …
Veamos un ejemplo:
Tenemos en el outline la dimensión “Mercado” con la siguiente estructura:

Podemos seleccionar miembros con @RELATIVE especificando el “nivel”:

También podemos seleccionar miembros con @RELATIVE especificando la “generación”:

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