Skip to content

Cubes#

A cube is a cross table that summarizes the data of a workbook: the amount of each zone per year, the invoices of each payment method per quarter, the margin of each product family. In Empowerment Center it is the main analysis document. It is created with a wizard and, once calculated, it is reorganized instantly from the viewer: you move the dimensions, filter and sort their values, change the totals, calculate percentages and cumulative values, and drill down into the detail of any cell.

This chapter explains what a cube is, how it is created, how you work with it in the viewer and how it is saved and exported.

Before you start#

  • To open a cube you need the Access to Empowerment Center privilege and to be able to read the workbook that contains it.
  • To create a cube, change its definition or save its layout you need to be able to modify the workbook. If you can only read it, you can reorganize the cube as you like while you look at it, export it and save what you see as a bookmark (see Bookmarks), but not save it in the workbook (see Workbook properties and privileges).
  • What the cube can show depends on the metadata of the connection: the wizard only offers you the metrics and dimensions that you can see.

Workbooks, segmentations and documents are explained in Workbooks.

The parts of a cube#

The cube “Importe por zona y año” with the zones in rows, the years in columns, the sales channel in pages and three metricsThe cube “Importe por zona y año” with the zones in rows, the years in columns, the sales channel in pages and three metrics
The cube “Importe por zona y año” with the zones in rows, the years in columns, the sales channel in pages and three metrics
Part What it is Example
Metrics What is measured: the figures in the cells. A cube has at least one. Importe total, Número de facturas
Dimensions The concepts by which the metrics are broken down. Each value of a dimension is a row or column header. Zona, Año, Canal de venta
Rows The dimensions whose values are shown on the left, one column of headers per dimension. Zona: Norte, Sur, Este…
Columns The dimensions whose values are shown at the top, one row of headers per dimension. Under each value there is one column per metric. Año: 2025, 2026
Pages The dimensions that are not shown in the table but filter what it shows: choose a value and the cube shows only its figures; without choosing, it adds them all up. Canal de venta: Tienda, Web
Totals and subtotals The lines and columns that summarize the values of a dimension. Total of each zone, grand total

With several dimensions in rows (or in columns), the first one groups the next: with “Zona” and “Provincia” in rows, each zone unfolds into its provinces, with the subtotal of the zone underneath.

Note

A dimension organized in levels (zone, province, municipality) is called a hierarchy. In the cube, each level is a dimension that can be put in rows, columns or pages separately. With several dimensions on an axis, the group of each value can be collapsed to see only its total, and expanded to see its detail again.

How a cube is calculated#

A cube saves how the data is analyzed, not the data. Each time it is opened, ECenter calculates it on the server with the data of that moment:

How a cube is calculated When processing, a single query reads the database filtered by the segmentation and the universes and fills the cube in memory; the layout decides how the view looks, which is rebuilt at once, and only another metric, dimension or date level goes back to the query. IN THE DATABASE ON THE SERVER AND IN THE VIEWER filters reads when processing rebuilt at once decides how it looks another metric, dimension or date level: recalculates Segmentation and universes the workbook branch's conditions and the rows the user can see Database Query just one, grouped by all the dimensions of the cube Cube in memory on the server View the viewer table, requested in parts as you scroll Layout rows, columns, pages, filters, sorting, totals, visualizations Moving, filtering, sorting, collapsing, totals and percentages do not go back to the database.
How a cube is calculated When processing, a single query reads the database filtered by the segmentation and the universes and fills the cube in memory; the layout decides how the view looks, which is rebuilt at once, and only another metric, dimension or date level goes back to the query. IN THE DATABASE ON THE SERVER AND IN THE VIEWER filters reads when processing rebuilt at once decides how it looks another metric, dimension or date level: recalculates Segmentation and universes the workbook branch's conditions and the rows the user can see Database Query just one, grouped by all the dimensions of the cube Cube in memory on the server View the viewer table, requested in parts as you scroll Layout rows, columns, pages, filters, sorting, totals, visualizations Moving, filtering, sorting, collapsing, totals and percentages do not go back to the database.
How a cube is calculated View full size View full size
  1. The segmentation of the branch of the workbook where the cube is decides which records come in, together with your universes (the rows you can see).
  2. A query to the database brings those records grouped by all the dimensions of the cube, with their metrics already summarized.
  3. The in-memory cube keeps that result on the server.
  4. The view is the table you see: it is built from the in-memory cube with the current layout (which dimensions go in rows, columns and pages, the filters, the order, the totals and how each metric is shown).

That is why almost everything you do in the viewer is immediate: moving a dimension, filtering, sorting, collapsing or changing a percentage does not go back to the database, it only rebuilds the view. What changes the query (another metric, another dimension, another date level or a new grouping) does recalculate the cube.

Since the calculation applies your privileges and your universes, two people who open the same cube can see different figures. How a document is processed, how it is canceled and how Keep data works is explained in Processing and keeping data.

Cube and listing#

The cube wizard has a Listing mode: instead of summarizing, it shows the records one by one, without metrics or rows and columns to move. Listings have their own chapter: Listings.

In this chapter#

Page What it explains
Creating a cube The wizard: choosing metrics and dimensions, distributing them in rows, columns and pages, metric groups and the initial display
The cube viewer The header, the field zones, the table, the keyboard, copying cells and the document information
Organizing the table Moving dimensions, pages, totals and subtotals, expanding and collapsing, codes, date levels and grouping values
Sorting and filtering Sorting by description, code or metric, rankings, choosing values, top and bottom N, date filters and sorting filters
Metrics and calculations Percentages, cumulative values, cumulative %, moving average, total types and increments, and calculated metrics
Format, indicators and groups The name, the number format and the width of a metric, the graphic indicators and the metric groups
Drilling down into the detail The detail cube of a cell, the detail charts and the alerts on a value
Saving, exporting and viewing the SQL Saving the layout, processing, keeping data, exporting to Excel, PDF, text and HTML, and Show SQL
Data you cannot see and problems Security warnings, read-only cubes, large cubes and frequent messages

See also#