SlideShare a Scribd company logo
1 of 26
Download to read offline
Case Study on Data
Warehousing
Name: Tej Narayan Shaw
Roll: 107/MBA/191107
MBA-Day (BASM), 2019-2021 Batch
Paper & Code: Business Intelligence & Data Warehousing (B30)
Acknowledgment
I would like to express my heartfelt gratitude towards our
institute’s Director Shri. Dipankar Das Gupta, our Head of the
Department Prof. Dr. Tanima Ray, our esteemed faculty Professor
Subhasis Ray and all my other teachers at the Indian Institute of
Social Welfare and Business Management for their guidance and
invaluable advice throughout the course of this project. I would
also like to acknowledge my family, friends and each and every
one who contributed to this project work either directly or
indirectly.
Regards,
Tej Narayan Shaw
Index
Problem Set: Background 4
Problem Set: Issues discussed in the presentation 5
The Business Process 6
Process to solve the problem set 7
Dimensions 8, 9, 10, 11, 12, 13
Fact Tables 14, 15
Star Schema 16
Key Performance Indicators in Sales Performance 17, 18, 19, 20
Key Performance Indicators in Promotion Performance 21
Key Performance Indicators in Customer Preferences & Buying Patterns 22, 23
Conclusion 24
Bibliography 25
Problem Set: Background
● ABC Retail chain operating
in USA, Canada and Mexico.
● Foodmart has following
types of stores:
○ Supermarket
○ Small Grocery
○ Gourmet Supermarket
○ Deluxe Supermarket
○ Mid-size Grocery
● Operation started in 1990.
● Total of 24 different
outlets and 10 warehouses.
Problem Set: Issues discussed in the presentation
● Sales turnover from each type of store
● Product selling as per store
● Effect of promotion on sales of products
Customer Preferences
& Buying Patterns
● Effect of professions on the buying
patterns
Promotion
Performance
Sales Performance
The Business Process
● Indents for exhausted SKUs are raised
at store levels
● Indents goes to corresponding
warehouse in the network
● Warehouse raises PO to
suppliers/manufacturers/farmers
proportional to indents from various
stores
● Suppliers supply against PO and raises
invoice
● Payments cleared as per purchase
invoice
● Stocks transferred to stores from
warehouse as per indents
● At the end, stocks sold out to
customers through various means of
sale from the stores
● Sales are done using digital and brick
and mortar medium
Process to solve the problem set
● We are using Kimball’s approach of dimensional
modelling for our data warehouse
● The modelling consists of dimensions and facts
● Fact consists of consists of data which could be
measured or used for logical processioning, such
as clustering, classification, trending, etc.
● Dimensions consists of the metadata about the data
used in facts
● In context of relational schema, dimensions are
tables with primary keys and other attributes, and
fact(s) consists of measurable attributes and uses
the primary keys of dimensions as function keys
● Before creating the fact(s) table, dimensions must
pass through ETL process, so that data has single
version in the data warehouse
● Using Star Schema, the relationships between
dimensions and fact(s) are shown
Dimensions
CREATE TABLE Customer
(
Customer_ID INT NOT NULL,
Customer_Name CHAR(50) NOT NULL,
Customer_Location CHAR(50) NOT NULL,
Cust_Mob INT NOT NULL,
Cust_email CHAR(50) NOT NULL,
Profession_ID INT NOT NULL,
PRIMARY KEY (Customer_ID),
FOREIGN KEY (Profession_ID) REFERENCES
Customer_Profession(Cust_Profession_ID)
)
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Customer_Profession
(
Cust_Profession_ID INT NOT NULL,
Profession_Name INT NOT NULL,
PRIMARY KEY (Cust_Profession_ID)
);
Dimensions
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Warehouse
(
Warehouse_ID INT NOT
NULL,
Warehouse_address
CHAR(50) NOT NULL,
Telephone INT NOT NULL,
Email CHAR(20) NOT NULL,
PRIMARY KEY
(Warehouse_ID)
);
CREATE TABLE Promotion
(
Sales_Promotion_ID INT NOT NULL,
Promotion/Campaign_Name INT NOT
NULL,
Description INT NOT NULL,
Cost_of_Promotion INT NOT NULL,
PRIMARY KEY (Sales_Promotion_ID)
);
Dimensions
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Product_Type
(
PD_Type_Id INT NOT NULL,
Product_Type_Name INT NOT NULL,
PRIMARY KEY (PD_Type_Id)
);
CREATE TABLE Date
(
Date_ DATE NOT NULL,
Day INT NOT NULL,
Month INT NOT NULL,
Year INT NOT NULL,
Quarter INT NOT NULL,
PRIMARY KEY (Date_)
);
Dimensions
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Warehouse
(
Warehouse_ID INT NOT NULL,
Warehouse_address CHAR(50) NOT NULL,
Telephone INT NOT NULL,
Email CHAR(20) NOT NULL,
PRIMARY KEY (Warehouse_ID)
);
CREATE TABLE Product_
(
Product_ID INT NOT NULL,
Product_Name INT NOT NULL,
PD_Type_Id INT NOT NULL,
PRIMARY KEY (Product_ID),
FOREIGN KEY (PD_Type_Id) REFERENCES
Product_Type(PD_Type_Id)
);
Dimensions
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Store
(
Store_ID INT NOT NULL,
Store_Location CHAR(24) NOT NULL,
Country CHAR(20) NOT NULL,
Phone INT NOT NULL,
email_ID INT NOT NULL,
Store_Type_ID INT NOT NULL,
PRIMARY KEY (Store_ID),
FOREIGN KEY (Store_Type_ID) REFERENCES
Store_Type(Store_Type_ID)
);
CREATE TABLE Store_Type
(
Store_Type_ID INT NOT NULL,
Type_Name CHAR(50) NOT NULL,
PRIMARY KEY (Store_Type_ID)
);
Dimensions
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Supplier
(
Vendor_ID INT NOT NULL,
Vendor_Name CHAR(50) NOT NULL,
Telephone INT NOT NULL,
Email CHAR(50) NOT NULL,
PRIMARY KEY (Vendor_ID)
);
CREATE TABLE Consignment_Details
(
Venhicle_Details INT NOT NULL,
From INT NOT NULL,
To INT NOT NULL,
Expense INT NOT NULL,
Description VARCHAR(50) NOT NULL,
Consignment_ID INT NOT NULL,
PRIMARY KEY (Consignment_ID)
);
Fact Tables
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Sales_Trans
(
Stock_before_Sale INT NOT NULL,
Stock_After_Sale INT NOT NULL,
Quantity_Enquired INT NOT NULL,
Quantity_Supplied INT NOT NULL,
MRP_per_unit INT NOT NULL,
Cost_per_unit INT NOT NULL,
Discount INT NOT NULL,
Revenue INT NOT NULL,
Expense INT NOT NULL,
Income INT NOT NULL,
Store_Txn_No. INT NOT NULL,
Warehouse_ID INT NOT NULL,
Customer_ID INT NOT NULL,
Profession_ID INT NOT NULL,
Date_ DATE NOT NULL,
Sales_Promotion_ID INT NOT NULL,
PD_Type_Id INT NOT NULL,
Product_ID INT NOT NULL,
Unit_Annotation CHAR(10) NOT NULL,
Store_Type_ID INT NOT NULL,
Store_ID INT NOT NULL,
Consignment_ID INT NOT NULL,
PRIMARY KEY (Store_Txn_No.),
FOREIGN KEY (Warehouse_ID) REFERENCES Warehouse(Warehouse_ID),
FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID),
FOREIGN KEY (Profession_ID) REFERENCES Customer_Profession(Cust_Profession_ID),
FOREIGN KEY (Date_) REFERENCES Date(Date_),
FOREIGN KEY (Sales_Promotion_ID) REFERENCES Promotion(Sales_Promotion_ID),
FOREIGN KEY (PD_Type_Id) REFERENCES Product_Type(PD_Type_Id),
FOREIGN KEY (Product_ID) REFERENCES Product_(Product_ID),
FOREIGN KEY (Unit_Annotation) REFERENCES Scaling_Unit_of_Material(Unit_Annotation),
FOREIGN KEY (Store_Type_ID) REFERENCES Store_Type(Store_Type_ID),
FOREIGN KEY (Store_ID) REFERENCES Store(Store_ID),
FOREIGN KEY (Consignment_ID) REFERENCES Consignment_Details(Consignment_ID)
);
Fact Tables
ETL queries & relational diagram from OLTP to Dimensional Model:
CREATE TABLE Procurement_Trans
(
WH_Txn_No. INT NOT NULL,
In_stock INT NOT NULL,
Out_Stock INT NOT NULL,
In_Stock_Value INT NOT NULL,
Out_Stock_Value INT NOT NULL,
Warehouse_ID INT NOT NULL,
Date_ DATE NOT NULL,
PD_Type_Id INT NOT NULL,
Product_ID INT NOT NULL,
Unit_Annotation CHAR(10) NOT NULL,
Store_ID INT NOT NULL,
Vendor_ID INT NOT NULL,
Consignment_ID INT NOT NULL,
PRIMARY KEY (WH_Txn_No.),
FOREIGN KEY (Warehouse_ID) REFERENCES Warehouse(Warehouse_ID),
FOREIGN KEY (Date_) REFERENCES Date(Date_),
FOREIGN KEY (PD_Type_Id) REFERENCES Product_Type(PD_Type_Id),
FOREIGN KEY (Product_ID) REFERENCES Product_(Product_ID),
FOREIGN KEY (Unit_Annotation) REFERENCES Scaling_Unit_of_Material(Unit_Annotation),
FOREIGN KEY (Store_ID) REFERENCES Store(Store_ID),
FOREIGN KEY (Vendor_ID) REFERENCES Supplier(Vendor_ID),
FOREIGN KEY (Consignment_ID) REFERENCES Consignment_Details(Consignment_ID)
);
Star Schema
Key Performance Indicators in Sales Performance
● Sales turnover from each type of store:
Flowchart and illustrative output to achieve the above KPI
Store Type
Revenue (in $
millions)
Supermarket 76
Small Grocery 44
Gourmet Supermarket 60
Deluxe Supermarket 34
Mid-Size Grocery 88
Data
Visualization
of Illustration
Key Performance Indicators in Sales Performance
● Sales turnover from each type of store:
Key aspects of the KPI:
● Cause and effect analysis of the best and
worst performing store type
● Areas of study could be:
○ Location of stores
○ Mode of payments
○ Forecast of goods in demand
○ Staff behaviour
○ Competitor analysis in the particular
type of store
○ Discounts
● Total number of stores in each store type vs
revenue, i.e, revenue of sales per store in a
particular store type
● Total stock capacity of various stock types
● Average proximity of store location from
warehouse in each store type
Key Performance Indicators in Sales Performance
● Product selling as per store:
Flowchart and illustrative output to achieve the above KPI
Data Visualization of Illustration
Store ID
Revenue (in
$ '000)
1 2
2 7
3 9
4 3
5 7
6 7
7 7
8 6
9 4
10 8
11 2
12 1
13 7
14 6
15 2
16 2
17 8
18 1
19 7
20 8
21 7
22 2
23 1
24 3
Key Performance Indicators in Sales Performance
● Product selling as per store:
Key aspects of the KPI:
● Results hypothesis testing of the chart in
previous slide, could be used to identify
stores with high and low demand of particular
product(s)
● Comparison of different products of the same
product type could be done to map product
distribution
● Issues related to low stock-turnovers could be
resolved
● Efficient shelf management in small grocery
category or smaller outlets could be achieved
● Helps to study the customer behavior
hierarchy for various stores
● Helps in bulk procurements of goods by the
warehouses
Key Performance Indicators in Promotion Performance
● Effect of promotion on sales of products: Flowchart, illustrative example and inference
Key aspects of the KPI:
● Impact of promotion on the sales could be compared
● Best promotion strategy could be deduced by comparing sales of
products after various types of promotions in different platforms
● Trending methods of promotions could be implemented across
product range for various locations
● Further,relevance of various kind of promotions for different cohorts
of customers could be deduced
Promotion
Revenue
(in $ '000)
Newspaper 1
Television 2
Radio 2
Leafelet 3
Facebok 6
Instagram 9
Free
Samples 9
Key Performance Indicators in Customer Preferences & Buying Patterns
● Effect of professions on the buying patterns:
Flowchart and inference to achieve the above KPI Inference of the report under the KPI:
● The pie chart output would help to identify
professions of the regular customers
● Identification of contribution on the revenue by
each cohort based on customers’ profession
● Further slicing and dicing could be done to
identify store type or store preferred by each
cohort
● Slicing and dicing could be done to identify
products in various product types preferred by
each cohort
● For queue management, average invoicing value
of each cohort can be used to allocate billing
counters in the corresponding stores dominated
by each cohort
● Particular days in a week could be identified,
where most of transactions take place by specific
cohort
● Value chain for each such cohort could be further
planned
Key Performance Indicators in Customer Preferences & Buying Patterns
● Effect of professions on the buying patterns: Few more flowcharts as per the above KPI
Conclusion
● The fact table of the data warehouse should have
necessary metadata and metrics to address all the KPIs
● Data Marts are generated from the data warehouse
● KPIs could be better understood using interfaces which
can visualise the data
● ETL should should extract raw data and transform it for
loading in singular format, which is also used in the
data warehouse, i.e., if date in warehouse bears format
dd-mm-yyyy but the raw data is provided in the format
mm-dd-yyyy, then ETL tool should transform the date of
raw data into dd-mm-yyyy format
Bibliography
❏ https://www.slideshare.net/siddharthchaudhary39/data-ware
house-project-on-retail-store-86821154
❏ https://www.guru99.com/data-warehouse-architecture.html
❏ Tool used for schema: https://erdplus.com
❏ Tool used for flowchart:
https://lucid.app/documents#/dashboard
❏ Tool used for data visualisation illustrations: Google
Sheets
Thank You

More Related Content

Similar to Data Warehousing Case Study on Sales, Products and Customers

Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Cengage Learning
 
Modelado Dimensional 4 Etapas
Modelado Dimensional 4 EtapasModelado Dimensional 4 Etapas
Modelado Dimensional 4 EtapasRoberto Espinosa
 
BI for FMCG&Retail
BI for FMCG&RetailBI for FMCG&Retail
BI for FMCG&Retailabhirup1985
 
SALES_FORECASTING of sparkflows.pdf
SALES_FORECASTING of sparkflows.pdfSALES_FORECASTING of sparkflows.pdf
SALES_FORECASTING of sparkflows.pdfSparkflows
 
Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)Raimonds Simanovskis
 
Introduction to Dimesional Modelling
Introduction to Dimesional ModellingIntroduction to Dimesional Modelling
Introduction to Dimesional ModellingAshish Chandwani
 
Integrated Analytical Model
Integrated Analytical ModelIntegrated Analytical Model
Integrated Analytical ModelIgor Panivko
 
Demand forecasting case study
Demand forecasting case studyDemand forecasting case study
Demand forecasting case studyRupam Devnath
 
IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxReneeClintGortifacio
 
Data warehouse and Business Intelligence for a Sports Goods Company
Data warehouse and Business Intelligence for a Sports Goods CompanyData warehouse and Business Intelligence for a Sports Goods Company
Data warehouse and Business Intelligence for a Sports Goods CompanyBalaji Katakam
 
Wooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersWooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersLucinda Linde
 
Database Project for Starbucks (SQL)
Database Project for Starbucks (SQL)Database Project for Starbucks (SQL)
Database Project for Starbucks (SQL)Ruibing Ji
 
Intro to Data warehousing lecture 15
Intro to Data warehousing   lecture 15Intro to Data warehousing   lecture 15
Intro to Data warehousing lecture 15AnwarrChaudary
 
Data Wrangling Questionnaire
Data Wrangling QuestionnaireData Wrangling Questionnaire
Data Wrangling QuestionnaireMimi Brown
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptssuser39e08e
 
Sales Strategy Plan Powerpoint Presentation Slides
Sales Strategy Plan Powerpoint Presentation SlidesSales Strategy Plan Powerpoint Presentation Slides
Sales Strategy Plan Powerpoint Presentation SlidesSlideTeam
 
ContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxmaxinesmith73660
 

Similar to Data Warehousing Case Study on Sales, Products and Customers (20)

Data warehousing
Data warehousingData warehousing
Data warehousing
 
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Compu...
 
BI in FMCG
BI in FMCGBI in FMCG
BI in FMCG
 
Modelado Dimensional 4 Etapas
Modelado Dimensional 4 EtapasModelado Dimensional 4 Etapas
Modelado Dimensional 4 Etapas
 
BI for FMCG&Retail
BI for FMCG&RetailBI for FMCG&Retail
BI for FMCG&Retail
 
SALES_FORECASTING of sparkflows.pdf
SALES_FORECASTING of sparkflows.pdfSALES_FORECASTING of sparkflows.pdf
SALES_FORECASTING of sparkflows.pdf
 
Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)
 
