Cube Design: a guided tour

Cubes are question answering machines.

The goal when building cubes is to ensure they make it easy for us to answer our business questions about the data. Thus, we don't necessarily mimic the data structures of the databases, rather, we mimic the business processes the cubes are being built for. This Field Guide gives an overview of some key design principles to meet these goals.

The usual suspects

The building blocks for the most common cubes

Most planning cubes share three structural dimensions, regardless of what business process they model:

VERSION Actuals, Budget, Forecast, Plan. How you compare alternative realities side by side.

TIME A single Time dimension is the common approach in modern PA. Alternate hierarchies for Years, Quarters, Months, Weeks, Days keep things clean and are widely used — though older models sometimes split these out.

MEASURES Amount, Quantity, Rate. The "what" being measured. Numerical data (and sometimes string) values live here.

Everything else is business-specific: the dimensions that make this cube about this process — Accounts, Cost Centers, Products, Employees, Customers. These are the dimensions to design carefully.

Four shapes to recognize

Once you can see these, the design decisions become obvious

Most cube-design judgment calls reduce to four underlying patterns. Each panel below contrasts the good shape with the bad shape. Train your eye to recognize them and you'll resolve most design questions on sight.

A field, a flowchart

Is this thing a dimension, an attribute, or something else?

One cube, one job

Why splitting is better than stuffing everything into one place

Having all the data in one cube may sound great, but it turns out it leads to a cumbersome model that is not intuitive to use. Having several cubes — with each cube fit properly to the data and the business purpose — makes the model much more intuitive to use.

One edge case worth knowing: when data almost shares the same dimensions — but one dimension simply doesn't apply to part of the data — a placeholder N/A element can sometimes avoid a full cube split. Here's how to decide.

✓ USE N/A WHEN

  • Only one dimension doesn't apply to the shared data
  • The shared data is small in volume (e.g. a single price per product per month)
  • The team understands the convention and it will be documented
  • Reporting design will make it clear when to use the N/A element

✕ SPLIT INSTEAD WHEN

  • There are multiple dimensions that would need N/A elements, resulting in a cube similar to the "Everything" cube described above
  • The cube will be used frequently for ad-hoc analysis, making it difficult to find the appropriate cross-sections
  • Different teams own the two data sets and need independent security

✓ YES — N/A ROLLS UP TO TOTAL

✕ NO — N/A SITS OUTSIDE TOTAL

When to use hierarchies

When related elements belong together

A single dimension element can roll up through multiple independent parent paths simultaneously. This is the right tool when the same leaf data needs to be summarized through different lenses without adding extraneous dimensions to the cube.

For example:

  • Departments summarized by Function and also by Reporting Manager
  • Employees by employment status and also by Hiring Manager
  • Products by Product Type and by Product Manager (shown below)

STRENGTHS

  • Avoids extra cube dimensions — Product Manager, Legal Entity, Management Line can all be alternate hierarchies rather than new axes
  • Easily accessible in Planning Analytics Workspace (PAW) — users toggle between rollup views without changing the workbook
  • Single source of truth — leaf elements and their data exist once; the alternate hierarchy is just a different lens
  • Attribute-driven rebuilds — a TI process can regenerate the hierarchy automatically when attributes change

CONSIDERATIONS

  • Limited support in PA for Excel (PAfE) — users may need to select the hierarchy explicitly or work around it
  • Rules syntax awareness — rules that reference consolidated elements can behave differently depending on which hierarchy is active
  • One leaf, one parent per hierarchy — if a product belongs to multiple managers at the same time, that's a separate dimension
  • Rebuild discipline required — make the TI rebuild part of the standard data load, or reports will show stale rollups

Four good practices to take with you

Standard model architecture

Start here when making an FP&A model

A typical FP&A model has many data sources feeding in from source systems, a central Finance cube at the hub, and a set of supporting planning cubes that each own one business process and write their results back to Finance is a classic pattern.

Reports, dashboards, and input templates can be built off the Finance cube or directly off any supporting cube — whichever holds the right level of detail for the task.

The diagram below shows a representative pattern. For smaller entities, the diagram below may encapsulate the entire model. For larger enterprises, or more complex modeling, each "cube" listed below may be a full set of cubes and processes.

Detail Cubes

When more information is needed, connect summarized data to details

The Finance cube summarizes at the GL account level — one cell per Account × Department × Entity × Month. Perfect for reporting and analysis, but a single summarized cell is rarely the whole story. Behind every actual amount there are transactions; behind every forecast amount there are line items a planner created and named. These two ideas anchor most FP&A models, and each gets its own cube. These details are not always needed for reporting and analysis, so housing them separately makes the model more streamlined and easy to use.

ACTUALS — DESIGN FOR

  • Completeness: every GL account, every cost center — preserve what the source sends
  • Read-only: users report and drill, they don't edit actuals
  • Daily grain: full detail of ERP transactions
  • No scenario/version dimension: actuals are a single truth
  • Reconcile to source: totals should reconcile to the ERP trial balance

FORECAST — DESIGN FOR

  • Editability: planners need writable cells, workflow, spreading
  • Scenario management: Budget, Rolling Forecast, Stretch versions
  • Monthly grain: inputs for planning are generally at the monthly level, not daily
  • Commentary: planners need to describe the rationale and other details for their granular inputs
  • Other business processes: Detail often needs additional information such as approval indicators, project associations, or other business-related information

Drill-back

From one number in the Finance cube to the detail behind it

Drill-back is the path from a summarized Finance cube cell down to the rows that compose it — the invoices behind an expense total, the employees behind a salary line, the planner entries behind a forecast amount. It's the answer to "where did this number come from?" and it's what separates a credible FP&A model from a black box. The good news: if your model is built with the patterns shown throughout this Field Guide, drill-back is simply configuration, not new engineering.

The detail or line item cube should use the same Account, Entity, Time, and Version dimensions as Finance. Shared dimensions mean drilling is automatic — PA can map a Finance cell to its detail rows without translation logic.

Where drill-back is in scope, detail totals should tie back to Finance. For actuals, a TI validation step comparing Finance totals to the source-system trial balance is a good safeguard. For forecast, where a Line Item cube feeds Finance via rule, that rule is generally the single source of truth — though some items (forecast BS balances, certain KPIs) are often input directly to Finance and aren't expected to reconcile back to a detail cube.

In PA, drill-back is configured with Drill Assignment Rules and a Drill Process on the Finance cube. The rule directs a cell to a TI that selects the matching rows from the detail or line item cube — based on the cell's coordinates.

Plan drill-back early

It's far easier to design shared dimensions and a reconciling detail cube from day one than to retrofit them after the model is in production. If drill-back is a stated requirement, architect for it directly, not as an afterthought.

Commentary: three ways to play

Cell annotations, string measures, and separate comment cubes each have their place

There is no single right approach to commentary in PA — the best choice depends on data volume, where comments need to appear in reports, and how structured the commentary is. The three patterns below cover the full spectrum from a quick note on one cell to an enterprise-scale comment store.

More good practices to take with you

Robin Stevens
Robin StevensSenior Consultant