modellerUpdated 2026-10-01

Define Dimensions

Model Builder — Dimension creation form.

What this covers

A dimension is a named grouping attribute that maps a business-friendly label to a specific source column. Dimensions appear as columns in the virtual schema that BI tools query. This article explains dimension fields, the definition flow, naming conventions, and what happens when a dimension references a column that no longer exists.

Before you start

What a dimension is

A dimension maps a business name to a column in the model's source tables. For example, orders.status_cd might be exposed as a dimension named Order Status. BI tools see Order Status as a queryable column in the model's virtual schema.

Dimensions can come from any table in the model — fact tables, dimension tables, or any other joined table. Which table a dimension belongs to affects whether it can participate in aggregate routing (dimensions on tables included in the aggregate grain) or whether queries using it are served from raw source data.

Flat fields and large value lists

A dimension is one field. It is not a drill hierarchy. Excel groups these flat fields under Dimensions so they are easy to find.

Prefer fields with a useful, short list of values for everyday grouping. Status, country, channel, and product category are good examples. A transaction ID, payment reference, or exact timestamp may have a different value on almost every row. Keep such a field only when people need to find or filter exact records.

Tessallite does not load every field's values when Excel first reads the field list. It asks for the distinct values of one field after that field is selected, filtered, or expanded. This keeps large identifier lists from slowing the first connection.

Dimension fields

FieldRequiredDescription
NameYesUnique identifier for this dimension in the model schema. Business-friendly, title case.
Source tableYesThe table in the model containing the column.
Source columnYesThe column in the source table. This column provides the key value (the unique identifier for each member).
Display nameNoAlternate label for BI tools that support display names. Defaults to Name if blank.
DescriptionNoFree-text explanation shown in model metadata and some BI tool tooltips.
Default sort orderNoASC or DESC. Controls default sort when an analyst orders by this dimension.

Steps

  1. Open the Model Builder for the project.
  2. Select a table in the Canvas, or click Add Dimension in the Toolbelt. The Drawer opens with the dimension form.
  3. If you used the Toolbelt button, select the Source table from the dropdown first.
  4. Select the Source column from the list.
  5. Enter a Name using business terminology — for example, Sale Date rather than sale_dt.
  6. Optionally fill in Display name, Description, and Default sort order.
  7. Click Save. The dimension count in the Summary Bar increments by one.

Example dimensions

Dimension nameSource tableSource columnNotes
Sale Datedim_datedate_actualFrom a date dimension table. Can serve as an aggregate grouping key if included in the aggregate grain.
Product Categorydim_productcategory_nameFrom a dimension table. Enables pre-aggregation by category when included in an aggregate grain.
Order Statusordersstatus_cdFrom the fact table itself. Valid for filtering or grouping.
Customerdim_customercustomer_idUses customer_id as the key. For the customer name, add a Customer Name dimension on full_name, or a hierarchy level keyed on customer_id with full_name as its Display Attribute.

Showing a name beside a key

A dimension shows and groups by its own source column. To show a name beside a key as the member caption, define a hierarchy level keyed on the key column and set its Display Attribute (see Define Hierarchies), or add the name column as its own dimension. The former flat Display column field and the Attribute relationships section were removed on 2026-10-01; see Dimension Attribute Relationships.

Naming conventions

How dimensions appear to BI tools

When a model is published, each dimension appears as a column in the model's virtual schema. BI tools connecting over JDBC see the workspace slug as the database name, the model name as the schema name, and each dimension as a queryable column. Analysts can GROUP BY, filter on, or ORDER BY any dimension column.

If a dimension references a missing column

If the source column is renamed or dropped after the dimension is defined, the dimension becomes invalid. The Health tab shows an error identifying the affected dimension and missing column. The model cannot be published while errors are present. Edit the dimension to point to the correct column, or delete it if the column has been removed permanently.

Deleting a dimension

Delete a dimension with the delete button on its row in the Dimensions panel and confirm. Queries that name the dimension fail after the next deploy, so check reports that use it first.

When other objects depend on the dimension. Tessallite checks what else uses the dimension before it deletes it. If another object would stop working without it, the delete is refused and you change that object first. If the delete only changes or invalidates other objects (aggregates that hold it, or a hierarchy level built on the same column), a second dialog, Delete affects other objects, shows how many objects are changed or invalidated, how many are removed together with the dimension, and the number per object type. Choose Delete anyway to delete, or Cancel to keep everything as it is. The same question is asked when the delete comes from Undo or from reclassifying a column in the table editor. The Impact Analysis panel lists each affected object; open it first when the numbers are larger than you expect.

Related