Skip to content

Creating a cube#

A cube is created with its wizard, inside a segmentation of a workbook: you choose the metrics you want to measure and the dimensions by which you want to break them down, and you distribute them in rows, columns and pages. The same wizard is used later to change what an existing cube contains.

Before you start#

  • You need to be able to modify the workbook. In a read-only workbook, first do Save as… to have your own copy (see Workbook properties and privileges).
  • Think about which segmentation of the workbook the cube goes in: the cube is calculated with its conditions.
  • Be clear about what you want to see. A good starting point is a question: “How much have we invoiced in each zone each year?” translates into the metric “Importe total”, the dimension “Zona” in rows and the dimension “Año” in columns.

Open the wizard#

  1. Open the workbook.
  2. In the outline, open the menu of the segmentation and choose New document › Cube…. You can also click New document on the card of the segmentation, in the workbook summary (see Workbook segmentations and documents).
  3. The New cube dialog opens, with a proposed name (“Cubo 1”, “Cubo 2”…).
The New cube wizard with the metric Importe total, Zona in rows, Año in columns and Canal de venta in pagesThe New cube wizard with the metric Importe total, Zona in rows, Año in columns and Canal de venta in pages
The New cube wizard with the metric Importe total, Zona in rows, Año in columns and Canal de venta in pages

The parts of the wizard#

Part What it contains
Top Name (up to 100 characters), Listing mode and Keep data.
Left The tree of metrics and dimensions of the connection, with the Search metric or dimension… search box. Below, the buttons to add what is chosen and the description of what is chosen, if it has one.
Right The zones of what the cube contains: Metrics, Rows, Columns and Pages. Each chosen metric or dimension is a pill with its menu.
Footer What is missing to be able to create the cube, and the Cancel and Create cube buttons.

The tree of metrics and dimensions#

The tree shows the folders prepared by the metadata designer, with the metrics (sum icon) and the dimensions. The levels of a hierarchy are nested under their upper level, and groupings hang from the dimension they group.

  • When you hover over an element, the tooltip says what it is and from which table (“Metric of Facturas”), with its business description if it has one.
  • What is already in the cube has a check mark.
  • What cannot be combined with what is already chosen is dimmed and cannot be added. The tooltip explains why: “It cannot be combined with the chosen metrics (it belongs to …)”.
  • Type in the search box to see only what contains that text, with its folders expanded.

Only the metrics and dimensions that you can see appear.

What can be combined

The first metric you choose decides the data table of the cube. From that moment on, the tree only lets you add the metrics and dimensions that can be joined with that table. If you remove metrics and the table changes, Empowerment Center also removes the dimensions that no longer fit and says so under the zones (“Provincia is removed: it cannot be combined with the remaining metrics”).

Create the cube step by step#

  1. Type the Name of the cube, or leave the proposed one.
  2. Add the metrics. Choose one in the tree and do one of these things:

    • double-click it, or press Enter;
    • click Add metric;
    • drag it to the Metrics zone.

    You can add the same metric more than once, for example to see it as a value and as a percentage (see Initial display of a metric).

  3. Add the dimensions. Choose one in the tree and:

    • click To rows, To columns or To pages;
    • or drag it to the zone you want, in the position you want;
    • or double-click it or press Enter, which puts it in rows.
  4. Order the dimensions within each zone and between zones by dragging the pills, or with their menu (see The dimension pills).
  5. Decide whether to check Keep data (see Options).
  6. Click Create cube.

ECenter saves the document at the end of the segmentation, opens it and calculates it. While it is being calculated you will see Queued… or Calculating… with the Cancel button; when it finishes, the cube viewer (see The cube viewer).

The Create cube button stays disabled while something is missing, and the footer says what: “Type the document name”, “Choose at least one metric” or “Choose at least one dimension”.

When you add a level of a hierarchy#

If you add a level of a hierarchy and its upper levels are not yet in the cube, the wizard puts them in front of it in the same zone. For example, when you put “Provincia” in rows, “Zona” comes in too, in front. If you do not want the upper level, remove it afterwards with its menu.

When you add a grouping#

A grouping is added like any dimension. If its dimension is already in the same zone, the grouping is placed in front of it, so that the cube shows the total of each bucket and, underneath, its values. A double-click on a grouping takes it to the zone of its dimension, if its dimension is in the cube, and if not, to rows. Groupings are explained in Groupings.

What the wizard says when you drag#

Under the zones, a line says what has happened (“Zona” in Rows.) or why something could not be dropped:

  • “Drag a metric or a dimension: folders are not added.”
  • ““Metrics” only accepts metrics: take the dimensions to another zone.”
  • ““Rows” accepts dimensions: metrics go in “Metrics”.” (or whichever zone it is)
  • ““…” cannot be combined with the chosen metrics.”

