Dimensions#
A dimension is what users choose to segment (“the 2026 invoices of the Shop channel”) and to group the results (the rows and columns of a cube, the series of a chart, the entities of a map). It comes from one or more columns of a fact table, and it can carry an SQL function, an auxiliary table with its descriptions and an upper level.
Before you start#
- You need Metadata administration.
- When a fact table is registered, one dimension per column is created. This page explains how to adjust them and how to create others.
The representation types#
The type decides how users choose its values when segmenting and which attributes it has:
| Type | How it is chosen when segmenting | Attributes |
|---|---|---|
| Text | From–to or individual values. | Length. For text columns without an auxiliary table, such as a customer's name. |
| Numeric | From–to or individual values. | Length and Decimals. For numeric columns without an auxiliary table, such as age. |
| Date | From–to or individual values, and dynamic or fixed dates. | No attributes. Dates are also grouped by year, semester, quarter, month or week in the documents. |
| Lookup list | Checkboxes with the values of the auxiliary table: for about 50 values at most. | List columns: with short descriptions, more columns show more values at once. |
| Double lookup list | One list of values and another of chosen ones: for auxiliary tables with more than 50 values. | No attributes. |
| Hierarchy | Checkboxes in a tree with its levels (Zone › Province › Municipality). | Upper level. See Hierarchies. |
The three lookup types need an auxiliary table. The dimension's panel has this same table in The representation types.
Register a dimension#
- In the Structure tree, open the menu of the fact table (or of its Dimensions section) and choose New dimension…. It is also in the table's panel, in Dimensions.
- If you request it from outside a table, choose the fact table and click Continue.
- Fill in the New dimension of “…” panel: the name, the type and the columns at least.
- Click Create dimension.
The dimension is created in its table's folder of the presentation tree, with the default access privilege. Its access privilege is changed once it is created.
A dimension that uses several columns, or a column that another dimension already uses, is a virtual dimension: the same column can give several dimensions, each with its function or its auxiliary table. In the demonstration, the invoice date gives “Fecha de factura” (invoice date), “Año” (year), “Trimestre” (quarter), “Mes” (month) and “Día de la semana (1 = lunes)” (day of the week, 1 = Monday).


