Resources
Fall2023_DW_BDS_A2_Dimensional Modeling.pdf
Dimensional Modelling - Sample Case Studies-sol.pdf
TU Hotels System
Processes & Identity of the Fact Tables
Following are the major processes in the TU Hotels System:
- Cost
- Sales
- Revenue
- Customer
Fact Tables
Base Fact Table
Time_Key | Product_Key | Store_Key | Channel_Key | Market Segment_Key |
---|
Cafe Fact Table
Cafe_Key | Time_Key | Product_Key | Store_Key | Channel_Key | Market Segment_Key |
---|
Customer Fact Table
Customer_Key | Time_Key | Product_Key | Store_Key | Channel_Key | Market Segment_Key |
---|
Segment Fact Table
Segment_Key | Time_Key | Market Segment_Key |
---|
Seasonal Fact Table
Season_Key | Time_Key | Product_Key | Store_Key | Channel_Key | Market Segment_Key |
---|
Grain Level of Each Fact Table
Base Fact Table
The grain level is by Day, by Product, by Store, by Channel, by Market Segment
Cafe Fact Table
The grain level is by Cafe, by Day, by Product, by Store, by Channel, by Market Segment
Customer Fact Table
The grain level is by Customer, by Day, by Product, by Store, by Channel, by Market Segment
Segment Fact Table
The grain level is by Segment, by Day, by Market Segment
Seasonal Fact Table
The grain level is by Season, by Year, by Product, by Store, by Channel, by Market Segment
Dimensions of Each Fact Table
Base Fact Table
Time, Product, Store, Channel, Market Segment
Cafe Fact Table
Cafe, Time, Product, Store, Channel, Market Segment
Customer Fact Table
Customer, Time, Product, Store, Channel, Market Segment
Segment Fact Table
Segment, Time, Product, Store, Channel, Market Segment
Seasonal Fact Table
Season, Time, Product, Store, Channel, Market Segment
Major & Pre-Calculated Facts
- Quantity Sold / Unit Size
- Profit Margin
- Cost
- Number of Orders
- Average Order Value
- Total Items Sold
- Segment Size
- Yearly Seasonal Sales
- Booking Count
Dimension Attributes
Time
- Time_Key
- Day
- Quarter_Key
Product Family
- Family_Key
- Name
- Alias
Quarter
- Quarter_Key
- Quarter
- Year_Key
Year
- Year_Key
- Year
Store
- Store_Key
- Address
- Size
- Type
- City
- State
- Country
Product
- Product_Key
- Name
- Price
- Cost
- Family_Key
Channel
- Channel_Key
- Name
- Phone
- Social Media
Market Segment
- Name
- Behaviour
- Demographics
Tracking Slowly Changing Dimensions (SCD)
We will implement a Type 2 SCD methodology in order to ensure complete tracking of Slowly Changing Dimensions (SCD) in both the Cafe and Hotel segments. This methodology guarantees the preservation of historical variations in dimension attributes, enabling thorough historical analysis and reporting capabilities.
Historical Duration of the Data
The duration of the data should span about 5 to 8 Years. This is because it is our requirement to provide percent revenue change of present versus years-ago of timeframes.
Urgency to Load Data into Warehouse
The urgency with which the data should be extracted and loaded from transactional systems into the warehouse should be daily. This is to ensure we have latest analysis to report and provide insights on.
Dimensional Model