Skip to content

Format, indicators and groups#

Besides what it calculates, each metric of the cube has a presentation that you can adjust in the viewer: its name, how its numbers are written, the width of its columns, a graphic indicator in its cells and a header shared with other metrics. None of this changes the figures or goes back to the database.

Before you start#

  • Being able to open the cube is enough. For the changes to stay in the document, click Save layout (see Saving, exporting and viewing the SQL).
  • The options are in the metric menu (its pill in the Metrics zone, or right-click its name in the table) and in its Properties… panel. See Metrics and calculations.

Name, format and width#

In Properties… › General (or with Rename…, Format… and Width…):

Field What it does
Name The name of the column in this cube. If empty, the one in the metadata.
Format The number mask. If empty, the one in the metadata.
Text for empty cells What is shown in the cells of the column that have no value, such as “—” or “n/a”, up to 30 characters. If empty, the cell is left empty.
Width (pixels) A fixed width, of 30 pixels or more. Automatic goes back to the width according to the texts.

The changes are applied when you leave the field or press Enter.

The text for empty cells belongs to the column: if the same metric is there twice, each column has its own. It only changes what is shown: the cell still has no value for the calculations, and a 0 percentage, which the cube shows empty, does not carry it. When exporting, it goes in the CSV, the HTML, the PDF and the delimited text; in Excel the cell is left empty (it is a number), and in the fixed-width text the 0 goes with its format.

Number format#

The format is a mask like those of Empowerment Center 7:

Character Meaning
0 A digit that is always written (with a zero if there is none).
# A digit that is only written if needed.
, The decimal comma: as many decimal digits as 0 or # follow it.
. Between the integer digits, turns on the thousands separator.
Other text It is written as is, before or after the number. In quotes, if it contains mask characters.

You can give up to three formats separated by ;: the one for positives, the one for negatives (without the sign) and the one for zero.

Mask 1234,5 is shown as
#.##0,00 1.234,50
#.##0 1.235
0,0 % 1234,5 %
#.##0,00 € 1.234,50 €
#.##0;(#.##0);- 1.235, and a negative as (1.235) and zero as -

Indicators#

An indicator paints each cell of the metric so that you can see at a glance what is going well and what is not.

  1. Choose Indicator… in the metric menu (or Add indicator… in Properties… › Display).
  2. In Indicator of …, choose the Type:

    Type How it looks
    None (number) The number, without an indicator.
    Bar A bar proportional to the value between the Minimum and the Maximum, in the Color you choose.
    Traffic light A dot that goes from red (at the Minimum) to green (at the Maximum), through amber.
    Status arrow A green ▲ if the value is positive, a red ▼ if it is negative and ▬ if it is zero.
    Ranges A background color, and a text if you want, for each range of values.
  3. In bar, traffic light and arrow, check Also show the value to see the number next to the indicator.

  4. In Ranges, click Add range and fill in From, To, Color and, if you want, Text (empty: the value). An empty limit is open. Each value takes the first range that contains it, limits included; outside all of them, the number is shown.
  5. Click OK.

Remove indicator, in the same dialog (or Remove in Properties… › Display), removes it. If something is missing, the dialog says so: “Enter the minimum and the maximum”, “The minimum must be less than the maximum”, “Add at least one range” or “A range needs from ≤ to”.

The indicators are shown in the viewer and in the portal; when exporting, the numbers go.

The “Ticket medio por forma de pago” cube with the Ticket column painted with barsThe “Ticket medio por forma de pago” cube with the Ticket column painted with bars
The “Ticket medio por forma de pago” cube with the Ticket column painted with bars

Metric groups#

A metric group is a shared header over several consecutive metrics (“Facturación” over the base, the VAT and the percentage). It is painted in a row of its own between the column headers and the metric names, and it does not change any calculation.

To Do this
Create a group with a metric Group › New group… in its menu. The properties panel opens in Metric group: type the name in New group and click Create (or Create inside, for a subgroup of the current group).
Put another metric in a group that already exists Group in its menu and the name of the group.
Take a metric out of its group Group › No group.
Rename a group Rename group… by right-clicking the group header, or Group name in the panel. It changes for all its columns.
Undo a group Ungroup by right-clicking its header. Its metrics are left without a group.

A group allows up to five levels, and each name up to 100 characters. Groups are also created in the wizard (see Creating a cube). The columns of a group have to be consecutive to share a header: if you move a metric far from the others, its group is painted again over it.

See also#