Introduction to Dimesional Modelling
Introduction to Dimesional ModellingIntroduction to Dimesional Modelling
Introduction to Dimesional Modelling
 
Integrated Analytical Model
Integrated Analytical ModelIntegrated Analytical Model
Integrated Analytical Model
 
Demand forecasting case study
Demand forecasting case studyDemand forecasting case study
Demand forecasting case study
 
IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptx
 
Data warehouse and Business Intelligence for a Sports Goods Company
Data warehouse and Business Intelligence for a Sports Goods CompanyData warehouse and Business Intelligence for a Sports Goods Company
Data warehouse and Business Intelligence for a Sports Goods Company
 
Dwbi Project
Dwbi ProjectDwbi Project
Dwbi Project
 
Wooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit CustomersWooing the Best Bank Deposit Customers
Wooing the Best Bank Deposit Customers
 
Database Project for Starbucks (SQL)
Database Project for Starbucks (SQL)Database Project for Starbucks (SQL)
Database Project for Starbucks (SQL)
 
Intro to Data warehousing lecture 15
Intro to Data warehousing   lecture 15Intro to Data warehousing   lecture 15
Intro to Data warehousing lecture 15
 
Data Wrangling Questionnaire
Data Wrangling QuestionnaireData Wrangling Questionnaire
Data Wrangling Questionnaire
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.ppt
 
