Business performance analytics data model
Dimensional data model
A dimensional data model is a framework designed to optimize the performance of complex queries in a data warehouse. It organizes data into fact tables and dimension tables to facilitate easy and intuitive data analysis.
Key Components
Fact Table:
- Definition - The central table in a dimensional model, containing quantitative data for analysis.
- Characteristics:
- Contains metrics or measures, such as sales revenue, quantity sold, etc.
- Stores foreign keys that reference dimension tables.
- Typically has a large number of records.
- Example Columns:
Sales_Amount
Quantity_Sold
Date_Key
(Foreign Key)Product_Key
(Foreign Key)Customer_Key
(Foreign Key)
Dimension Tables:
- Definition - Tables that store descriptive attributes related to the facts.
- Characteristics:
- Contain textual or categorical data, such as product names, dates, and customer information.
- Provide context for the facts in the fact table.
- Usually have fewer records compared to fact tables but more columns.
- Example Columns for a Product Dimension:
Product_Key
(Primary Key)Product_Name
Category
Brand
Price
Why did we use a dimensional model?
- Improved query performance - Designed for fast data retrieval and efficient querying.
- Ease of use - Intuitive structure makes it easy for users to understand and navigate the data.
- Scalability - Can handle large volumes of data and complex queries.
How did we model for Business performance analytics?
- We modeled by business process (e.g., an invoice entered, or a payment are business processes).
- We modeled at the lowest grain (e.g., every line on an invoice is represented in the facts).
- We grouped each business process into a value chain for reference (Record to Report, Procure to Pay, etc.).
- We created a Bus Matrix to represent the facts and dimensions for your reference. For more information, see the Bus Matrix report in Business Performance Analytics.