1 All Powder Board and Ski Microsoft Access Workbook Chapter 9: Data Warehouses and Data Mining Jerry Post Copyright © 2007.

Slides:



Advertisements
Similar presentations
NWCA OPC Coaches Tutorial Roster, Schedules, Weigh-Ins, Results, and Reports.
Advertisements

All Powder Board and Ski
1 All Powder Board and Ski Microsoft Access Workbook Chapter 8: Applications Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 5: Advanced Queries Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 6: Forms and Reports Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Database Administration Jerry Post Copyright © 2007.
© 2014 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Chapter 1 The Study of Body Function Image PowerPoint
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module D (Office 2007 Version) Decision Analysis.
BASIC SKILLS AND TOOLS USING ACCESS
Tutorial 3 – Creating a Multiple-Page Report
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel PivotTable List Feature Creating a PivotTable List Web Page Using Excel.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
School of Geography FACULTY OF ENVIRONMENT Working with Tables 1.
1 An Introduction to Pivot Tables Using Excel 2000.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Microsoft Access.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Introducing WebDewey 2.0. Introducing WebDewey 2.0.
Pivot Tables Overview 1. What are Pivot Tables Pivot tables in Excel are a versatile reporting tool that makes it easy to extract information from large.
Benchmark Series Microsoft Excel 2013 Level 2
CREATING A PAYMENT REQUEST FOR A NEW VENDOR
1 Displaying Open Purchase Orders (F/Y 11). 2  At the end of this course, you should be able to: –Run a Location specific report of all Open Purchase.
Chapter 5 Microsoft Excel 2007 Window
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Collin College Credit Exam
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
Benchmark Series Microsoft Excel 2010 Level 1
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Excel Lesson 12 Creating PivotTables and PivotCharts Microsoft Office 2010 Advanced Cable / Morrison 1.
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Computer Concepts BASICS 4th Edition
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 8Integrating Access Data.
Benchmark Series Microsoft Excel 2013 Level 2
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 6Protecting and Sharing Workbooks.
Contract Audit Follow-Up (CAFU) 3.5 Pre-Defined & Ad hoc Reports November 2009 ITCSO Training Academy.
Benchmark Series Microsoft Excel 2013 Level 2
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
BUSINESS DRIVEN TECHNOLOGY Decision Analysis Tools in Excel
Using Excel to Understand Your Data Clayton County Public Schools Department of Research, Evaluation and Assessment Assistant Principal In-Service.
Managing Grades with Excel Viewing Help To view Help 1.Open Excel on your computer. 2.In the top right hand corner of the Excel Screen type in the.
Microsoft Excel 2010 Chapter 8
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
1 All Powder Board and Ski Microsoft Access Workbook Chapter 4: Queries Jerry Post Copyright © 2007.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Summarizing with Range names and 3-D formulas Summarizing.
Working with Reports in Microsoft Excel Session Version 1.0 © 2011 Aptech Limited.
PIVOT TABLES AND CHARTS CS1100 Computer Science and its Applications CS1100Pivot tables and charts1.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Analysing Data with Excel Viewing Help To view Help 1.On the Start menu, point to Programs, and then click Microsoft Excel. 2.On the Help menu,
1 All Powder Board and Ski Oracle 9i Workbook Chapter 4: Queries Jerry Post Copyright © 2003.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 8: Data Warehouses and Data Mining Jerry Post Copyright © 2003.
EXCEL CHAPTER 6. OBJECTIVES Create a PivotTable Change the values field Modify and Format PivotTable Create a PivotChart 2.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 8: Data Warehouses and Data Mining Jerry Post Copyright © 2003.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T3: Problem Solving Using Excel 2007.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
Problem Solving Using Excel
Chapter 6: Forms, Reports and Applications All Powder Board and Ski
Microsoft Excel 2007 – Level 2
Presentation transcript:

1 All Powder Board and Ski Microsoft Access Workbook Chapter 9: Data Warehouses and Data Mining Jerry Post Copyright © 2007

2 Desired Sales Cube Dimensions Sales Dimensions State (ship) Month Category Style SkillLevel Size Color Manufacturer BindingStyle WeightMax? ItemMaterial? WaistWidth?

3 Early Data: Spreadsheets

4 Action Choose File/Get External data/Import Read the Sales spreadsheet into a new table Read the Rental data into another new table Create new entries for CustomerID and EmployeeID equal to 0

5 Create Customer and Employee CustomerID and EmployeeID are missing from the old data. Instead of relying on blank cell values, create a new customer called Walk-in and a new employee called Employee Write down the ID numbers generated for these anonymous entries. If you use SQL, you can assign a value of zero to these entries. INSERT INTO Customer (CustomerID, LastName) Values (0,'Walk-in') INSERT INTO Employee (EmployeeID, LastName) Values (0,'Staff')

6 Extract Model Data SELECT DISTINCT OldSales.ModelID, OldSales.ManufacturerID, OldSales.Category, OldSales.Color, OldSales.ModelYear, OldSales.Graphics, OldSales.ItemMaterial, OldSales.ListPrice, OldSales.Style, OldSales.SkillLevel, OldSales.WeightMax, OldSales.WaistWidth, OldSales.BindingStyle FROM OldSales;

7 Action Create a new query in Design view Retrieve DISTINCT data from the new sales table Retrieve DISTINCT data from the new rental table Connect the two queries with a UNION Save the query

8 UNION Query for Models SELECT DISTINCT ModelID, ManufacturerID, Category, … FROM OldSales UNION SELECT DISTINCT ModelID, ManufacturerID, Category, … FROM OldRentals

