0% found this document useful (0 votes)
4 views

Lab 4

Uploaded by

kmarabessii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Lab 4

Uploaded by

kmarabessii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 4 :

Kmar Abessi BA IT

Case Study 1: Retail Sales Data Warehouse

Objective: To analyze sales performance across regions, products, and customers.

Facts:

●​ Sales (core fact table): Contains transactional data such as quantities sold, sales revenue, and
discounts.

Dimensions:

1.​ Customer Dimension: Attributes like Customer ID, Name, Gender, Age, Loyalty Status, etc.
2.​ Product Dimension: Attributes like Product ID, Name, Category, Sub-category, Brand, Price, etc.
3.​ Time Dimension: Attributes like Date, Day of the Week, Month, Quarter, Year, etc.
4.​ Region/Store Dimension: Attributes like Store ID, Location, Region, Store Type, etc.

Measures:

●​ Quantity Sold
●​ Sales Revenue
●​ Discount Amount

Schema Design: Star Schema​


A straightforward star schema will link the Sales fact table with the four dimensions.

Case Study 2: Supply Chain Analytics Data Warehouse

Objective: To optimize supply chain operations through analysis of performance metrics.

Facts:

●​ Supply Chain Performance (fact table): Contains metrics like lead time, transportation costs, and
order fulfillment rates.

Dimensions:

1.​ Supplier Dimension: Attributes like Supplier ID, Name, Location, Supplier Rating, etc.
2.​ Product Dimension: Attributes like Product ID, Name, Category, Unit Cost, etc.
3.​ Time Dimension: Attributes like Date, Day, Month, Quarter, Year, etc.
4.​ Location Dimension: Attributes like Warehouse ID, Location, Region, etc.

Measures:

●​ Lead Time
●​ Transportation Costs
●​ Order Fulfillment Rates
●​ Inventory Turnover

Schema Design: Snowflake Schema​


A snowflake schema may be better suited here due to normalization requirements for complex supplier
and product hierarchies.

Case Study 3: HR Analytics Data Warehouse

Objective: To gain insights into employee performance, talent acquisition, and workforce planning.

Facts:

●​ Employee Performance (fact table): Contains data on performance ratings, salary, tenure, etc.

Dimensions:

1.​ Employee Dimension: Attributes like Employee ID, Name, Age, Gender, Department, Job Role,
etc.
2.​ Time Dimension: Attributes like Date, Month, Quarter, Year, etc.
3.​ Recruitment Source Dimension: Attributes like Recruitment Source ID, Name, Type
(Internal/External), etc.
4.​ Location Dimension: Attributes like Office Location ID, City, Country, Region, etc.

Measures:

●​ Performance Rating
●​ Salary
●​ Tenure

Schema Design: Star Schema​


A star schema works well to simplify querying and analysis.

You might also like