Hierarchies and Drill-down
A hierarchy is an ordered path through a dataset's attributes — Country, Region, City, or Airline, Cabin Class — that lets anyone looking at a chart or table go from one level to the next with a click. You declare it once on the dataset in the Models tab; Explore and dashboards then offer Drill down to … on every value of a segment that is a level of it.
Declare a hierarchy
- Open the dataset on the Models tab and click Add hierarchy under the dataset's fields.
- Type a Name for it — this is what the drill path is called above a drilled chart.
- Pick each level in Add level…, coarsest first. The list offers every Id, Attribute, Set of Attributes and Reference property of the model, so a level can come from a dataset this one refers to (the customer's country above the booking's hotel, for example).
- Use Move level up and Move level down to put the levels in order, and the cross to remove one.
- Click Done. The hierarchy closes to one line that lists its levels.
A hierarchy needs at least two levels, each listed once; a Measure or Time property cannot be a level. A problem is reported when the model is saved, like any other. Renaming a property or a dataset keeps its place in every hierarchy. Removing a property or a dataset takes it out of every hierarchy, and a hierarchy left with fewer than two levels is removed; a note in the dataset's Hierarchies says what changed. A connection's dataset shows its hierarchies but cannot change them.
Time needs no hierarchy. A time segment always drills by its grain: Year to Quarter, Quarter to Month, Month to Day, Day to Hour, and Week to Day.
Drilling down
When a visualization is segmented by a level of a hierarchy, a click on one of its values offers the next level:
- Click a value of the segment — a bar, a slice or a table cell — for example Lufthansa.
- Choose Drill down to Cabin Class. The segment becomes the next level, and a filter keeps only the value you clicked, so the chart now shows Lufthansa's cabin classes.
A drill is an ordinary change: Undo takes it back, the filter it added sits in the Filters list like any other, and a link you share opens drilled. A time value drills the same way — clicking 2024 on a chart by Year shows 2024's quarters.
Going back up
A drilled visualization shows its path above it, next to its title: the hierarchy's name, then each value you drilled into.
- Click Carrier — or any earlier step of the path — to go back to that level. The segment returns to it and the filters below it are removed.
The path is read from the visualization itself, so it is there whenever the segment and its filter are — after a reload, in a shared link, or on a dashboard card. On a dashboard you are editing, a drill or a step back is an edit like any other; when you are only viewing the dashboard, going back along the path changes the card for you alone and is never saved.
Hierarchies from other BI tools
Importing a model brings drill paths along where the other tool declares them — Tableau drill paths, Looker drill fields that run from one dimension to the next, and GoodData attribute hierarchies. A level that has no counterpart is left out and named in the import's gap report. See Importing and Exporting a Model.