@COUNT

English (Español a continuación)

This function counts the number of data in a given range.

This expression consists of 2 parts:

  • @COUNT (A, B);

Part «A»: determines the treatment that this function gives to those members that have no data or have zero. There are 4 options:

  • SKIPNONE: counts all members of the defined series, whether they have data, zero or are empty.
  • SKIPMISSING: does not count those members who do not have data.
  • SPIPZERO: does not count those members that have zero.
  • SKIPBOTH: does not count those members that have no data or that have zero.

Let’s see an example:

Part “B”: determines the list of values whose values are to be counted. This list can be set in several ways:

  • Using a list: @LIST(“Barcelona”, ”Madrid”, ”Valencia”)
  • Through a function that determines a series: @IDESCENDANTS (“Markets”)
  • ….

Let’s see an example:

  • Nº_markets = 11
  • Nº_markets = 13

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

Español

Esta función cuenta el número de datos que hay en un rango determinado.

Esta expresión consta de 2 partes:

@COUNT(A,B);

Parte “A”: determina el tratamiento que da esta función a aquellos miembros que no tienen dato o tienen cero. Caben 4 opciones:

  • SKIPNONE: cuenta todos los miembros de la serie definida, tengan datos, cero o estén vacías.
  • SKIPMISSING: no cuenta aquellos miembros que no tengan datos.
  • SPIPZERO: no cuenta aquellos miembros que tengan cero.
  • SKIPBOTH: no cuenta aquellos miembros que no tengan datos o que tengan cero.

Veamos un ejemplo:

Parte “B”: determina la lista de valores  cuyos valores se van a contar. Esta lista se puede fijar de diversas formas:

  • Mediante una lista: @LIST(“Barcelona”,”Madrid”,”Valencia”)
  • Mediante una función que determine una serie: @IDESCENDANTS(“Mercados”)
  • ….

Veamos un ejemplo:

Num_mercados = 11

Num_mercados = 13

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

Anuncio publicitario