9 Action Create a new query that retrieves DISTINCT values from the saved UNION query Verify that it works Add an INSERT INTO statement above the SELECT statement to copy the data to the ItemModel table Run the query Use a similar process to add SKU, ModelID, and Size to the Inventory table Follow a similar process to copy the Sales, Rental, SalesItem, and RentalItems tables

10 Insert Model Data into ItemModel INSERT INTO ItemModel (ModelID, ManufacturerID, Category, Color, ModelYear, Graphics, ItemMaterial, ListPrice, Style, SkillLevel, WeightMax, WaistWidth, BindingStyle) SELECT DISTINCT qryOldModels.ModelID, qryOldModels.ManufacturerID, qryOldModels.Category, qryOldModels.Color, qryOldModels.ModelYear, qryOldModels.Graphics, qryOldModels.ItemMaterial, qryOldModels.ListPrice, qryOldModels.Style, qryOldModels.SkillLevel, qryOldModels.WeightMax, qryOldModels.WaistWidth, qryOldModels.BindingStyle FROM qryOldModels;

11 Insert SKU Data into Inventory INSERT INTO Inventory (ModelID, SKU, Size, QuantityOnHand) SELECT DISTINCT qryOldInventory.ModelID, qryOldInventory.SKU, qryOldInventory.Size, 0 As QuantityOnHand FROM qryOldInventory; Note the use of the column alias to force a zero value for QuantityOnHand for each row

12 Copy Sales Data INSERT INTO Sales (SaleID, SaleDate, ShipState, ShipZIP, PaymentMethod) SELECT DISTINCT OldSales.SaleID, OldSales.SaleDate, OldSales.ShipState, OldSales.ShipZIP, OldSales.PaymentMethod FROM OldSales; Note that if you have added data to your Sales table, your existing SaleID values might conflict with these You can solve the problem by adding a number to these values so they are all larger than your highest ID INSERT INTO Sales (SaleID, SaleDate, ShipState, ShipZIP, PaymentMethod) SELECT DISTINCT OldSales.SaleID+5000, OldSales.SaleDate, OldSales.ShipState, OldSales.ShipZIP, OldSales.PaymentMethod FROM OldSales;

13 Copy SaleItem Rows INSERT INTO SaleItem (SaleID, SKU, QuantitySold, SalePrice) SELECT DISTINCT OldSales.SaleID+5000, OldSales.SKU, OldSales.QuantitySold, OldSales.SalePrice FROM OldSales; If you transformed the SaleID in the prior step for the Sale data, you must do the exact same calculation for SaleID in the SaleItem table

14 Action Create a new query in Design view Tables: Sale, SaleItem, Inventory, ItemModel, Manufacturer Columns: ShipState, PaymentMethod, SaleMonth with a format of yyyy-mm, and Value = QuantitySold*SalePrice Sum the Value column Test the query and save it

15 Query for PivotTable Include all desired sale dimensions Compute Value as quantity times price Format SaleDate as year and month: yyyy-mm

16 PivotTable Form Wizard

17 Action Choose Insert/Form Select AutoForm: PivotTable Select the saved query Drag the SaleMonth and drop it on the column fields position Drag the Category and ShipState fields and drop them on the row fields position Drag the Value field and drop it in the middle Detail section Drag the other fields and drop them at the top as filter fields for future use Scroll the main grid to the far right Drop the Value field in the Totals column

18 PivotTable Screen Place columns (month) Place rows (State, Category) Place Value last Place other columns

19 Action Create quarterly groups Click on the first month and right click on the third month to highlight them Right click and select the Group/Group Items option Right click on the new cell SaleMonth1 and change its Caption property to Quarter Right click on the Group1 cell and set its caption to 2001-Q1 Repeat the process for all quarters Use a similar process to group the four years Use the Collapse option to reduce the grid display

20 PivotTable Right click to select all columns and choose Hide Details

21 PivotTable Groups

22 Action Create a new Excel spreadsheet Choose Data/PivotTable and PivotChart Select External data source Click the Get Data button Browse to your database and select the query built in the previous section Create a PivotTable with the SaleMonth field as rows, the Category field as columns and Value as the Detail

23 Action Right click on the PivotTable and select the PivotChart option In the PivotChart worksheet remove all categories except Boards, Skis, Boots, and Clothes Right click to set the Chart Type as a Line Chart Right click each series and Add Trendline Choose a linear trend and forecast it for 3 periods ahead Set properties to improve the charts appearance

24 Action Make sure the Data Analysis Add-Ins are installed in Excel (Tools/Add-Ins) Choose Tools/Data Analysis Select T-Test Two-sample with unequal variances Compare the Board and Ski sales

25 Time Series Analysis: Excel

26 Action If you have Microsoft MapPoint Start a new Excel worksheet Create a PivotTable with rows for ShipState and columns for Board, Boots, Clothes, and Skis Create a second worksheet that copies the main data and titles from the PivotTable without the first title rows Save the file Insert a MapPoint chart Follow the wizard instructions to add a North American map with pie charts

27 GIS: Microsoft MapPoint The PivotTable places the data into rows and columns A dynamic copy of this sheet is used to remove the top rows

28 MapPoint Data Wizard

29 GIS Analysis of Sales

30 Action Use the database command File/Get External Data/Import to read the demographic spreadsheet data Create a query to combine the sales data by state with the demographic data Copy and paste the three columns of data into a new worksheet In Excel, choose Tools/Data Analysis/Regression Select the Value column as the Y-range and the population and income columns as the X-range Check the top row as label option Run the regression

31 Sales by State for Regression Note that some states are missing from the list.

32 Regression Setup You should include the label row but be sure to check the box to show you included it

33 Regression Results Relatively high R-square Population is a significant predictor, income is not