In a data warehouse, a measure is a numerical or quantifiable property stored in fact tables on which calculations (e.g., sum, count, average, minimum, maximum) can be performed. Measures represent the business metrics or key performance indicators that analysts use to evaluate organizational performance. They are a core component of dimensional modeling, typically paired with dimensions that provide context.
Classification
Measures can be classified into three categories based on their computational properties:
- Categorical measures — also known as additive measures, these can be meaningfully summed across any dimension. Examples include sales revenue and quantity sold.
- Algebraic measures — these can be computed using a fixed number of algebraic functions (e.g., average = sum/count). They are derived from additive base measures.
- Holistic measures — these cannot be computed from a fixed number of sub-aggregates; the entire dataset must be examined. Examples include median, mode, and rank.
Example
If a retail store sells a specific product, the quantity and price of each item sold are measures. These can be summed to find the total number of items sold or the total revenue, or averaged to find the average price of goods sold.
Use in Metadata Registries
When entering data into a metadata registry such as ISO/IEC 11179, representation terms such as number, value, and measure are typically used to describe measures.
See also
- Data warehouse
- Dimension (data warehouse)
- Fact table
- Star schema
- Online analytical processing (OLAP)
References
- Kimball, Ralph et al. (1998); The Data Warehouse Lifecycle Toolkit, p. 17. Pub. Wiley. ISBN 0-471-25547-5.
- Kimball, Ralph (1996); The Data Warehouse Toolkit, p. 100. Pub. Wiley. ISBN 0-471-15337-0.
- Han, Jiawei; Pei, Jian; Tong, Hanghang (2023). Data Mining Concepts and Techniques (4th Edition) — 3.2.4 Measures: Categorization and Computation. (pp. 105). Elsevier.