The metric pills#

Each metric in the Metrics zone has a menu (the arrow of the pill, the right mouse button or Shift+F10):

Option What it does
Display How the metric is shown when the cube opens: value, percentage, cumulative, moving average… See below.
Group Puts the metric in a metric group. See Metric groups.
Move earlier (Alt+↑) and Move later (Alt+↓) Changes the order of the metrics. You can also drag them.
Remove (Del) Removes the metric from the cube.

Initial display of a metric#

In Display choose how the metric is shown: Value, % of total, % of row, % of column, % of group, % of group total, Vertical cumulative, Horizontal cumulative, Vertical cumulative %, Horizontal cumulative %, Vertical moving average or Horizontal moving average.

  • The ones calculated over a group open a submenu to choose the group dimension, among those already in rows or columns (“The whole column”, “Cumulative over Zona”…). If there are no dimensions in rows or columns yet, the submenu says so: “There are no dimensions in rows or columns”.
  • The moving average asks how many lines it averages, in the Moving average dialog (“The average of how many lines, including its own: the first ones of each group are left empty.”).

The pill shows the display next to the name, for example “Importe total (% of total)”. What each display means is explained in Metrics and calculations. The display can be changed later from the viewer.

Metric groups#

A metric group is a header painted over the names of several consecutive metrics, for example “Facturación” over “Base imponible”, “IVA” and “IVA sobre base (%)”. It does not change any calculation: it only organizes the header.

  1. Open the menu of the metric and choose Group › New group….
  2. The metric goes into a new group, “Group 1”, and its name is ready to be typed in the zone itself. Type the name and press Enter (Esc keeps the one it had).
  3. To put other metrics in the same group, choose Group in their menu and the name of the group.

In addition:

  • Group › New subgroup… creates a group inside the group of the metric. Up to five levels are allowed.
  • Group › No group takes the metric out of its group.
  • In the header of the group, in the zone, the pencil changes its name and the ✕ removes it (its metrics are left without a group).

The dimension pills#

Each dimension in Rows, Columns or Pages has its menu:

Option What it does
Move to Moves it to another zone.
Move earlier (Alt+←) and Move later (Alt+→) Moves it one position within its zone.
Remove (Del) Removes it from the cube.

The order matters: in rows and in columns, the first dimension groups the next one.

Options#

Option What it does
Listing mode Turns the document into a listing: the records one by one, without metrics. The dimensions go to a single zone, Listing columns, and the button becomes Create listing. See Listings.
Keep data When the document is processed, the data of its last calculation is served without going back to the database. It starts checked. Uncheck it if you want the cube to always show the data of that moment. See Processing and keeping data.

Tip

A new cube starts with totals only on the first row dimension and on the first column dimension: the grand total of each axis. The subtotals of the other dimensions are turned on later in the viewer (see Organizing the table).

Create or edit groupings from the wizard#

If you have Workbook administration, the right-click menu of a dimension of the tree offers New grouping… and, on a grouping, Edit grouping…. The groupings dialog opens without closing the wizard; when you save, the grouping appears in the tree, chosen and ready to be added. See Grouping from documents and the segmentation.

Change an existing cube#

To change the metrics or the dimensions of a cube there are two ways, with different results:

From How What happens when you accept
The workbook outline ⋯ › Wizard… of the document The document is saved with the new definition and calculated again.
The cube viewer The Wizard… button of the header The cube is recalculated with the new definition, but the document does not change until you click Save layout. This way you can try things without touching what is saved.

In both cases the wizard opens with the title “Wizard of “…””, with what the cube has, and its main button is Apply. From the viewer you cannot change the name (do it in the outline, with Rename…) or turn the cube into a listing: if you check Listing mode there, the viewer warns you (“A cube is not converted into a listing here: change it with "Wizard…" in the workbook outline”).

When you apply, ECenter keeps everything in the layout that still makes sense: the filters, the order and the totals of the dimensions that remain, the name, the format and the display of the metrics that remain, their groups, their calculated metrics and the detail charts that only use what remains in the cube. What is lost is reported in the header of the viewer.

If, when the wizard opens, the cube uses a metric or a dimension that no longer exists or that you do not have access to, the wizard removes it and says so: “The metric … is removed: it no longer exists or you do not have access to it”.

Note

If the cube uses data you cannot see, the wizard warns you at the top: “This document uses data you do not have access to: you can try the result, but not save it.”. See Data you cannot see and problems.

See also#