Dimension Tables and Conformed Dimensions

Dimensions provide the context analysts use to explore measures.

BeginnerIntermediateExpert · 5 min read · Last updated:

In brief

A dimension stores descriptive context such as product, date, customer or location. A conformed dimension uses an agreed meaning and compatible keys or mappings across multiple fact tables.

Design a useful dimension

Choose attributes that help users describe, filter and group the process. Define their meaning, hierarchy, source and update behavior. A Product dimension might include product name, category and brand; a Date dimension might provide calendar and fiscal attributes.

What conformance means

Two fact tables can share a dimension only when its attributes mean the same thing at the required level. A customer concept used in sales and service may need a shared core plus domain-specific extensions. Do not force one label to represent incompatible business definitions.

QuestionDesign response
What is the dimension's identity?Document key scope and source mappings
Which attributes are stable?Separate durable facts from changing descriptions
Which hierarchy applies?Record levels, parent rules and exceptions
How is history handled?Choose current-state or historical behavior per use
Who owns the definition?Name an accountable domain owner

Avoid uncontrolled conformance

Shared dimensions can make cross-process analysis consistent, but they also require stewardship. If two teams use different definitions, publish explicit mappings or separate dimensions rather than silently blending them.

Worked example: a conformed product dimension

A sales fact may record units sold by order line while an inventory snapshot records stock at a location and day. Both can use a Product dimension so analysts can group by an agreed product identity and category. The shared dimension does not mean the facts have the same grain: sales describes transactions, while inventory describes a state at a point or interval.

Before sharing the dimension, define the product identity, category hierarchy, brand, lifecycle status and rules for renamed or retired products. If one domain uses a commercial grouping and another uses an engineering taxonomy, keep both attributes with clear names and ownership or publish separate hierarchies. Do not make “category” appear universal when its meaning differs.

Choose keys and history behavior deliberately

A warehouse surrogate key can identify a particular dimension version and simplify joins, while a source key helps trace the originating system. Preserve mappings where multiple sources contribute identities. A missing or unknown member can allow a fact to load while a reference is unresolved, but the unknown state should be observable and reconciled rather than becoming permanent by default.

History behavior depends on the question. If users only need the current product description, overwrite may be adequate. If they need to report sales using the category that was valid at the time, retain effective-dated versions and connect facts to the appropriate version. Specify the effective start and end boundaries, current-row indicator and late-arriving correction behavior. Test changes that occur on the same day as a fact to avoid ambiguous joins.

Review conformance across teams

Conformance is semantic and operational. Teams should agree on what an attribute means, how it is populated, which values are valid and who approves changes. Identical column names or data types are not enough. A shared dimension also needs a stable publishing contract, data quality checks and communication when hierarchies or keys change.

Review areaQuestionExample evidence
MeaningDo consumers interpret the attribute the same way?Definition, examples and named owner
IdentityCan the same real product map consistently across sources?Source-key map and exception queue
TimeDoes the value describe current state or historical state?Effective dates and late-change tests
HierarchyAre parent-child levels stable and governed?Validated hierarchy and change process
ConsumptionCan facts join without changing their grain?Row-count and aggregate reconciliation

Common dimension failures

One risk is joining a fact to a non-unique natural key and multiplying measures. Another is storing a hierarchy that changes without preserving history, making prior reports shift unexpectedly. A third is overloading one dimension with unrelated roles such as order date, ship date and return date, then leaving consumers unsure which role a report uses. Role-playing dimensions can share a date definition while giving each relationship an explicit role.

  • Document the dimension grain and key strategy.
  • Label current versus historical attributes clearly.
  • Check every hierarchy for valid parents and expected levels.
  • Test joins for duplicate matches and unexpected fact multiplication.
  • Publish ownership and change behavior to consuming teams.

Next, read Fact Table Grain and Measurement Types and Slowly Changing Dimensions: Type 1, 2 and 3.

Review dimension conformance

Two dimensions are conformed when they share compatible meaning, keys, attributes, and history behavior for the intended analysis. Compare source definitions and effective dates before reusing a dimension across facts. A shared column name does not establish conformance.

Test key coverage, hierarchy alignment, unknown members, and historical assignments. Document transformations and exceptions. If concepts differ, retain separate dimensions and provide an explicit bridge or mapping rather than forcing a false equivalence.

Manage dimension changes

Before changing a dimension hierarchy or attribute, identify facts and reports that depend on it. Decide whether history is restated or preserved, then test joins and rollups. Communicate changes to consumers.

Monitor unmatched keys and overlapping effective periods after release.