This report discusses the concept and design of a data warehouse, focusing on the data warehouse bus matrix. It explains the different business processes and data marts involved in a retail sales data mart. The report also provides an overview of the star schema for the retail sales data mart.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Data Warehouse Concept and Design April 27 201 9 Student ID: Student Name:
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Report Data Warehouse Bus Matrix Data Marts Business Processes Serve Patients Retail Sales Pay purchases by cash, cheque, bank card, visa card and master card xx Pay purchases by American Express Card xx Monitoring patient drug therapiesx Online Purchasex Check balance of productsxx Observe hot selling productsx Notify central warehouse for orders of products xx Receive delivered productsxx Update inventory databasexx Send weekly sales report to HQxx Store POS transactionx Store receipt file for sales of productsx Send monthly sales report to HQxx Store VIP buyer card information of customers xx Assign VIP classes to customersxx Store product detailxx Store promotion detailx Analyse sales revenuexx Maintain supply chainsxx Seek cost saving opportunitiesx Negotiate agreementsxx Issue purchase requisitionsxx Issue purchase orderxx Track receiptsxx Authorize paymentsxx Agreements for discount on goodsxx HQ distributes list of suppliers and products to stores xx
Generate business revenuexx Analyse income for different productsxx Analyst customer behavioursxx Analyse location performancex Analyse business performancexx
Star Schema for Retail Sales Data Mart ( Dynamic News 2015) (Kirpes D. n.d.)
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
The Retail Sales data mart is used to do all required calculations on sale of products in Chemist Warehouse Groups. It also calculates the total sales revenue. There is one fact table- salesFact and ten dimensions table- product, customer, supplier, store, location, date, time, paymentType, advertising, promotion. The customer dimension table contains the customer’s detail and the primary key is customerID. The supplier dimension table contains the supplier’s detail and the primary key is supplierID. The product dimension table contains the product’s detail and the primary key is productID. The store dimension table contains the store’s detail and the primary key is storeID. The time dimension table contains the time’s detail and the primary key is timeID. The date dimension table contains the date’s detail and the primary key is dateID. The paymentType dimension table contains the detail of types of payments supported in Chemist Warehouse Group and the primary key is typeCode. The promotion dimension table contains the detail about promotions held in Chemist Warehouse Group and the primary key is promotionID. The location dimension table contains the detail about locations of customers, stores etc. of Chemist Warehouse Group and the primary key is locationID. The advertising dimension table contains the detail about advertisements, type of advertisements etc.and the primary key is advertisementID.
Fact Granularity Fact Table Name Fact GranularityFact Table Type Brief Justification salesFactlineItemPrice Fact – ‘$100’ CommulativeIt holds the price of line item. It is an additive fact because it can be summed up. salesFactlineItemDiscount Fact – ‘$2’ CumulativeIt holds the discount on line item. It is an additive fact because it can be summed up salesFactlineItemQty Fact – ‘2’ CumulativeIt holds the available quantity of line item. It is an additive fact because it can be summed up salesFactlineItemTotalAmount Fact – ‘$210’ CumulativeIt holds the total amount of line item. It is an additive fact because it can be summed up salesFactlineItemTax Fact – ‘$10’ CumulativeIt holds the tax on line item. It is an additive fact because it can be summed up salesFactlineItemAvgAmt Fact– ‘$100’ CumulativeIt holds the average amount of line item. It is not an additive fact. salesFactlineItemAvgDiscount Fact –‘$2’ CumulativeIt holds the average discount on line item. It is an additive fact. salesFactrequestShipDate - ‘#04/04/2019#’ CumulativeIt holds the requested shipping date of line item by customer. salesFactfillRate Fact – ‘4’CumulativeIt holds the fill rate of the supplier. salesFactpurchaseCost Fact –‘$90’ CumulativeIt holds the cost of purchase of line item. It is an additive fact. salesFactnegotiableCost Fact –‘$92’ CumulativeIt holds the negotiable cost of purchase of line item with supplier.
salesFactsalesRevenue Fact –‘$20000’ CumulativeIt holds the sales revenue. It is an additive fact. Dimension Table’s Overview Dimension Table NameBrief JustificationAttribute Hierarchies ProductIt is the dimension table of the Retail Sales Data Mart which contains the data about products. CustomerIt is the dimension table of the Retail Sales Data Mart which contains the data about customers. StoreIt is the dimension table of the Retail Sales Data Mart which contains the data about stores. LocationIt is the dimension table of the Retail Sales Data Mart which contains the data about locations of customers and stores etc. DateIt is the dimension table of the Retail Sales Data Mart which contains the data about order dates, request ship dates etc. TimeIt is the dimension table of the Retail Sales Data Mart which contains the data about timings of order dates, request ship dates etc. SupplierIt is the dimension table of the Retail Sales Data Mart which contains the data about suppliers. PaymentTypeIt is the dimension table of the Retail Sales Data Mart which contains the data about types of payments e.g. online, physically by cash, cheque, master card etc. debitCardNumber – Debit Card ID and Debit Card Name PromotionIt is the dimension table of the Retail Sales Data Mart
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
which contains the data about promotions. AdvertisingIt is the dimension table of the Retail Sales Data Mart which contains the data about advertisements, types of advertisement etc. (Dan Kirpes n.d.) (1keydata 2019) Design features Design FeatureBrief DescriptionBrief Justification Confirmed DimensionsWhen a dimension table is used with number of fact tables, that is called confirmed dimensions. Dimension tables paymentType, customer, product etc. will be used with salesFact tact table of Retail Sales data mart and serverPatient fact table of Server Patients data mart. Null Foreign KeysIn fact table there may be some null foreign keys. PromotionID will be null if the sale is without nay promotion or event. Junk DimensionsWhen there are number of miscellaneous indicators etc. then we make junk dimensions for all of them in spite of making separate tables. Date and Time are the junk dimensions.
Business Questions What category and brand of products are the most popular in this year? Has this always been the case or has there been a shift in recent years? What particular product is most popular across nation, what is the total sale in past 3 years? ProductID, UPC, brand, category fields of product dimension table and productId, salesRevenue fields of SalesFact table are required to answer the above question. Are there certain times of the year when more products are sold? Which day of the week more products sold? calenderDate, dayofWeek fields of Date dimension table and productId, salesRevenue fields of SalesFact table are required to answer the above question. What products are short of supply in this month? Has this always been the case in whole year? The totalQty field of the product table is required to answer the above question. What areas of customers are frequently buyers at our stores in last 12 months? calenderDate of Date dimension table, customerID and name of customer dimention table and name in the location table are required to answer the above question. What are top 3 stores have the highest sales across the country? Storied, storeName fields of store dimension table and salesRevenue field of salesFact tables are required to answer the above question. How many patients are regular using our medications? Which medication is the most selling product? CustomerId field of customer table, UPC field of product table and customerId, productId fields of salesFact tables arerequired to answer the above question. Which age group of customers is most likely using our Vitamins across nation? Does this vary across different location or times of the year? UPC, category fields of product dimension table, customerName field of the Customer dimention table are required to answer the above question. Yes, it may vary across different location or times of the year.
Does the promotion activity provide the benefits to the business? Yes, it provides benefits to the business because it increases the sale of products. promotionId, promotionName of the promotion dimension table and salesRevenue field of the salesFact tables are required to answer the above question The promotion period in Christmas month has increased the sales comparing with the same period in last year? The startDate, endDate fields of the promotion dimension table, dateId and salesRevenue fields of salesFact table are required to answer the above question Any products have not been sold out during the promotion period? The startDate, endDate fields of the promotion dimension table, productId field of salesFact table are required to answer the above question Who are the most loyal customers (top 5) to our business? What is the main location of those people purchasing the most expensive cosmetics products? The customerID, customerName fields of the customer dimension table, locationId, name fields of the location dimension table and salesRevenue field of salesFact table are required to answer the above question Do customers prefer to go online purchases or buy product physically at local store? The typeDetail field of the paymentType dimention table isrequired to answer the above question. Do VIP members bring more business to our company? VIPClass field of the customer dimension table and salesRevelue field of the salesFact table isrequired to answer the above question.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
References Dynamic News (2015). Designing Star Schema. [Online] Available from: http://www.learndatamodeling.com/star.php#.UZIFLaKSA_Y Kirpes D. (n.d.), Dimensional Model Data Warehouse: An Introduction (What). [Online] Available from: http://www.lexjansen.com/wuss/2003/DatabaseManagement/c- dimensional_model_data_warehouse_introduction.pdf TechTarget (2019). Star Schema in Database: Guide to Construction and Composition. [Online] Available from: http://searchbusinessintelligence.techtarget.in/tutorial/Star-schema-in-database-Guide- to-construction-and-composition 1keydata (n.d.). Fact Table Granularity. [Online] Available from: http://www.1keydata.com/datawarehousing/fact-table-granularity.html