Sales Strategy Plan Powerpoint Presentation Slides
Sales Strategy Plan Powerpoint Presentation SlidesSales Strategy Plan Powerpoint Presentation Slides
Sales Strategy Plan Powerpoint Presentation Slides
 
ContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docx
 

Recently uploaded

Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 

Recently uploaded (20)

Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 

Data Warehousing Case Study on Sales, Products and Customers

  • 1. Case Study on Data Warehousing Name: Tej Narayan Shaw Roll: 107/MBA/191107 MBA-Day (BASM), 2019-2021 Batch Paper & Code: Business Intelligence & Data Warehousing (B30)
  • 2. Acknowledgment I would like to express my heartfelt gratitude towards our institute’s Director Shri. Dipankar Das Gupta, our Head of the Department Prof. Dr. Tanima Ray, our esteemed faculty Professor Subhasis Ray and all my other teachers at the Indian Institute of Social Welfare and Business Management for their guidance and invaluable advice throughout the course of this project. I would also like to acknowledge my family, friends and each and every one who contributed to this project work either directly or indirectly. Regards, Tej Narayan Shaw
  • 3. Index Problem Set: Background 4 Problem Set: Issues discussed in the presentation 5 The Business Process 6 Process to solve the problem set 7 Dimensions 8, 9, 10, 11, 12, 13 Fact Tables 14, 15 Star Schema 16 Key Performance Indicators in Sales Performance 17, 18, 19, 20 Key Performance Indicators in Promotion Performance 21 Key Performance Indicators in Customer Preferences & Buying Patterns 22, 23 Conclusion 24 Bibliography 25
  • 4. Problem Set: Background ● ABC Retail chain operating in USA, Canada and Mexico. ● Foodmart has following types of stores: ○ Supermarket ○ Small Grocery ○ Gourmet Supermarket ○ Deluxe Supermarket ○ Mid-size Grocery ● Operation started in 1990. ● Total of 24 different outlets and 10 warehouses.
  • 5. Problem Set: Issues discussed in the presentation ● Sales turnover from each type of store ● Product selling as per store ● Effect of promotion on sales of products Customer Preferences & Buying Patterns ● Effect of professions on the buying patterns Promotion Performance Sales Performance
  • 6. The Business Process ● Indents for exhausted SKUs are raised at store levels ● Indents goes to corresponding warehouse in the network ● Warehouse raises PO to suppliers/manufacturers/farmers proportional to indents from various stores ● Suppliers supply against PO and raises invoice ● Payments cleared as per purchase invoice ● Stocks transferred to stores from warehouse as per indents ● At the end, stocks sold out to customers through various means of sale from the stores ● Sales are done using digital and brick and mortar medium
  • 7. Process to solve the problem set ● We are using Kimball’s approach of dimensional modelling for our data warehouse ● The modelling consists of dimensions and facts ● Fact consists of consists of data which could be measured or used for logical processioning, such as clustering, classification, trending, etc. ● Dimensions consists of the metadata about the data used in facts ● In context of relational schema, dimensions are tables with primary keys and other attributes, and fact(s) consists of measurable attributes and uses the primary keys of dimensions as function keys ● Before creating the fact(s) table, dimensions must pass through ETL process, so that data has single version in the data warehouse ● Using Star Schema, the relationships between dimensions and fact(s) are shown
  • 8. Dimensions CREATE TABLE Customer ( Customer_ID INT NOT NULL, Customer_Name CHAR(50) NOT NULL, Customer_Location CHAR(50) NOT NULL, Cust_Mob INT NOT NULL, Cust_email CHAR(50) NOT NULL, Profession_ID INT NOT NULL, PRIMARY KEY (Customer_ID), FOREIGN KEY (Profession_ID) REFERENCES Customer_Profession(Cust_Profession_ID) ) ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Customer_Profession ( Cust_Profession_ID INT NOT NULL, Profession_Name INT NOT NULL, PRIMARY KEY (Cust_Profession_ID) );
  • 9. Dimensions ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Warehouse ( Warehouse_ID INT NOT NULL, Warehouse_address CHAR(50) NOT NULL, Telephone INT NOT NULL, Email CHAR(20) NOT NULL, PRIMARY KEY (Warehouse_ID) ); CREATE TABLE Promotion ( Sales_Promotion_ID INT NOT NULL, Promotion/Campaign_Name INT NOT NULL, Description INT NOT NULL, Cost_of_Promotion INT NOT NULL, PRIMARY KEY (Sales_Promotion_ID) );
  • 10. Dimensions ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Product_Type ( PD_Type_Id INT NOT NULL, Product_Type_Name INT NOT NULL, PRIMARY KEY (PD_Type_Id) ); CREATE TABLE Date ( Date_ DATE NOT NULL, Day INT NOT NULL, Month INT NOT NULL, Year INT NOT NULL, Quarter INT NOT NULL, PRIMARY KEY (Date_) );
  • 11. Dimensions ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Warehouse ( Warehouse_ID INT NOT NULL, Warehouse_address CHAR(50) NOT NULL, Telephone INT NOT NULL, Email CHAR(20) NOT NULL, PRIMARY KEY (Warehouse_ID) ); CREATE TABLE Product_ ( Product_ID INT NOT NULL, Product_Name INT NOT NULL, PD_Type_Id INT NOT NULL, PRIMARY KEY (Product_ID), FOREIGN KEY (PD_Type_Id) REFERENCES Product_Type(PD_Type_Id) );
  • 12. Dimensions ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Store ( Store_ID INT NOT NULL, Store_Location CHAR(24) NOT NULL, Country CHAR(20) NOT NULL, Phone INT NOT NULL, email_ID INT NOT NULL, Store_Type_ID INT NOT NULL, PRIMARY KEY (Store_ID), FOREIGN KEY (Store_Type_ID) REFERENCES Store_Type(Store_Type_ID) ); CREATE TABLE Store_Type ( Store_Type_ID INT NOT NULL, Type_Name CHAR(50) NOT NULL, PRIMARY KEY (Store_Type_ID) );
  • 13. Dimensions ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Supplier ( Vendor_ID INT NOT NULL, Vendor_Name CHAR(50) NOT NULL, Telephone INT NOT NULL, Email CHAR(50) NOT NULL, PRIMARY KEY (Vendor_ID) ); CREATE TABLE Consignment_Details ( Venhicle_Details INT NOT NULL, From INT NOT NULL, To INT NOT NULL, Expense INT NOT NULL, Description VARCHAR(50) NOT NULL, Consignment_ID INT NOT NULL, PRIMARY KEY (Consignment_ID) );
  • 14. Fact Tables ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Sales_Trans ( Stock_before_Sale INT NOT NULL, Stock_After_Sale INT NOT NULL, Quantity_Enquired INT NOT NULL, Quantity_Supplied INT NOT NULL, MRP_per_unit INT NOT NULL, Cost_per_unit INT NOT NULL, Discount INT NOT NULL, Revenue INT NOT NULL, Expense INT NOT NULL, Income INT NOT NULL, Store_Txn_No. INT NOT NULL, Warehouse_ID INT NOT NULL, Customer_ID INT NOT NULL, Profession_ID INT NOT NULL, Date_ DATE NOT NULL, Sales_Promotion_ID INT NOT NULL, PD_Type_Id INT NOT NULL, Product_ID INT NOT NULL, Unit_Annotation CHAR(10) NOT NULL, Store_Type_ID INT NOT NULL, Store_ID INT NOT NULL, Consignment_ID INT NOT NULL, PRIMARY KEY (Store_Txn_No.), FOREIGN KEY (Warehouse_ID) REFERENCES Warehouse(Warehouse_ID), FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID), FOREIGN KEY (Profession_ID) REFERENCES Customer_Profession(Cust_Profession_ID), FOREIGN KEY (Date_) REFERENCES Date(Date_), FOREIGN KEY (Sales_Promotion_ID) REFERENCES Promotion(Sales_Promotion_ID), FOREIGN KEY (PD_Type_Id) REFERENCES Product_Type(PD_Type_Id), FOREIGN KEY (Product_ID) REFERENCES Product_(Product_ID), FOREIGN KEY (Unit_Annotation) REFERENCES Scaling_Unit_of_Material(Unit_Annotation), FOREIGN KEY (Store_Type_ID) REFERENCES Store_Type(Store_Type_ID), FOREIGN KEY (Store_ID) REFERENCES Store(Store_ID), FOREIGN KEY (Consignment_ID) REFERENCES Consignment_Details(Consignment_ID) );
  • 15. Fact Tables ETL queries & relational diagram from OLTP to Dimensional Model: CREATE TABLE Procurement_Trans ( WH_Txn_No. INT NOT NULL, In_stock INT NOT NULL, Out_Stock INT NOT NULL, In_Stock_Value INT NOT NULL, Out_Stock_Value INT NOT NULL, Warehouse_ID INT NOT NULL, Date_ DATE NOT NULL, PD_Type_Id INT NOT NULL, Product_ID INT NOT NULL, Unit_Annotation CHAR(10) NOT NULL, Store_ID INT NOT NULL, Vendor_ID INT NOT NULL, Consignment_ID INT NOT NULL, PRIMARY KEY (WH_Txn_No.), FOREIGN KEY (Warehouse_ID) REFERENCES Warehouse(Warehouse_ID), FOREIGN KEY (Date_) REFERENCES Date(Date_), FOREIGN KEY (PD_Type_Id) REFERENCES Product_Type(PD_Type_Id), FOREIGN KEY (Product_ID) REFERENCES Product_(Product_ID), FOREIGN KEY (Unit_Annotation) REFERENCES Scaling_Unit_of_Material(Unit_Annotation), FOREIGN KEY (Store_ID) REFERENCES Store(Store_ID), FOREIGN KEY (Vendor_ID) REFERENCES Supplier(Vendor_ID), FOREIGN KEY (Consignment_ID) REFERENCES Consignment_Details(Consignment_ID) );
  • 17. Key Performance Indicators in Sales Performance ● Sales turnover from each type of store: Flowchart and illustrative output to achieve the above KPI Store Type Revenue (in $ millions) Supermarket 76 Small Grocery 44 Gourmet Supermarket 60 Deluxe Supermarket 34 Mid-Size Grocery 88 Data Visualization of Illustration
  • 18. Key Performance Indicators in Sales Performance ● Sales turnover from each type of store: Key aspects of the KPI: ● Cause and effect analysis of the best and worst performing store type ● Areas of study could be: ○ Location of stores ○ Mode of payments ○ Forecast of goods in demand ○ Staff behaviour ○ Competitor analysis in the particular type of store ○ Discounts ● Total number of stores in each store type vs revenue, i.e, revenue of sales per store in a particular store type ● Total stock capacity of various stock types ● Average proximity of store location from warehouse in each store type
  • 19. Key Performance Indicators in Sales Performance ● Product selling as per store: Flowchart and illustrative output to achieve the above KPI Data Visualization of Illustration Store ID Revenue (in $ '000) 1 2 2 7 3 9 4 3 5 7 6 7 7 7 8 6 9 4 10 8 11 2 12 1 13 7 14 6 15 2 16 2 17 8 18 1 19 7 20 8 21 7 22 2 23 1 24 3
  • 20. Key Performance Indicators in Sales Performance ● Product selling as per store: Key aspects of the KPI: ● Results hypothesis testing of the chart in previous slide, could be used to identify stores with high and low demand of particular product(s) ● Comparison of different products of the same product type could be done to map product distribution ● Issues related to low stock-turnovers could be resolved ● Efficient shelf management in small grocery category or smaller outlets could be achieved ● Helps to study the customer behavior hierarchy for various stores ● Helps in bulk procurements of goods by the warehouses
  • 21. Key Performance Indicators in Promotion Performance ● Effect of promotion on sales of products: Flowchart, illustrative example and inference Key aspects of the KPI: ● Impact of promotion on the sales could be compared ● Best promotion strategy could be deduced by comparing sales of products after various types of promotions in different platforms ● Trending methods of promotions could be implemented across product range for various locations ● Further,relevance of various kind of promotions for different cohorts of customers could be deduced Promotion Revenue (in $ '000) Newspaper 1 Television 2 Radio 2 Leafelet 3 Facebok 6 Instagram 9 Free Samples 9
  • 22. Key Performance Indicators in Customer Preferences & Buying Patterns ● Effect of professions on the buying patterns: Flowchart and inference to achieve the above KPI Inference of the report under the KPI: ● The pie chart output would help to identify professions of the regular customers ● Identification of contribution on the revenue by each cohort based on customers’ profession ● Further slicing and dicing could be done to identify store type or store preferred by each cohort ● Slicing and dicing could be done to identify products in various product types preferred by each cohort ● For queue management, average invoicing value of each cohort can be used to allocate billing counters in the corresponding stores dominated by each cohort ● Particular days in a week could be identified, where most of transactions take place by specific cohort ● Value chain for each such cohort could be further planned
  • 23. Key Performance Indicators in Customer Preferences & Buying Patterns ● Effect of professions on the buying patterns: Few more flowcharts as per the above KPI
  • 24. Conclusion ● The fact table of the data warehouse should have necessary metadata and metrics to address all the KPIs ● Data Marts are generated from the data warehouse ● KPIs could be better understood using interfaces which can visualise the data ● ETL should should extract raw data and transform it for loading in singular format, which is also used in the data warehouse, i.e., if date in warehouse bears format dd-mm-yyyy but the raw data is provided in the format mm-dd-yyyy, then ETL tool should transform the date of raw data into dd-mm-yyyy format
  • 25. Bibliography ❏ https://www.slideshare.net/siddharthchaudhary39/data-ware house-project-on-retail-store-86821154 ❏ https://www.guru99.com/data-warehouse-architecture.html ❏ Tool used for schema: https://erdplus.com ❏ Tool used for flowchart: https://lucid.app/documents#/dashboard ❏ Tool used for data visualisation illustrations: Google Sheets