Professional Documents
Culture Documents
Agile Dimensional Modeling: Event and Fact Table Types General Column Types
Agile Dimensional Modeling: Event and Fact Table Types General Column Types
Agile Dimensional Modeling: Event and Fact Table Types General Column Types
[DE] Discrete Event. Point in time or short MD Mandatory. Value is present under normal
duration (completed) transaction. conditions. Can be nullable to handle errors.
[EE] Evolving Event. (multi-verb) process that NN Not Null. Column does not allow nulls. All SK
Business Event Analysis & Modeling takes time to complete. and FK columns are NN by default.
Agile Dimensional Modeling [RE] Recurring Event. Measurements taken at ND No Duplicates . Numbered to define
predictable regular intervals. NDn combinations of column values that must be
Who does what? unique. PK columns are ND by default.
When and where? [TF] Tr a n s a c t i o n F a c t t a b l e . P h y s i c a l
How much / how many? equivalent of DE. Typically maintained by Xn Exclusive. Column is not valid in
Why and how? insert only. combination with other X columns. Numbered
[AS] Accumulating Snapshot . Physical to identify mutually exclusive groups and
When How Who equivalent of EE. Maintained by insert and identify the specific DC which controls validity.
update. Typically contains multiple milestone
Date Transaction Type Customer
date/time dimensions and duration facts. DC Defining Characteristic. Column value
Time Transaction # Employee
DCn,n dictates which X columns are valid. E.g.,
[PS] Periodic Snapshot. Physical equivalent of Product Type DC defines which exclusive
Time Zone Partner RE. Typically contains semi-additive facts. product dimension attributes are valid. Number
Period How Many list relates multiple defining characteristics in
[AG] Aggregate. Fact table that pre-summarizes
Facts an existing detailed fact table. the same table to specific Xn exclusive
Measures columns or groups.
KPIs
Where What [DF] Derived Fact table. Fact table constructed
[UoM, Additivity] by merging, slicing, or pivoting existing fact [W type] Dimension type or name. The W type
Location Product
tables. [dimension] (who, what, when, where, why, how) of an
Facility Why Service event detail or the dimension name when a
detail is a role; e.g., Salesperson
Channel
Reason
Resource
Dimension Types [Employee] where Salesperson is a role
URL
Causal Event
[CV] Current Value. Contains current value only of the Employee dimension. Also used to
dimensional attributes. Type 1 SCD. describe recursive relationships.
Event Table Table Code(s) Verb [HV] Historic Value. Contains at least one
historical value dimensional attribute. Type 2
Name
Object Preposition
slowly changing dimension (SCD).
Event and Fact Table Column Types
(Responsible) CUSTOMER ORDERS [EE] Detail/
Subject
CUSTOMER
Orders
PRODUCT
on
ORDER DATE
Dimension [RP] Role-Playing. Used to play multiple roles. DD Degenerate Dimension . Dimensional
Name
Column attribute stored in a fact table. Typically used
KEY
[RU] Roll-Up. Derived from a more granular
Name [who] [what] MD [when] SK
Column for transaction IDs (how details).
Type
dimension.
Column
Codes Detail Type
[SD] Swappable Dimension. Part of a set of GD Granularity Dimension . Dimension
dimensions with a common surrogate key that GDn combination that defines the granularity of a
Table
Example Complete
can be used in place of each other. fact table. Numbered when alternative
Data
Indicator [ML] Multi-Level. Dimension containing additional combinations exist.
members representing higher levels in the
dimension’s hierarchy. MV Multi-Valued. Event detail contains multiple
7W Details: Who, What, When, Where, How Many, Why, How
values that must be resolved using a bridge
[HM] Hierarchy Map. Table used to resolve a table. Fact table FK that references a multi-
Example Data
Typical normal, popular, average recursive relationship. Represents a variable- value bridge table.
Themes