case study (chapter 7).pptx
TRANSCRIPT
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 1/37
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Multidimensional
Data Modeling
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 2/37
Case Study 1
“Fundamentals of Business Analytics”
RN Prasad and Seema Acharya
Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 3/37
•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 quanti ty inf ormation
for each quarter, month and day in a year.
Business Scenario
“Fundamentals of Business Analytics”
RN Prasad and Seema Acharya
Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 4/37
Identify the entities
Conceptual Modeling
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 5/37
Product
Sales Region
Time
Sales Information
Conceptual Modeling
Entities
“Fundamentals of Business Analytics”
RN Prasad and Seema Acharya
Copyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 6/37
Conceptual Modeling
Establish relationship between the entities
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 7/37
Conceptual Modeling
SalesInformationProduct Sales Region
Time
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 8/37
Logical Modeling
Identify the facts, dimensions, attributes, hierarchies and grain
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 9/37
Logical Modeling
Facts
Sales
Amount
Order
Quantity
“Fundamentals of Business Analytics”
RN Prasad and Seema Acharya
Co ri ht 2011 Wile India Pvt. Ltd. All ri hts reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 10/37
Logical Modeling
Identify the grain(s)
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 11/37
Logical Modeling
Grain Identified
Time – Day
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 12/37
Logical Modeling
Dimensions
Product
Sales Region
Time
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 13/37
Logical Modeling
Attributes
Product – Name, Color, Size
Sales Region – Region Name
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 14/37
Logical Modeling
Hierarchies Identified
Year
Quarter
Month
Day
“Fundamentals of Business Analytics”
RN Prasad and Seema Acharya
Co ri ht 2011 Wile India Pvt. Ltd. All ri hts reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 15/37
Logical Modeling
Putting the pieces together…
Design the schema
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 16/37
Logical Modeling
Fact Table
Product Key
Sales Region Key
Time key
Sales Amount
Order Quantity
Product Dimension
Table
Product Key
Product Name
Color
Size
Sales RegionDimension Table
Sales Region Key
Territory Name
Country
Time Dimension
Table
Time Key
Date
Month
Quarter
Year
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 17/37
Case Study 2
Modifying the Scenario
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 18/37
•
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 quanti ty information for
each individual employee and also teamwise for every quar ter to decide on
appraisal.
New Business Scenario
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 19/37
Identify the entities that are to be added
Conceptual Modeling
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 20/37
Product
SalesRegion
Time
Sales
Information
Conceptual Modeling
Entities
Employee “Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 21/37
Conceptual Modeling
Establish relationship between the new and existingentities
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 22/37
Conceptual Modeling
SalesInformation
Product Sales Region
Time
Employee
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 23/37
Logical Modeling
Identify the facts, dimensions, attributes,
hierarchies and grain
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 24/37
Logical Modeling
Facts
Sales
amount
Order
Quantity
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 25/37
Logical Modeling
Identify the grain(s)
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 26/37
Logical Modeling
Grains Identified
Time – Quarter
Employee – Individual
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 27/37
Logical Modeling
Dimensions
Product
Sales Region Time
Employee
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 28/37
Logical Modeling
New Attributes
Employee – Name, Email, Manager Name, Gender
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 29/37
Logical Modeling
Hierarchies Identified
Year
Quarter
Team
Individual
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 30/37
Logical Modeling
Modify the schema
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 31/37
Logical Modeling
Fact Table
Product Key
Sales Region Key
Time key
Employee Key
Sales Amount
Order Quantity
Product Dimension
Table
Product Key
Product Name
Color
Size
SalesRegion
Dimension Table
Sales Region Key
Territory Name
Country
Time Dimension
Table
Time Key
Quarter
Year
Employee
Dimension Table
Employee Key
Name
Gender
Manager
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 32/37
Case Study 3
Modifying the Scenario Further
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 33/37
•
A multinational sales company has its head quarters at New Delhi.
• They sell various products which can be categorized and subcategorizedaccordingly.
•
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 quanti ty
inf ormation for each individual employee and also teamwise for every quar ter
to view business productivity.
Modified Business Scenario
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 34/37
Conceptual Modeling
SalesInformation
Product Sales Region
Time
Employee
Sub
Category
Category “Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 35/37
Logical Modeling
New Hierarchy Identified
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 36/37
Logical Modeling
Modify the Star schema to Snowflake schema
“Fundamentals of Business Analytics”
RN Prasad and Seema AcharyaCopyright 2011 Wiley India Pvt. Ltd. All rights reserved.
Logical Modeling
7/27/2019 Case Study (Chapter 7).pptx
http://slidepdf.com/reader/full/case-study-chapter-7pptx 37/37
Logical Modeling
Fact TableProduct Key
Sales Region Key
Time key
Employee Key
Sales Amount
Order Quantity
Product Dimension
Table
Product Key
Product NameColor
Sub-Category Key
Size
SalesRegion
Dimension Table
Sales Region Key
Territory Name
Country
Time Dimension
Table
Time Key
Quarter
Year
Employee
Dimension Table
Employee Key
Name
Gender
Manager
Sub-Category
Table
Sub-Category
Key
Sub-CategoryName
Category Key
Category Table
Category Key
Categor Name