Create a dimension in Business Context
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.
They are built differently, so this article covers each kind in turn:
| Kind | What it gives you | Availability |
|---|---|---|
| Field dimension | One column, exposed as something people can group by | Always |
| Drill-through | A path to step down, such as Region › Nation › Customer | Always |
| Bucket | Bands from a number, such as price brackets | Always |
| Custom groups | Your own groups of a field’s values, by rule | Always |
| Sets | Values built from stored set filters | With Business Questions |
| Time intelligence axis | Periods for period-over-period measures | With Business Questions |
Before you start: open a semantic layer and go to Business Context → Dimensions.

Every kind starts the same way — select Add and pick one. The menu lists the kinds available to you; a kind whose feature is not enabled for your tenant does not appear, so a menu with four entries is not a broken one.
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
Section titled “Create a field dimension”
Dimensions sit in the Business Context group beside measures, and a new layer has none of them. Add starts the first one.

Choose Field dimension. Every kind of dimension carries a name and a line saying what it is for, so you choose the shape before you name anything.

A field dimension opens empty, because it is a named item over a field rather than the field itself. Add a Description if it needs one, then bind a field with Select a field.

The picker groups every field by the table it comes from, each with its data type, and has a search box for a wide model; pick segment under Customers.

Binding a field fills the name box with the column's name and brings Create to life; type the name the business uses over it before you select Create.

After you select Create, Customer segment sits in the Dimensions list, ready to break any measure down by, with the column it reads named under it.
The straightforward one: a column from your model, exposed as something people can group by. You can also start from a field you have already added in the editor’s Data Explorer; see Turn a field into a measure or dimension.

Before you select Create, choose a Format if the values need one — dates and numbers usually do. It appears as a chip you can remove again.

There is a shortcut when you are already looking at the field. Open Field actions on the field (or right-click it) on the Map View canvas, or its ⋮ menu in the Tables & Fields panel of the editor’s Data Explorer tab, and select Add dimension. That creates a field dimension straight away, named after the field, and opens it so you can add a format or rename it. To group by a value computed from a column, such as a month name or a flag, first add a custom field to the table. The Data Explorer you open from Analytics is view only and has no such menu. If a dimension of that name exists, the new one gets a numbered name. See What a table’s menu offers.
Create a drill-through
Section titled “Create a drill-through”
In the Dimensions tab, select Add, then Drill-through: it is a path rather than a single grouping, so someone can start at the broadest level and step down into the detail beneath it.

Name it for the journey rather than for any one of its levels — Customer hierarchy, not Segment. The list below stays empty until you add the first one.

The menu lists the columns of your model, grouped by table, with a box to search them. Pick the broadest level first: segment, the group a customer belongs to.

Keep adding levels in the order people will travel through them, broadest to narrowest. The order is the dimension: segment above customer_id steps from a group of customers down to one of them.

After you select Create, Customer hierarchy sits in the Dimensions list. In a workbook built in the classic Workbook Editor, viewers choose the active level from the chart or from the column header.
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.
Name it for the journey rather than any one level — Product hierarchy rather than Category — and add the levels in the order people will travel through them. The order matters: it is the dimension, from broadest to narrowest.
In a workbook built in the classic Workbook Editor, viewers pick the active level from a menu: on a chart they select the dimension’s title, such as the axis title, and in a table the drill-through icon in the column header. To change the level from your own controls, use the drill-through actions.
Create a bucket
Section titled “Create a bucket”
In the Dimensions tab, select Add, then Bucket: it cuts one numeric column into even bands, where custom groups would put its values into groups you name yourself.

Name it and add a Description if it needs one, then open Source field to choose the number the bands are cut from.

The list offers only numeric columns, because bands can be cut from nothing else. Choose amount, the value each order was worth.

Choose a Format for the band labels. Every option shows what it makes of a real value, so you can read the result before choosing; No format leaves the raw number.

Set the Distribution: the range the bands span and how many to cut it into. Leave Include out-of-range buckets clear and a value outside the range reads as null; tick it and extra bands hold those values.

After you select Create, Order size sits in the Dimensions list, saved into the local draft, with the column its bands are cut from named under it.
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.
The Source field list offers only numeric columns, because bands can be cut from nothing else. Format decides how the band labels read, and each option shows 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.

Distribution is where the bands are cut: the Min value and Max value they should span, how many Buckets to cut that range into — at least 1, five by default — and whether to Include out-of-range buckets. Leave that checkbox clear and a value outside Min value and Max value reads as null; tick it and the distribution gains buckets outside that range to hold those values.
On a semantic layer connected to Astrato, you rarely need to type the range. When you pick or change the Source field, Astrato reads the field’s lowest and highest values from your data and fills in Min value and Max value, replacing any values already there, rounded out to whole numbers, with Max value just above the highest value so that it still falls in a band. If the range cannot be read, the panel says so and you enter the two values yourself. A layer held in the browser rather than in Astrato leaves the range for you to enter.
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.

Create custom groups
Section titled “Create custom groups”
In the Dimensions tab, select Add, then Custom groups: it puts a field's values into groups you define yourself rather than the even bands a bucket cuts.

