Skip to main content

Create a dimension in Business Context

Create the dimensions people break your numbers down by, from a single field, a set of buckets, or a drill-through path.

A dimension is what you break a number down by — product, region, month, price band. Measures give you the figures; dimensions give you the ways of slicing them.

There are three kinds, and they're built differently, so this article covers each in turn.

Before you start: open a semantic layer and go to Business Context → Dimensions.

The Dimensions tab before any dimensions exist

Every kind starts the same way — click Create and pick one.

The Create menu offering Field dimension, Drill-through and Bucket

Tip: before building from scratch, try Suggestions — Astrato reads your model and proposes dimensions from the columns already there. See Get suggestions from your data.

Create a field dimension

The straightforward one: a column from your model, exposed as something people can group by.

Step 1: Choose Create → Field dimension.

Step 2: Give it a Name — this is what people will see, so use the business word rather than the column name.

Step 3: Add a Description if it needs one.

The New Dimension panel with Name, Description and Field binding

Step 4: Under Field binding, choose the column it comes from. The list is grouped by table, with a search box for larger models, and each entry shows its data type.

The field picker open, grouped by table with a search box

Step 5: Choose a Format if the values need one — dates and numbers usually do. It appears as a chip you can remove again.

A completed field dimension named Order Date, bound to a field, with a number format applied

Step 6: Click Create.

Create a drill-through

A drill-through is a path — a set of dimensions in order, so someone can start at the top level and step down into detail. Region to country to city, say, or category to subcategory to product.

Step 1: Choose Create → Drill-through.

Step 2: Name it for the journey rather than any one level — Product hierarchy rather than Category.

The drill-through panel with an empty Dimensions list and an Add button

Step 3: Click Add and pick the first level.

The Add menu listing fields to include as levels

Step 4: Keep adding levels. The order matters — it's the order people will travel through, from broadest to narrowest.

Step 5: Click Create.

Create a bucket

A bucket groups a continuous number into bands: age groups, price brackets, order-size tiers. It turns a column of numbers into a handful of readable categories.

Step 1: Choose Create → Bucket.

Step 2: Name it and describe it.

The bucket panel with Source field, Format and Distribution settings

Step 3: Pick the Source field — the number you want banded.

Choosing the source field for a bucket

Step 4: Choose a Format for how the band labels appear. Each option shows you a live example, so you can see the result before choosing. No format uses the raw value, and Custom format is there if none of the presets fit.

The format picker showing recommended and all formats with live examples
The custom format option

Step 5: Set the Distribution — the Min value and Max value the bands should span.

Check your bands before you commit. Use Show distribution to see how many rows land in each band. If nearly everything piles into the first bar, your ranges don't match your data and the dimension won't tell anyone much.

The distribution chart showing row counts for each band

Step 6: Click Create.

Choose the options for custom groups

In Settings → Grouped dimensions, choose what the Base field picker offers:

  • Leave Show dimensions as options off to choose from table fields.

  • Turn it on to list eligible dimensions before the table fields.

  • Also turn on Show only dimensions to hide the table fields. This option is available only while Show dimensions as options is on.

Both options are off by default and are saved for the semantic layer. Turning the first option off also clears the second.

Only dimensions backed by a single existing, non-calculated field without a date transformation are offered. Buckets, drill-throughs and other custom groups cannot be used as the base field.

Choosing a dimension stores its underlying table field. The closed picker shows that table and field, so two dimensions backed by the same field produce the same selection. Renaming or deleting the dimension you chose does not change the group's field binding. These settings control the picker options; they do not restrict document editing or agent authoring.

Create a sets dimension

A sets dimension groups an answer by stored set filters: each value is one set, such as "High spend" or "Repeat buyers", and a member of several sets appears under each. In Dimensions, select Add → Sets, then choose the set filters under Add and, optionally, a label for each. Set filters must be created first, in Business Context → Set Filters.

Use a sets dimension like any dimension in the Data Explorer and in Business Questions. It is available where Business Questions are, with these limits:

  • It is not available in workbooks.

  • Answers currently show each value as an identifier made from its label, for example Repeat_buyers for "Repeat buyers".

  • You cannot filter on it; filter with one of its set filters instead.

Deleting a set filter removes it from the sets dimensions that use it; a sets dimension left with no sets is deleted.

After you create a dimension

Your dimension appears in the list with its source underneath — here 1 Sales › Orderdatekey — along with when it was last changed and by whom.

A created dimension in the list showing its name, source field, last updated and updated by

The toolbar above works like the one on Measures: search by name, filter by type, and Group by type when the list grows.

If a dimension has a display label, the list shows the label in place of its name. Search matches both, and hovering the row shows the label with the name beside it.

The dimensions toolbar with search, type filter, Suggestions and Create

The ⋮ menu on each row offers the same four actions as a measure:

The row menu offering Edit, Delete, Duplicate and Show in lineage

Show in lineage is the useful one. It opens the graph with your dimension highlighted and everything unrelated faded out, so you can see at a glance which table and field it rests on. Clear returns the graph to normal.

The lineage graph with a dimension highlighted and unrelated nodes faded

Filter by a dimension in Data Explorer

Once published, a dimension is also a filter subject in Data Explorer. Open Filter, click Add filter, and the field picker lists your dimensions first, under Dimensions, ahead of the table columns.

Pick one and the value list fills from the dimension itself: a field dimension lists the values of the column it reads, and a bucket or grouped dimension lists the bands or groups it computes, so what you pick is what the filter matches. A drill-through spans several columns and has no single value list, so its value is typed instead.

Save your new dimension

Nothing is created until you click Create, and Cancel backs out cleanly.

A new dimension goes into your working copy. It doesn't reach anyone else's workbooks until you publish, and it's undoable through version history — see How versioning works in the semantic layer.

Tip: name a version before adding several dimensions at once. It gives you one clean point to return to if the set isn't what you wanted.

Did this answer your question?