Skip to main content
← Pivot workshop

Build a category hierarchy

Trace original records and weighted subtotals, then practise on the same spreadsheet. Your data stays in this browser.

Teaching · read-only · Report!A1

Step 1 / 6Read the original record grain

Inspect
More

Each amount belongs to one original observation. A parent and its descendants can contain the same records. Teaching is read-only; switch to Your turn to edit.

Hierarchy!F2 · (blank)
No formula applied

Preparing the actual category hierarchy worksheet…

Correct source/controls or explicitly restore edited calculation helpers. Previous valid results do not certify edited cells.

Copy this working source and calculation
Original source and field arrangement
Replace the complete source from CSV or TSV

Use Record, Month (YYYY-MM), Region, Product, Status and Amount headings, with one to fifty complete records. Replacement clears folded paths. Direct source Amount edits keep still-valid paths.

Report layout and totals

Tabular subtotals stay below children. Layout changes retain branch choices and original observations. Group-label rows without a subtotal have no value to inspect.

Observed parent paths
Inspect exact values, original source rows and a report query

Parent totals overlap their children. Select a value to inspect its original records, including numeric zeroes, refunds and empty intersections.

RegionProductStatus2026-012026-022026-03Grand total
EastCedarPaid
EastCedar Total
EastLumenPaid
EastLumenPending
EastLumen Total
East Total
NorthCedarPaid
NorthCedar Total
NorthHarborPaid
NorthHarborPending
NorthHarbor Total
NorthLumenPaid
NorthLumen Total
North Total
WestCedarPaid
WestCedar Total
WestLumenPaid
WestLumen Total
West Total
Grand total

Retrieve a visible hierarchy value

GETPIVOTDATA reads this current visible report. A hidden descendant or missing subtotal is unavailable. Include parent fields when a child label appears in several branches. Empty average intersections return zero under this query convention.

Formula and fixed-value files retain the exact displayed paths and all source records. Native exports contain real PivotTable fields; native recalculation, refresh and edit/save are separate checks.