General#
| Option | What it is |
|---|---|
| Name | The name users see. Up to 250 characters. |
| Business description | Optional. A paragraph that explains what it is, for whoever chooses it and for the agents that query through the query API or the MCP server. Up to 500 characters, without line breaks or control characters; Remove what is not allowed cleans them if they are pasted. |
| Representation type | One of the six types above. |
| Length and Decimals | Only in Text (length) and Numeric (both). Those of the catalog are proposed. |
| Use in segmentation | Whether it is offered in the segmentation editor. |
| Use in cube | Whether it is offered in the axes of cubes, charts and maps. Uncheck it for what makes no sense to group: addresses, emails, coordinates, remarks. |
| Edit privilege | Who can change its values in the forms, besides whoever can modify the whole table. By default, Update dimension (generic). With New privilege… one is created without leaving the panel. |
A dimension that is used neither in segmentation nor in cube still serves forms and listings. In the presentation tree it appears with the indication Only in cubes or Only in segmentations when it is only valid for one of the two.
Columns and function#
| Option | What it is |
|---|---|
| Table columns | The columns of the fact table that form the dimension, in order. Several columns make a dimension with a compound key or a hierarchy level; their order matters. They are sorted with Up and Down and removed with Remove. |
| Add column | Choose a column of the table to add it at the end. |
| Function | Optional. An SQL function of the engine on the columns: [@] is replaced by them. |
Examples of functions from the demonstration (PostgreSQL):
| Dimension | Column | Function |
|---|---|---|
| Año (year) | FECHA_FACTURA |
EXTRACT(YEAR FROM [@]) |
| Mes (month) | FECHA_FACTURA |
TO_CHAR([@], 'YYYY-MM') |
| Edad (age) | FECHA_NACIMIENTO |
EXTRACT(YEAR FROM AGE([@])) |
| Inicial del nombre (initial of the name) | NOMBRE |
UPPER(SUBSTR([@], 1, 1)) |
The function is written in the SQL of the connection's engine: the PostgreSQL one is not valid in SQL Server. Test asks the database for the plan of the dimension with its function, without saving or running it, and says whether it accepts it or the error.
Note
A dimension with a function cannot be edited in forms: its value is not that of a column.
Lookup#
The Lookup section appears in the Lookup list, Double lookup list and Hierarchy types. It links the dimension's columns with an auxiliary table:
| Option | What it is |
|---|---|
| Auxiliary table | The code table. New auxiliary table… registers another without leaving the panel. |
| Join with “…” | For each column of the dimension, its column of the auxiliary table, in the same order. They have to match in number and type. |
| Description column | The one users see instead of the code. The auxiliary table's is proposed. |
| Hierarchy columns | Those of the auxiliary table that form this level; without any, those of the join. See Hierarchies. |
| Order of the values | The columns of the auxiliary table by which the values are sorted, in the segmentation and in the results. |
| Filter on the fact table | Only in the Hierarchy type, and if the auxiliary table is also a fact table. See below. |
| List columns | Only in Lookup list: how many columns of checkboxes the segmentation editor shows. |
The join with the auxiliary table does not lose records: a code that has no description in the auxiliary table appears all the same in the results, with its code (in the demonstration, the OTR segment). If the dimension has a function, the auxiliary table is joined with the function's value.
Filter on the fact table#
When the auxiliary table of a Hierarchy dimension is also a fact table, Filter on the fact table makes the dimension be read from that fact table, and not from its own, provided the query's base table does not reach the dimension's table through its masters and there is a path of relationships to the auxiliary table. In Empowerment Center 7 it was called “Aplicar las consultas a la tabla lookup si es una Tabla de Hechos” (apply the queries to the lookup table if it is a fact table). In the other lookup types the checkbox does not appear, because it would not change the queries; if the dimension came with it checked (from EC7, or from before changing its type), it is kept unchanged when saving it.
It serves to avoid joining a table that would repeat rows. In the demonstration, “Comercial de la red” (network sales rep) is the sales rep of the invoices, with the auxiliary table VENDEDORES, which is also a fact table. A cube with the “Objetivo” (target) metric of the sales reps' targets and “Comercial de la red” on an axis reads the sales rep from VENDEDORES and does not join the invoices, which would repeat the target for each invoice.
It applies to the axes, the segmentation conditions, the dimension's groupings and the loading of lists. Changing the checkbox changes the queries of the documents that use the dimension, and the impact shows it before saving.
Access#
Access privilege says who sees the dimension. Whoever does not have it does not see it in the wizards or in the segmentation editor, and the documents that use it are shown to them without it. It is changed with Change…, in a separate dialog that first shows whom it affects and is saved without waiting for Save changes. See Privileges and universes.
Below the privilege warnings may appear, for example if a metric that uses the column is protected with another privilege.
Geographic information#
A dimension linked with a geographic layer can be represented on maps: its code is that of the layer's entity.
| Option | What it is |
|---|---|
| Geographic layer | The layer with which it is linked, or No layer. |
| Key columns | With several columns and without a function: the columns whose values, joined in this order, are the code of the entity. Without any, the last one. With a function, the key is the function's value. |
In the demonstration, “Provincia” (province) is linked with the “Provincias de España” layer by COD_PROVINCIA (without the zone), and “Municipio” (municipality) with “Municipios de la demo” by COD_PROVINCIA and COD_MUNICIPIO. Layers are uploaded in Administration › Geographic layers, where they are also linked. See Geographic layers.
Values, groupings and usage#
These sections are read-only and appear in an already saved dimension:
| Section | What it shows |
|---|---|
| Values | The values of the dimension in the database, with their Code, their Description if it has an auxiliary table and how many Records each one has. They are calculated with your universes: if any applies, it says so (“there may be more values you cannot see”). They are those of the saved dimension, without the unsaved changes. |
| Groupings | The groupings that distribute its values into buckets, with a link to each one. They are created and changed in Groupings, with Workbook administration and Access to Empowerment Center; if you have it, New grouping of “…”…. |
| Where it is used | The dimension's lineage, with Change access privilege… and Validate content…. |
| Technical information | Identifier, fact table and version of the table. |
Rename or delete a dimension#
- Rename… (F2 in the tree) only changes what users see: the documents keep using it.
- Delete… (Del) first shows what stops working, also the dimension's groupings, which are deleted with it. A dimension that is the upper level of another cannot be deleted: first remove that lower level or change its upper level. It is also removed from its folder of the presentation tree.
Frequent errors#
| Message | What to do |
|---|---|
| “Choose at least one column of the table.” | A dimension needs a column. |
| “The function must contain [@], where the columns go.” | Type [@] where the columns go in the function. |
| “Choose the auxiliary table: a lookup dimension needs one.” | Choose the auxiliary table or change the type to Text or Numeric. |
| “Some join column does not belong to “…”.” | The join columns have to belong to the chosen auxiliary table. |
| “With a function, the geographic key is its value: do not choose columns.” | Remove the columns of the geographic key. |