Exercise #8 [TEAM PROJECT] p. 1 of 2 Due: Sec 1 & Sec 2: Apr 21 (Thurs) Points: 40 points Pratt & Last: TAL Distributors Data Warehouse Assignments must have cover sheet (deliverable 1), table of contents (deliverable 2), and indicate the NAMES OF ALL TEAM MEMBERS and the TEAM NUMBER. Assignments must be typed using a word processor (Word, WordPerfect) and have a professional look. Use of ACCESS is REQUIRED for this assignment. Place Score sheet in front pocket pockets. • Perform a Data Warehouse ETL for TAL Distributors. Use your [corrected] Star Diagram from Exercise #7 and populate the tables in the model with the new data available at the course Web site, combining at least 6 teams. • Part 8.1 – Data Definitions: Use your corrected Star Diagram from Hwk #7 and other necessary data definition documentation. – Turn in a List of Relations (deliverable 3). On one (1) separate page, clearly list your fact and dimension tables using the simplified relational notation. E.g., EMPLOYEE [ENum, LastName, FirstName, … deptno, …] – Be sure to include the TEAM [and/or STATE, TERRITORY] data and add this keyfield for every record in the ORDER_DETAIL table. – Turn in copy of the Index Panes for each table (3a) – Turn in a printed ACCESS ERD of your Star Diagram (deliverable 4). May be from previous homework, if it was correct. – Turn in a printed copy of Documenter output (d5) of Table definitions [HINT: Tools/Analyze/Documenter/Tables – all tables] Exercise #8 [TEAM PROJECT] p. 2 of 2 • Part 8.2: Load data and print out your Fact and Dimension Tables. – Load the data provided by the instructor into your tables. • Note: Dates of all transactions should fall between 1/1/2008 and 12/31/2014 – Turn in Transformation Maps (d6): Carefully document any data cleansing activities that you performed. Note any data problems you encountered. – Create the necessary DETAILED transaction (lowest granularity) Fact Table that joins all the dimension tables. Show your SQL queries. – Turn in printouts of the contents of your fact and dimension tables (d7). Adjust their size and give them a professional look [reduce fonts to decrease paper waste]]. Use landscape orientation, when necessary. Make sure the data is in some reasonable order, such as ID or date, whichever is most appropriate. Print only the first 2 pages of each table. NOTE: See Scoresheet for Merge requirements & BONUS. 6 Merges beyond CA & FL. i.e., Your State PLUS 5 more!! • Part 8.3: Generate the following SQL Queries & REPORTS: – Use the your knowledge of SQL to create the following COMPUTED queries/views (SQL Query) and create the corresponding ACCESS REPORTS (all reports MUST have Grand total & Break-field Label, e.g. CustomerName, RepName, etc.): (d Tab3) 1. 2. 3. 4. Total Sales by Month (Subtotal by Year) Total Sales by Customer by Months for 2014-2015 (Subtotal by CustomerName ) Total Sales by Item by Month for 2014 (Subtotal by ItemName; ASC order by ItemName) Total Sales in 2008-2009 by RepName (DESC Order by Rep Sales within Year; Subtotal by Year for all Reps) 5. Total Sales by Territory (NE, SW, etc.) for 2008-2015 (Subtotal by Year); (Bonus 2pts) Download to EXCEL and graph it. 6. (BONUS 5pt) Total Sales by TeamID by Year (All Years; Subtotal by TeamID; and Grand Total) – Turn in printouts & SQL Code used for the 6 reports listed above (d8). – Turn in .accdb file (d9) with STAR models, data, views, reports (floppy, CD, e-mail attachment, or bring a flash disk to the instructor’s office). • Use this naming convention: TALDW08_TeamS.xx.accdb (standard naming convention) Territory Assignments Team State Territory ItemNo RepNo OrdNo CustNo 1 WA NW GME, C 090 010000 0100 2 OR NW GME, D 080 020000 0200 3 AZ SW GME, F 070 030000 0300 4 NM SW PZL, A 060 040000 0400 5 MO MW PZL, B 050 050000 0500 6 FL SE TOY, G 040 060000 0600 7 NY NE TOY, H 030 070000 0700 8 ME NE TOY, I 020 080000 0800 9 OK SW PZL, J 010 090000 0900 10 LA SE PZL, K 100 100000 1000 Territory Assignments Team State Territory ItemNo RepNo OrdNo CustNo 11 NE MW GME, L 110 110000 1100 12 ID NW GME, M 200 120000 1200 13 NV SW GME, N 190 130000 1300 14 TX SW PZL, P 180 140000 1400 15 KS MW PZL, R 170 150000 1500 16 AL SE TOY, S 160 160000 1600 17 NJ NE TOY, T 150 170000 1700 18 MA NE TOY, U 140 180000 1800 19 CO SW PZL, V 130 190000 1900 20 CA SW PZL, W 120 200000 2000