Skip to content

OLAP Cube

A multidimensional analytical model that organizes measures by dimension members and supports valid aggregate views.

Version
v1 · 2026-10-17 · History
Domain-specific #
14234
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Data Warehousing → Computer Science & Software Engineering
Aliases
Multidimensional OLAP cube

Core Idea

An OLAP cube is an analytical model that organizes a measure by combinations of dimension members and defines valid ways to summarize it. A value answers which quantity, for which members and level, under which aggregation rule. Selecting another context produces a related view without changing the model's underlying meaning. A cube need not have exactly three axes or store every possible total in a dense physical array; coordinate and aggregation semantics identify it.[1][2]

How would you explain it like I'm…

The Number-Sorting Box

Imagine a big chart of how many ice creams a shop sold, sorted by flavor, by day, and by which shop. You can ask, "How many chocolate ones on Monday?" or add them up to ask, "How many chocolate ones all week?" An OLAP cube is a computer's way of setting up numbers like that so you can ask lots of different questions and add things up the right way.

Many-Angle Data Box

An OLAP cube is a way for computers to organize numbers so people can study them from different angles. Each number, like sales, is tagged by things such as product, place, and time, called dimensions. You can zoom out to see totals, like sales for a whole year, or zoom in to see details, like one store on one day. Even though it's called a cube, it can have more or fewer than three dimensions. And you can't always just add numbers up; the total has to still make sense.

Multidimensional Aggregation Model

An OLAP cube is a logical model for analyzing data. It takes a measure, such as sales revenue, and places each value in a context defined by dimension members, like a particular product, region, and month, along with rules for how to combine values into summaries. Each value answers a specific question: which measure, for which members, at what level of detail, combined by which rule? Changing the selection changes the question, like going from monthly to yearly totals, without needing a new model. 'Cube' doesn't mean exactly three dimensions, and the cube isn't defined by how the data are physically stored. Not every measure can be summed in every direction; a subtotal is only meaningful if the quantity keeps its meaning when its context changes.

 

An OLAP cube is a logical analytical model that situates a measure within a context formed by dimension members and defines how aggregate views are obtained. Each cell value answers a typed question: which measure, for which members, at which level, combined by which aggregation rule. Altering the selected context, for example rolling up from month to year or slicing to one region, changes the analytical question without changing the conceptual model. The cube's identity lies in its dimensions, coordinates, measures, aggregation rules, and view operations working together, not in a particular cache or physical multidimensional array, since it can be populated through different storage arrangements. Gray and colleagues formalized multidimensional aggregation through the relational CUBE operator, and Microsoft's Service Manager documentation separates warehouse data, cube definitions, and user views. The name does not require three axes, and the model does not license every arithmetic operation on every measure: a valid subtotal must preserve the declared meaning of the quantity across the change of dimensional context.

Scope of Application

The literal setting is multidimensional analysis of measures across selectable member contexts and aggregate levels.

  • Automobile sales: Gray and colleagues work a Model, Year and Color cube with Units and ALL subtotals; it is a research example, not observed retail data.[1]
  • Service incidents: Microsoft documents an Excel view of SystemCenterWorkItemsCube using Incidents Opened and ComputerDim/DisplayName; it is a product workflow, not a customer result.[3]

Clarity

State the measure, what one contributing fact means, the selected dimension members, the requested level and the valid combining rule. A subtotal marked ALL means a grouped context, not another ordinary member.[1] Microsoft's field label Incidents Opened and nearby prose about currently open incidents do not alone establish the same population; its measure definition controls that question.[3] A star schema may supply data for a cube but does not by itself specify its analytical views.

Manages Complexity

Dimension-member coordinates give related reports one question grammar. An analyst can vary filters, groupings or levels while keeping the measure definition visible. This avoids redefining each subtotal and helps locate errors: a wrong population differs from an invalid aggregation formula. Sparse storage and selective pre-aggregation can realize the logical model without fully materializing every view. Materializing common summaries can reduce repeated query work but increases stored and maintained state; that is an implementation choice, not the cube's identity.[1][4]

Abstract Reasoning

Begin with an event grain and measure, then select member coordinates and ask which observations contribute to a requested view. Counts, amounts and balances require declared aggregation rules; balances need not be additive across time.[2] Collapse a dimension only through an operation valid for that measure and level. Summing additive sales units over a declared subset may preserve meaning; summing successive account balances over days may not.[1][2] The visual shape of a cross-tab cannot decide whether its total is sound. Test the calculation against the quantity's definition before treating the displayed value as an answer.

Knowledge Transfer

The five roles travel literally from automobile units to incident counts: dimensions, coordinates, measure, aggregation semantics and view selection. Their labels and quantities change, so one source's field group or subtotal rule should not be copied unexamined into the other. Data Model is the direct genus: it declares data roles, constraints and valid operations. Representation is inherited through it; Aggregation describes the combining operation inside selected views. An arbitrary multidimensional array or a metaphorical “cube” lacks this complete measure-by-dimension analytical relation. Transfer it only where that relation is actually defined.

Relationships to Other Abstractions

Local relationship map for OLAP CubeParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.OLAP CubeDOMAINDomain-specific abstraction: Data Model — is a kind ofData ModelDOMAIN

Current abstraction OLAP Cube Domain-specific

Parents (1) — outgoing typed relations

  • OLAP Cube is a kind of Data Model Domain-specific

    An OLAP cube is a logical data model specialized by dimension-member measure coordinates and valid selectable aggregate views.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

OLAP Cube sits in a sparse region of the domain-specific corpus (62nd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Faceted Classification & Metadata (15 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Jim Gray, Adam Bosworth, Andrew Layman, and Hamid Pirahesh, “Data Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Totals,” Microsoft Research Technical Report MSR-TR-95-22 (1995 revision), printed Data Cube pp. 3–5, Tables 4–5, Figure 2 and §3 for the worked model and operator, plus §5, printed p. 9, for sparse-cube storage; PDF zero-based pages 4–6 and 9, https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-95-22.pdf. This is the four-author report, distinct from the later expanded journal article. registry ↩a ↩b ↩c ↩d ↩e

[2] Microsoft, “Measures and Measure Groups,” Microsoft Learn (2024), updated February 5; Analysis Services documentation, opening definition, “Measures,” “Define Semiadditive Behavior” and measure-group configuration, https://learn.microsoft.com/en-us/analysis-services/multidimensional-models/measures-and-measure-groups?view=sql-analysis-services-2025. registry ↩a ↩b ↩c

[3] Microsoft, “Analyze Service Manager OLAP cube data with Excel,” Microsoft Learn (2024), updated November 1; documentation view sc-sm-2025, “View and analyze” steps 2–3, https://learn.microsoft.com/en-us/system-center/scsm/olap-cube-excel?view=sc-sm-2025. Official product example; the field label does not independently define its population. registry ↩a ↩b

[4] Microsoft, “Overview of Service Manager OLAP cubes for advanced analytics,” Microsoft Learn (2026), updated September 21; documentation view sc-sm-2025, “About Service Manager OLAP cubes,” “Dimensions,” “Aggregations” and “Data source view,” https://learn.microsoft.com/en-us/system-center/scsm/olap-cubes-overview?view=sc-sm-2025. registry ↩