English (Español a continuación)
This function allows select those members of the Outline based on their position that meet a certain condition.
This function consists of 4 parameters:
- @MBRCOMPARE («Part A», «Part B», «Part C», «Part D»)
«Part A»: It is the comparison operator. Can be:
- «>»: Greater than (Searches down the Outline)
- «> =»: Greater than or equal to
- «==»: Equal to
- «<=»: Less than or equal to (Search up the Outline)
- «<«: Less than
- “CDF”: If a “Custom-Defined-Function” is used as a parameter of this function in “Part D”
«Part B»: It is the name of the member that this function will search in the Outline.
«Part C»: It is the name of the Outline member that marks the range where the selection is to be made: the search range includes this member and all their descendants.
- If it is left empty (“”) the search is carried out in the entire Outline.
“Part D”: If “CDF” has been specified in “Part A”, this parameter includes the CDF function to be applied.
Let’s see some examples: starting from the following Outline:

The function @MBRCOMPARE (“> =”, “Europe”, “”):
- This function will search the “Markets” range and all its descendants, selecting the “Europe” member and all the members below it.

The function @MBRCOMPARE («> =», «Europe», «Southern Europe»):
- This function will search in the range «Southern Europe» and all its descendants, selecting all the members that within this range are below the member «Europe».

The function @MBRCOMPARE («<«, «Europe», «»):
- This function will search the “Markets” range and all its descendants, selecting all the members that are above the “Europe” member within this range.

The function @MBRCOMPARE (“<”, “Europe”, “North America”):
- This function will search the range «North America» and all its descendants, selecting all the members within this range that are above the member «Europe».

We can use this function within a FIX:

Any question, please send an email to: essbaseeasy@gmail.com
Español
Esta función permite seleccionar aquellos miembros del Outline en función de su posición que cumplen determinada condición.
Esta función consta de 4 parámetros:
- @MBRCOMPARE(“Parte A”, “Parte B”, “Parte C”, “Parte D”)
“Parte A”: Es el operador de la comparación. Puede ser:
- “>”: Mayor que (Hace la búsqueda hacia abajo del Outline)
- “>=”: Mayor o igual que
- “==”: Igual que
- “<=”: Menor o igual que (Hace la búsqueda hacia arriba del Outline)
- “<”: Menor que
- “CDF”: Si se utiliza como parámetro de esta función en la “Parte D” una “Custom-Defined-Function”
“Parte B”: Es el nombre del miembro que esta función va a buscar en el Outline.
“Parte C”: Es el nombre del miembro del Outline que marca el rango donde se va a realizar la selección: el rango de búsqueda incluye a este miembro y a todos sus descendientes.
- Si se deja vacío (“”) la búsqueda se realiza en todo el Outline.
“Parte D”: Si en la “Parte A” se ha especificado “CDF”, en este parámetro se incluye la función CDF que se quiere aplicar.
Veamos algunos ejemplos: partiendo del siguiente Outline:

La función @MBRCOMPARE(“>=”, “Europa”, “”):
- Esta función va a buscar en el rango “Mercados” y todos sus descendientes, seleccionando al miembro “Europa” y a todos los miembros que estén por debajo.

La función @MBRCOMPARE(“>=”, “Europa”, “Sur de Europa”):
- Esta función va a buscar en el rango “Sur de Europa” y todos sus descendientes, seleccionando a todos los miembros que dentro de este rango estén por debajo del miembro “Europa”.

La función @MBRCOMPARE(“<”, “Europa”, “”):
- Esta función va a buscar en el rango “Mercados” y todos sus descendientes, seleccionando a todos los miembros que dentro de este rango estén por encima del miembro “Europa”.

La función @MBRCOMPARE(“<”, “Europa”, “América del Norte”):
- Esta función va a buscar en el rango “América del Norte” y todos sus descendientes, seleccionando a todos los miembros que dentro de este rango estén por encima del miembro “Europa”.

Esta función la podemos utilizar dentro de un FIX:

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