Multidimensional Data Modeling
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Case Study 1
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Business Scenario
A multinational sales company has its head quarters at New Delhi.
They sell various products.
Their products are sold in different countries like Australia, Canada, France, Germany and so on. The President of the company wants sales and order quantity information for each quarter, month and day in a year.
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Identify the entities
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Product Sales Region
Entities
Time Sales Information
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Establish relationship between the entities
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Product
Sales Information
Sales Region
Time
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Identify the facts, dimensions, attributes, hierarchies and grain
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Sales Amount
Order Quantity
Facts
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Identify the grain(s)
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Grain Identified
Time Day
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Sales Region
Product
Time
Dimensions
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Attributes
Product Name, Color, Size
Sales Region Region Name
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Hierarchies Identified
Year
Quarter
Month
Day
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Putting the pieces together Design the schema
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Product Dimension Table Product Key Product Name Color Size Fact Table Sales Region Dimension Table
Product Key
Sales Region Key Time key Sales Amount
Sales Region Key
Territory Name
Country
Order Quantity
Time Dimension Table Time Key Date Month Quarter Year
Case Study 2 Modifying the Scenario
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
New Business Scenario
A multinational sales company has its head quarters at New Delhi.
They sell various products.
Their products are sold in different countries like Australia, Canada, France, Germany and so on. The President of the company wants sales and order quantity information for each individual employee and also teamwise for every quarter to decide on appraisal.
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Identify the entities that are to be added
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Product Sales Region
Entities
Time Sales Information Employee
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Establish relationship between the new and existing entities
Conceptual Modeling
Employee
Product
Sales Information
Sales Region
Time Fundamentals of Business Analytics
RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Identify the facts, dimensions, attributes, hierarchies and grain
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Sales amount
Order Quantity
Facts
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Identify the grain(s)
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Grains Identified Time Quarter Employee Individual
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Sales Region
Time
Product Dimensions
Employee
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
New Attributes Employee Name, Email, Manager Name, Gender
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Hierarchies Identified
Year
Team
Quarter
Individual
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Modify the schema
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Product Dimension Table Product Key Product Name Color Size Fact Table SalesRegion Dimension Table Sales Region Key Territory Name Country
Product Key
Sales Region Key Time key Employee Key
Sales Amount
Order Quantity Time Dimension Table Time Key Quarter Year Employee Dimension Table Employee Key Email Name Gender Manager
Case Study 3 Modifying the Scenario Further
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Modified Business Scenario
A multinational sales company has its head quarters at New Delhi.
They sell various products which can be categorized and subcategorized accordingly.
Their products are sold in different countries like Australia, Canada, France, Germany and so on. The President of the company wants category wise sales and order quantity information for each individual employee and also teamwise for every quarter to view business productivity.
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Conceptual Modeling
Employee
Product
Sales Information
Sales Region
Sub Category Time Category
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
New Hierarchy Identified
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
Modify the Star schema to Snowflake schema
Fundamentals of Business Analytics RN Prasad and Seema Acharya Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Product Dimension Table Product Key Product Name Color Sub-Category Key Size
Logical Modeling
SalesRegion Dimension Table Sales Region Key Territory Name Country
Fact Table Product Key Sales Region Key Time key Employee Key Sales Amount Order Quantity Time Dimension Table
Sub-Category Table Sub-Category Key Sub-Category Name Category Key Category Table
Employee Dimension Table Employee Key Email Name Gender Manager
Time Key
Quarter Year
Category Key
Category Name