Name it and add a Description if it needs one, then choose the base field: every rule reads it, so the editor below stays greyed out until you do. Select field opens the columns these groups can classify.

Choosing the base field opens the first group row. Name the group Open and set its condition beneath: Contains pending, read against status. For a condition those boxes cannot express, turn on Advanced. Add Group starts the next rule.

Rules are read from the top down and the first match wins, so a row reading pending_payment would be counted as Open. Move the narrower rule above it with the up arrow, or drag it by its handle.

Set Everything else for rows no rule matched. It arrives as the group name Other, which you can rename; the list beside it can return null instead, or leave those rows out of the dimension.

After you select Create, Order state sits in the Dimensions list, saved into the local draft, with the column its rules read named under it.
A bucket cuts a number into even bands. Custom groups do the job a bucket cannot: they put the values of a field into groups you define yourself, by rule — sites into regions, status codes into “Open” and “Closed”, countries into sales territories. The result behaves like any other dimension, so every question can break down by the same groups.
Only a plain, existing column qualifies as the Base field. Calculated columns are not offered, and neither are dimensions carrying a date level or date part, because the group stores the column underneath and that transformation would be silently dropped. Buckets, drill-throughs and other custom groups cannot be a base field either. By default the picker lists table fields; Settings → Custom groups can make it offer dimensions as well, as described below.
Once the base field is chosen, set Returns — the data type every group value and the fallback must be. A group whose value is not that type blocks publishing, so choose it before naming many groups.
Rules that already say more than the simple condition boxes can show open in Advanced with the
control locked on. Rules read only the base field’s own table. The generated column belongs to
that table, so the pickers offer its fields and nothing else. In a rule, Like and Not like
use the SQL wildcards % and _, not the * and ? of other filters; see
Custom group rules use SQL wildcards.
Order decides the answer. The rules are evaluated top to bottom and the first match wins, so a row that satisfies two rules is counted only under the higher one. Put your most specific rules above your general ones. Reorder with the up and down arrows on each row, or drag a row by its handle.
Check your groups before you commit. Use Show distribution to count the rows in each group without publishing anything. It shows each rule only the rows no rule above it took, so it is also how you catch a rule that a broader one above has swallowed. The button needs a complete, named group and a live data connection.
Changing the base field later keeps your work: a simple rule follows the new field and its values
are retyped for it, so "100" on a text field becomes 100 on a numeric one. A rule built in the
advanced editor keeps exactly what it says, and is marked unreachable where it reads a field the
new base field’s table does not have.
Publishing is blocked until the dimension has a base field, at least one group, and group values matching Returns. Semantic layer issues lists what is outstanding.
Choose the options for custom groups
Section titled “Choose the options for custom groups”In Settings → Custom groups, 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.
Custom-group rules preserve physical column names, including case, spaces and punctuation. References use your data source’s identifier escaping.
Create a sets dimension
Section titled “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 → Filters.

Use a sets dimension like any dimension in the Data Explorer and in business questions. It is available where Business Questions is enabled, with these limits:
- It is not available in workbooks.
- Answers currently show each value as an identifier made from its label, for example
Repeat_buyersfor “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.
Create a time intelligence axis
Section titled “Create a time intelligence axis”A time intelligence axis is the period an answer is laid out along, so that a measure can compare each period against the one before it. It appears in the Add menu as Time intelligence axis when Business Questions are enabled for your tenant; if you do not see it, ask your Astrato contact whether it is available to you.
Select Add → Time intelligence axis, name it, then choose its Date sources. Under Period and grouping, Type decides what follows: Predefined period shows the Period it covers, Relative date shows a Unit and an Offset, and Relative date range shows a Unit with a From offset and a To offset. Period as of appears where the chosen period has more than one end. Group by is the level the period is split into, and every axis has one.

Period axes and comparisons is the full reference for what each setting means, which comparisons a period axis supports, and how to query one.
After you create a dimension
Section titled “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.

The toolbar above works like the one on Measures: search by name, filter by type, and switch the view picker to 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. In the panel, Display label is the first row under the name, with the Use display label switch.
The panel is titled with the dimension’s kind, as the Add menu names it: Field dimension, Drill-through dimension, Bucket dimension, Custom groups dimension, Time intelligence axis or Sets dimension. When you change a dimension’s name, the panel says Renamed from the old name until you click Update, and while any change waits for Update the title and the row carry a small dot.
A time intelligence axis keeps its settings in two sections: Date sources, then Period and grouping, which reads in order the type of period, the period itself, the date it is read as of, and the level it is grouped by. A source has a remove button beside it only when the axis has more than one.
![]()
The ⋮ menu on each row offers the same actions as a measure, including Show on map:

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.

Filter by a dimension in Data Explorer
Section titled “Filter by a dimension in Data Explorer”Once published, a dimension is also a filter subject in Data Explorer. Open Filter, select 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
Section titled “Save your new dimension”Nothing is created until you select Create, and Cancel backs out cleanly.
A new dimension goes into the draft. 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.