ROWS AND DATA / FILAS Y DATOS

English (Español a continuación)

The following commands are used to remove from the Report Script those rows in which all their data is zeros / #missings.

  • SUPMISSINGROWS
  • SUPZEROROWS
  • SUPEMPTYROWS

Characteristic

  • They can be placed at the top of the Report Script, affecting the entire report.
    • If the Report Script integrates different Reports (each of them ending with the corresponding !), it affects all of them.
  • However, its effect can be overridden in a later block by including the following commands:
    • INCMISSINGROWS
    • INCZEROROWS
    • INCEMPTYROWS

We will also analyze 2 other commands:

  • SUPOUTPUT
  • SUPALL

1.- SUPMISSINGROWS

Eliminates from the Report Script those rows in which all the data is #missings.

Syntax:

  • {SUPPMISSINGROWS}

The effect of this command can be overridden later in the Report Script with the command {INCMISSINGROWS}

  • This command includes rows with all their data #missings, overriding the effect of the {SUPEMPTYROWS} / {SUPMISSINGROWS} commands.

Its syntax is:

  • {INCMISSINGROWS}

2.- SUPZEROROWS

Eliminates from the Report Script those rows in which all the data is zero.

Syntax:

  • {SUPZEROROWS}

The effect of this command can be overridden later in the Report Script with the command {INCZEROROWS}

  • This command includes rows with all data zero, overriding the effect of the {SUPEMPTYROWS} / {SUPZEROROWS} commands.

Its syntax is:

  • {INCZEROROWS}

3.- SUPEMPTYROWS

Removes from the Report Script those rows whose data is all zeros or #missings.

Syntax:

  • {SUPEMPTYROWS}

The effect of this command can be overridden later in the Report Script with the command {INCEMPTYROWS}

  • This command includes rows with all their data zeros or #missings, overriding the effect of the {SUPEMPTYROWS} / {SUPMISSINGROWS} / {SUPZEROROWS} commands.

Its syntax is:

  • {INCEMPTYROWS}

4.- SUPOUTPUT

This command allows to delete part of the data from an output.

For example: we include in the row definition the dimension “Markets” and select the following members:

  • <ROW(Markets)
  • Spain
  • Germany
  • Italy
  • France

If I include this command, for example:

  • Spain
  • Germany
  • {SUPOUTPUT}
  • Italy
  • France

In the Report Script only the data relating to Spain and Germany will appear.

  • This command is disabled with the command {OUTPUT}.

For example:

  • Spain
  • Germany
  • {SUPOUTPUT}
  • Italy
  • {OUTPUT}
  • France

The Report Script will show data from Spain, Germany and France.

5.- SUPALL

This command deletes:

  • Page headers.
  • Column headers.
  • The names of the members.
  • The insertion of pages.
  • Commas.
  • Parentheses.

The Report Script only shows the data and if any text has been included with the command {TEXT}.

This command is equivalent to using the commands:

  • SUPHEADING
  • SUPPAGEHEADING
  • SUPCOLHEADING
  • SUPNAMES
  • SUPBRACKETS
  • SUPFEED
  • SUPCOMMAS

Syntax:

  • {SUPALL}

It is located at the top of the Report Script, before entering the Page / Row / Column definition.

If we activate this command but we want the name of the members to appear, we use the command {NAMESON}.

Español

Los siguientes comandos se utilizan para eliminar del Report Script aquellas filas en las que todos sus datos son ceros / #missings.

  • SUPMISSINGROWS
  • SUPZEROROWS
  • SUPEMPTYROWS

Características

  • Se pueden colocar en la parte superior del Report Script, afectando a todo el informe.
    • Si el Report Script integra diferentes Reports (cada uno de ellos finalizado con el correspondiente !), afecta a todos ellos.
  • No obstante, su efecto se puede anular en un bloque posterior incluyendo los siguientes comandos:
    • INCMISSINGROWS
    • INCZEROROWS
    • INCEMPTYROWS

También vamos a analizar otros 2 comandos:

  • SUPOUTPUT
  • SUPALL

1.- SUPMISSINGROWS

Elimina del Report Script aquellas filas en las que todos los datos son #missings.

Sintaxis:

  • {SUPMISSINGROWS}

El efecto de este comando se puede anular más adelante en el Report Script con el comando {INCMISSINGROWS}

  • Este comando incluye filas con todos sus datos #missings, anulando el efecto de los comandos {SUPEMPTYROWS} / {SUPMISSINGROWS}.

Su sintaxis es:

  • {INCMISSINGROWS}

2.- SUPZEROROWS

Elimina del Report Script aquellas filas en las que todos los datos son ceros.

Sintaxis:

  • {SUPZEROROWS}

El efecto de este comando se puede anular más adelante en el Report Script con el comando {INCZEROROWS}

  • Este comando incluye filas con todos sus datos ceros, anulando el efecto de los comandos {SUPEMPTYROWS} / {SUPZEROROWS}.

Su sintaxis es:

  • {INCZEROROWS}

3.- SUPEMPTYROWS

Elimina del Report Script aquellas filas cuyos datos son todos ceros o #missings.

Sintaxis:

  • {SUPEMPTYROWS}

El efecto de este comando se puede anular más adelante en el Report Script con el comando {INCEMPTYROWS}

  • Este comando incluye filas con todos sus datos ceros o #missings, anulando el efecto de los comandos {SUPEMPTYROWS} / {SUPMISSINGROWS} / {SUPZEROROWS}.

Su sintaxis es:

  • {INCEMPTYROWS}

4.- SUPOUTPUT

Este comando permite suprimir parte de los datos de una salida.

Por ejemplo: incluimos en la definición de fila la dimensión “Mercados” y seleccionamos los siguientes miembros:

  • <ROW(Mercados)
  • España
  • Alemania
  • Italia
  • Francia

Si incluyo este comando, por ejemplo:

  • España
  • Alemania
  • {SUPOUTPUT}
  • Italia
  • Francia

En el Report Script tan sólo figurarán los datos relativos a España y Alemania.

  • Este comando se desactiva con el comando {OUTPUT}

Por ejemplo:

  • España
  • Alemania
  • {SUPOUTPUT}
  • Italia
  • {OUTPUT}
  • Francia

El Report Script mostrará datos de España, Alemania y Francia.

5.- SUPALL

Este comando suprime:

  • Las cabeceras de página.
  • Las cabeceras de columna.
  • Los nombres de los miembros.
  • La inserción de páginas.
  • Comas.
  • Paréntesis.

El Report Script muestra únicamente los datos y si se ha incluido algún texto con el comando {TEXT}.

Este comando equivale a utilizar los comandos:

  • SUPHEADING
  • SUPPAGEHEADING
  • SUPCOLHEADING
  • SUPNAMES
  • SUPBRACKETS
  • SUPFEED
  • SUPCOMMAS

Sintaxis:

  • {SUPALL}

Se sitúa en la parte superior del Report Script, antes de entrar en la definición de Página / Fila / Columna.

SI activamos este comando pero queremos que sí aparezca el nombre de los miembros utilizamos el comando {NAMESON}.

Anuncio publicitario