English (Español a continuación)
This function ranks a series of members based on the value of a variable.
It order them from highest to lowest. If there are duplicate values, it assigns them the same position, although it takes it into account for the position of the next value. For example:

- Malaga and Seville are assigned the same position, 6th, and the next city, Teruel, is assigned 8th.
Its structure consists of three parts:
- @RANK (A, B, C)
Part A: determines the treatment given to members that are zero or missing (no data). There are 4 options:
- SKIPNONE: It takes into account all the values of the defined series for the ranking calculation.
- SKIPMISSING: To calculate the ranking exclude those members without data.
- SPIPZERO: For the calculation of the ranking exclude those members that have zero value.
- SKIPBOTH: For the calculation of the ranking exclude those members that have zero value or that have no data.
Let’s see an example:

Part B: Sets the variable used to perform the ranking.
- For example, sales, expenses, profits …
Part C: sets the series of members for which the ranking is calculated. This series can be fixed in various ways:
- A list of members: for example: («Madrid», «Barcelona», «Valencia», …)
- A function that determines a series of members: for example: @RELATIVE (“Markets”, 0)
Let’s see an example of this formula:
- @RANK(SKIPNONE,”Sales”,@RELATIVE(“Markets”,0));
Any question, please send an email to: essbaseeasy@gmail.com
Español
Esta función permite jerarquizar una serie de miembros en base al valor de una variable.
Ordena de mayor a menor. Si hay valores duplicados le asigna la misma posición, si bien lo tiene en cuenta para la posición del siguiente valor. Por ejemplo:

A Málaga y a Sevilla le asigna la misma posición, la 6ª, y a la siguiente ciudad, Teruel, le asigna la 8ª.
Su estructura consta de tres partes: @RANK(A,B,C)
Parte A: determina el tratamiento que se da a los miembros que son cero o missing (sin dato). Caben 4 opciones:
- SKIPNONE: Tiene en cuenta todos los valores de la serie definida para el cálculo del ranking.
- SKIPMISSING: Para el cálculo del ranking excluye aquellos miembros que no tengan datos.
- SPIPZERO: Para el cálculo del ranking excluye aquellos miembros que tengan valor cero.
- SKIPBOTH: Para el cálculo del ranking excluye aquellos miembros que tengan valor cero o que no tengan datos.
Veamos un ejemplo:

Parte B: Fija la variable que se utiliza para realizar el ranking.
Por ejemplo, ventas, gastos, beneficios…
Parte C: fija la serie de miembros para los cuales se calcula el ranking. Esta serie se puede fijar de diversas maneras:
- Una lista de miembros
Por ejemplo: (“Madrid”,”Barcelona”,”Valencia”,…)
- Una función que determine una serie de miembros
Por ejemplo: @RELATIVE(“Mercados”,0)
Veamos un ejemplo de esta fórmula:

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