@ENUMVALUE

English (Español a continuación)

This function allows to obtain the numerical value associated with a member of a text list.

Its structure consists of 2 parameters:

  • @ENUMVALUE («Part A», «Part B»)

There are two options:

  • If Part A includes a member of the Outline that has a text list associated with it; Part B would include a member of that list.
  • If Part A includes the name of a list, Part B would include a member of that list.

Let’s see an example: We have the following text list:

Which we have called “Ranking” and which is associated with the Outline member “Quality” (of the “Data” dimension).

The structure of the function according to the two commented options would be:

  • @ENUMVALUE («Quality», «Medium-High»)
  • @ENUMVALUE (“Ranking”, ”Medium-High”)

This function allows to extract the numerical value associated with each member of this list:

  • @ENUMVALUE («Quality», «Medium-High») = 4
  • @ENUMVALUE («Quality», «Low») = 1
  • @ENUMVALUE («Ranking», «High») = 5

We can use this function in calculations of the type:

Those sellers:

  • With a “High” Quality are assigned a target of 200.
  • With a “Medium-High” Quality are assigned a target of 150.

Or for example:                                                

Those sellers:

  • With a “High” Quality are assigned a target of 100 * 5.
  • With a “Medium-High” Quality are assigned a target of 100 * 4.

The previous examples could also be written by going directly to the numerical value assigned to each member of the text list.

The first example would be:

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

Español

Esta función permite obtener el valor numérico asociado a un miembro de una lista de texto.

Su estructura consta de 2 parámetros:

  • @ENUMVALUE(“Parte A”, “Parte B”)

Caben dos opciones:

  • Si en la Parte A se incluye un miembro del Outline que tiene asociada una lista de texto; en la Parte B se incluiría un miembro de esa lista.
  • Si en la Parte A se incluye el nombre de una lista, en la Parte B se incluiría un miembro de esa lista.

Veamos un ejemplo: Tenemos la siguiente lista de texto:

Que hemos denominado “Ranking” y que hemos asociado al miembro del Outline “Calidad” (de la dimensión “Datos”).

La estructura de la función según las dos opciones comentadas sería:

  • @ENUMVALUE(“Calidad”,”Medio-Alto”)
  • @ENUMVALUE(“Ranking”,”Medio-Alto”)

Esta función nos permite extraer el valor numérico asociado a cada miembro de esta lista:

  • @ENUMVALUE(“Calidad”,”Medio-Alto”) = 4
  • @ENUMVALUE(“Calidad”,”Bajo”) = 1
  • @ENUMVALUE(“Ranking”,”Alto”) = 5

Esta función la podemos utilizar en cálculos del tipo:

Aquellos vendedores:

  • Con un Ranking “Alto” se le asigna un objetivo de 200.
  • Con un Ranking “Medio-Alto” se le asigna un objetivo de 150.

O por ejemplo:

Aquellos vendedores:

  • Con un Ranking “Alto” se le asigna un objetivo de 100 * 5.
  • Con un Ranking “Medio-Alto” se le asigna un objetivo de 100 * 4.

Los ejemplos anteriores también se podrían escribir acudiendo directamente al valor numérico asignado a cada miembro de la lista de texto.

El primer ejemplo quedaría:

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

Anuncio publicitario