What Is an OLAP Cube? Cells, Dimensions, and Aggregations Explained
See how an OLAP cube maps dimension-member combinations to measure values, how a query selects cells, and why pre-aggregation trades storage and processing for response time.
What Is an OLAP Cube? Cells, Dimensions, and Aggregations Explained
An OLAP cube is a multidimensional analytical model that organizes measures for queries across members of dimensions such as product, time, and geography. A cube cell is the coordinate where selected dimension members intersect, and it returns measures such as sales or quantity. Despite the name, it need not be a physical three-dimensional file. In Microsoft Analysis Services documentation, a cube is a logical structure centered on dimensions and measures; pre-aggregation is a separate design choice with storage and processing costs.
What makes up a cube?
**Dimension:** a perspective for classifying values, such as year-quarter-month or product family-product.
**Member:** a selected value on a dimension, such as “Q1 2025,” “small appliances,” or “West.”
**Measure:** the number being analyzed, such as net sales, order count, or quantity.
**Measure group:** in Analysis Services, a model element that groups related measures and connects them to fact data and dimensions.
**Hierarchy and aggregation:** levels let users move between detail and summary. Some summaries can be calculated and stored ahead of a query.
These terms describe a documented Microsoft multidimensional implementation. Other OLAP products may use different names or storage designs. Microsoft: Cubes in Multidimensional Models · Measures and Measure Groups
A query selects a cell or a set of cells
Consider this fictional sales table:
| Year | Quarter | Region | Product family | Net sales |
|---|---|---|---|---|
| 2025 | Q1 | West | Small appliances | 120 |
| 2025 | Q1 | East | Small appliances | 90 |
| 2025 | Q2 | West | Small appliances | 140 |
| 2025 | Q1 |
“What were net sales for small appliances in the West in Q1 2025?” selects the coordinate time=Q1 2025 × region=West × product family=small appliances, with net sales as the measure. The example returns 120. These invented values explain the model; they are not a product test or real company data.
A broader question, such as small-appliance sales across all regions in 2025, selects multiple cells and aggregates them. Changing hierarchy level—from year to quarter or product family to item—changes which cells are included. If a measure is unrelated to a queried dimension, the result may repeat or be misleading; verify the measure group's relationships and data grain. Microsoft: Measures and Measure Groups
Why not store every combination in advance?
Precomputed summaries can speed up some queries. But the number of combinations grows with dimensions and hierarchies, increasing storage and processing costs. Analysis Services can prepare selected summaries and derive others—for example, combining monthly values into a quarter—balancing response time against storage and processing. This is product documentation, not a performance guarantee for every workload. Microsoft: Aggregations and Aggregation Designs
When evaluating a cube, identify frequent questions, validate fact-to-dimension relationships and grain, choose a valid aggregation for each measure, and prioritize summaries that support real usage. Sales may be additive, but balances should not usually be summed across time, and percentages should not be added from child values. After source data or model changes, reprocess and reconcile totals as required. Aggregation behavior is product-specific; Microsoft documents additive, semi-additive, and nonadditive measures. Microsoft: Use Aggregate Functions
A cube is best understood as a logical model that maps questions to dimension coordinates and measures. Decide which summaries to precompute only after confirming that the cells mean what users expect and that the storage and refresh trade-offs are acceptable.