Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

13
Apex Supermarket Data Warehouse Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri Presentation 3: Demonstration and OLAP

Transcript of Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Page 1: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Apex Supermarket Data Warehouse

Presented By:Khalid Nour

Muhammad RizviRaghuram Vempali

Surekha Vemuri

Presentation 3: Demonstration and OLAP

Page 2: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

OutlineBackgroundBusiness NeedDimensions and FactRelational DatabaseCube ImplementationBI information

Page 3: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

BackgroundApex Supermarket is a supermarket chain

with 4 stores in TexasThey have stores in:

North Texas: DentonEast Texas: HoustonSouth Texas: LaredoCentral Texas: Lufkin

Page 4: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Business NeedHelp executive staff study the sale of

products by Categories, Regions, States, Cities, Stores, and Time

Executive Staff will be able to figure out sales revenue through the different dimension combinations

Give strategic information for the Executive Staff to make decisions on optimizing prices of products

Page 5: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Database and ToolsOnline Transaction Processing (OLTP)

Microsoft SQL Server 2008 is used as the RDBMS

Online Analytical Processing (OLAP)Microsoft SQL Server 2008 Analysis Services

Page 6: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Dimensions and Fact tablesDimension Tables:ProductStoreTimePromotionCard

Fact Table:Sales

Excel File.

Page 7: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Relational Database - SQL Server

DayOfWeekDimDayOfWeekID

SalesDayOfWeek

MonthDimMonthID

SalesMonth

ProductCategoryDimProductCategoryID

ProductCategory

ProductDimProductID

ProductCategoryID

ProductName

SalesPrice

ProductCost

PromotionCardDimCardID

CustFirstName

CustLastName

Street

City

StateAbbr

ZipCode

Gender

RegionDimRegionID

RegionName

SalesFactCardID

ProductID

DateID

StoreID

QuantitySold

StoreDimStoreID

RegionID

City

StateAbbr

ZipCode

TimeDimDateID

Date

MonthID

DayOfWeekID

Quarter

Year

Page 8: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Cube Implementation – SQL Server

Page 9: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Business Intelligence InformationGross Profit By RegionGross Profit By Store By MonthTotal Sales By Category By Store

Page 10: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Gross Profit By StoreStore ID Gross Profit

Laredo $32,175.33

Lufkin $39,728.77

Denton $73,019.43

Houston $17,861.39

Grand Total $162,784.92

Page 11: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Gross Profit By Store By MonthMonth Laredo Lufkin Denton HoustonGrand

TotalJanuary 2571.83 3927.16 7112.96 1411.54 15023.49February 2650.14 3414.83 6940.87 2024.37 15030.21March 3356.07 4359.15 6343.87 1001.22 15060.31April 2677.03 2552.75 5870.16 1825.5 12925.44May 3264.18 3687.11 4913.65 1301.39 13166.33June 2529.77 2747.7 5477.34 1847.35 12602.16July 2823.32 2915.64 6218.94 1306.37 13264.27

August 1957.19 3079.83 6993.92 1719.69 13750.63September 2611.64 2895.55 6220.05 1140.03 12867.27

October 2144.11 2794.02 6970.4 1923.04 13831.57November 2677.5 3476.57 5037.56 1231.35 12422.98December 2912.55 3878.46 4919.71 1129.54 12840.26Grand

Total32175.33 39728.873019.4317861.39162784.9

2

Page 12: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Total Sales By Product Category By StoreProduct Category ID

LaredoLufkinDentonHouston Grand Total

Fruits 186.00 458.50 450.50 362.50 1457.50

Vegetables 766.25 1880.50 1840.25 1343.00 5830.00

Sodas 374.00 1012.00 970.00 495.50 2851.50

Juices 1745.85 3738.65 4662.8 1813.5 11960.80

Water 445.00 1280.00 1140.00 635.00 3500.00

Alcohol 23101.10 14434.89

43248.94 3413.17 84198.10

Breakfast 810.00 1507.50 2416.50 828.00 5562.00

Bread 10722.27 5865.05 16488.38 4929.59 38005.29

Seasonings 136.25 153.69 190.75 141.70 622.39

Canned Goods 15965.43 16871.22

33967.15 8872.69 75676.49

Baby Supplies 2535.95 6314.37 11322.31 1866.23 22038.86

Grand Total 56788.10 53516.37

116697.58

24700.88 251702.93

Page 13: Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.

Questions