Week 5 – Nov 4, 2015 Data Analysis. Class today Last week & Homework review SQL: Purpose and functions Data Cleaning Pivot Tables, Power Pivots and Power.

Slides:



Advertisements
Similar presentations
Ashley Ohmann June 20, * What is Custom SQL? * What can I do with it? * Join conditions * Unions and Self Joins * Ranks * Derived Tables.
Advertisements

AXD05: Navigating business intelligence in Microsoft Dynamics AX
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Power BI overview Agenda  Microsoft Cloud  Office 365  Power BI – Analysis  Power BI – Share and Collaborate  Summary.
OLAP Services Business Intelligence Solutions. Agenda Definition of OLAP Types of OLAP Definition of Cube Definition of DMR Differences between Cube and.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
11 Artis Group Pty Limited Level 4,655 Pacific Hwy St Leonards, NSW, 2065 (02) September 2013 Microsoft Power BI Business.
USING PIVOT TABLES IN MICROSOFT EXCEL LOCAL GOVERNMENT CORPORATION RESOURCE 2015.
Powerful Self-Service BI with Excel 2013.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
Mgt 240 Lecture MS Excel and Access: Introduction to Databases September 23, 2004.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Barriers Enablers Operations manager Purchasing manager Purchasing agent Environmental mgr. Production manager Shop supervisor Warehouse manager.
04 | Building Stellar Data Visualizations Using Power View.
Matt Masson| Senior Program Manager
Tutorial 11: Connecting to External Data
Discover Combine Refine RelationalNon-relationalStreaming immersive data experiences connecting with worlds data any data, any size, anywhere Self-ServiceCollaborationCorporate.
Enables self-service data discovery, query, transformation and mashup experiences in Excel Discovery and connectivity to a wide range of data sources,
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
4/19/2017 Microsoft Power BI for Office 365 Pricing and Licensing Microsoft Internal Version May 2014 © 2012 Microsoft Corporation. All rights reserved.
PowerBI - Gain Insights using familiarity of Excel and power of the cloud with Office 365 Shashank Pawar (Microsoft) Fred Lecul (Scalability Experts)
4/20/2017 Power BI overview © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Process Efficiency Cost Reductio n Bringing Big Data to ONE BILLION people Develop New Business Models.
Overview of Analytics Capabilities for Excel 2013 Data Bob & Wilma Andrews Virginia Commonwealth University.
ASP.NET Programming with C# and SQL Server First Edition
New Ways to Analyze Data Ad-hoc Analysis Project-Centered Analytics in AX2012 Traditional forms of Data Analysis PM Role Center Q&A.
Relational DBs and SQL Designing Your Web Database (Ch. 8) → Creating and Working with a MySQL Database (Ch. 9, 10) 1.
Our Powers Combined: Query, Pivot, Map, and View A quick tour through the 4 pillars of Power BI February 11, 2014.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Import Data From Text Files and Other Sources Importing is the process of inserting data.
XP 1 Excel Tables Purpose of tables – Process data in a group – Used to facilitate calculations – Used to enhance readability of output Types of tables.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
The Last Mile: Delivering the Facts – Client Side Analysis.
Structure Query Language SQL. Database Terminology Employee ID 3 3 Last name Small First name Tony 5 5 Smith James
Exploring a Published Power BI Solution.
With Doug Atkins Getting Data Out of FASTER: Tips for the New & Experienced.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
Building Dashboards SharePoint and Business Intelligence.
Why Power Query? What’s New in Power Query? Coming Soon to Power Query.
DAY 21: ACCESS CHAPTER 6 & 7 Tazin Afrin October 31,
Process Efficiency Cost Reductio n Everyone should have access to the data they need. Develop New Business Models.
Introduction to SQL Server 2000 Reporting Services Jeff Dumas Technical Specialist Microsoft Corporation
Intro to Power BI Azhagappan Arunachalam.  Senior Database Architect   PowerBICentral.com  (blog on getting started.
Business Systems Analyst at MD Anderson Cancer Center Microsoft Office Specialist certified in SharePoint 2013 President of Houston SharePoint User Group.
Superhero Power BI Peter Myers Bitwise Solutions.
Jeff Einig, CPA Technical Solutions Professional.
Self-Service Data Integration with Power Query Stéphane Fréchette.
PivotTables Use a PivotTable report to analyze and summarize your data. MAN Micro-computers & Their Applications.
MAKING BUSINESS INTELLIGENT Brought to you by your local PASS Community! Self Service ETL with Power Query Welcome.
Microsoft Power Query 101 Belinda Allen Smith & Allen Consulting, Inc.
John Tran Business Program Manager, The Suddath Companies
Presented by: Teererai Marange
Getting Started with Power Query
7/4/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Excel and Power BI Better Together Democratization of data
Create and publish reports with Power BI for desktop
Data Analysis with Power BI
Power Query Discovery and connectivity to a wide range of data sources
12/6/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Michael Tejedor | Sr. Product Marketing Manager
SQL Fundamentals in Three Hours
Lecture 3 Finishing SQL
Contents Preface I Introduction Lesson Objectives I-2
Tutorial 7 – Integrating Access With the Web and With Other Programs
Donald Donais Minnesota SharePoint Users Group – April 2019
TechEd /23/2019 9:35 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Lectures 2: Introduction to SQL 1
Instructor: SAMIA ARSHAD
Microsoft Excel PowerPivot ….light & Easy
Assignment resource Working with Excel Tables, PivotTables, and Pivot Charts Fairhurst pp The commands on these slides work with the Week 2 Excel.
Presentation transcript:

Week 5 – Nov 4, 2015 Data Analysis

Class today Last week & Homework review SQL: Purpose and functions Data Cleaning Pivot Tables, Power Pivots and Power Query (again) exercise Lab on Power Pivots Homework

HOMEWORK & LAB REVIEW

SQL: PURPOSE AND FUNCTIONS

SQL Introduction SQL stands for: Structured Query Language It is the most commonly used relational database language today. SQL works with a variety of different programming languages & vendors such as Visual Basic, Tableau, Excel, etc.

SQL is used for: Data Manipulation – Query 1+ tables – Insert/Delete/Modify tuples in tables Data Definition – Create/Alter/Delete tables and their attributes (won’t do this in this class) Data Administration All are expressed with a SQL statement or command

Tables Explained The schema of a table is the table name and its attributes: Product(PName, Price, Category, Manfacturer) A key is an attribute whose values are unique; we underline a key Product(PName, Price, Category, Manfacturer) The DAMA Dictionary of Data Management

Tables Explained A tuple = a record (all attributes of atomic type) A table = a set of tuples (like a list, but unordered)

Database Set Up Instructions to load Northwind DB and AdventureWorks is available on canvas DEMO

Basic Query Structure

1) SELECT SELECT 1

2) FROM SELECT * FROM Person.Address * asks for every column in a table

3) COUNT(*) SELECT COUNT(*) FROM Person.Address Returns the number of records in a table

4) WHERE SELECT COUNT(*) FROM Person.Address WHERE City=‘Bothell’ WHERE: helps us filter our dataset

3) COUNT 5) GROUP BY 11)DISTINCT SELECT COUNT(PostalCode), City FROM Person.Address GROUP BY City SELECT DISTINCT PostalCode FROM Person.Address

5) GROUP BY6) SUM() We can define an aggregation in SQL as well SELECT Size, AVG(ListPrice) FROM Production.Product WHERE Size IS NOT NULL GROUP BY Size

7) LIKE SELECT City, PostalCode FROM Person.Address WHERE City LIKE ‘U%’ GROUP BY City SELECT * FROM Person.Address WHERE City LIKE '[bsp]%'; %: A substitute for 0+ characters _ : A substitute for a single character [charlist], [!charlist]: sets/ ranges of characters to match, not match

8) TOP SELECT TOP 10 * FROM Person.Person SELECT * FROM Person.Person LIMIT 10 SELECT * FROM Person.Person WHERE ROWNUM <= 10 Microsoft SQL Server MySQL Oracle

9) ORDER BY SELECT TOP 10 * FROM Person.Person ORDER BY LastName (DESC) Microsoft SQL

SQL Joins visual-explanation-of-sql-joins/ visual-explanation-of-sql-joins/ Cool visual interpretation of Joins Tableau example of how joins can go wrong

JOIN ON SELECT * FROM Customers JOIN Orders ON Customers.CustomerID = Orders.CustomerID SELECT * FROM Customers c JOIN Orders o ON c.CustomerID = o.CustomerID

INNER, LEFT, SELECT * FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID SELECT * FROM Customers c LEFT JOIN Orders o ON c.CustomerID = o.CustomerID

OUTER JOINS

Microsoft Architecture for Self-service Business Intelligence

Microsoft Power BI for Office 365 Analyze Visualize Share Find Q&AQ&A Mobile Discover Search, access, and transform public and internal data sources with Power Query Share data views and workbooks refreshable from on-premises and cloud based data sources, with Power BI Sites Easy data modeling and lightning fast in-memory analytics with Power Pivot Bold new interactive data visualizations with Power View and Power Map Ask questions and get immediate answers with natural language query Mobile access through HTML5 and touch optimized apps for Windows 8, RT and iOS tablets Scalable | Manageable | Trusted Microsoft slide

EXCEL PIVOT TABLES

Learning objectives Understanding pivot tables Learn how to create pivot tables Use pivot tables to quickly answer questions about data

What is a Pivot Table A way to summarize, filter, and explore data interactively When we have lots of data, with lots of columns, there is often too much detail and we lose sight of the questions we want answered

Intro to PivotTables A pivot table is essentially a dynamic summary report Data can be in the worksheet or in an external file Allow you to reorganize and summarize data dynamically PivotTables unlock awesome interactivity with the data

How do we create a PivotTable Insert > Tables > Recommended PivotTables Insert > Tables > PivotTable – If you create a table for the range, then Excel will refresh the pivot table without the need to manually indicate the new data range

PIVOT TABLES Sort Count Total Change Aggregation Percent of Total Visualizations Filter Directly Query Databases, including OLAP

PIVOT TABLES PROs/CONS Pros: – Flexible – Works with any SQL report – Calculate large range of metrics very quickly and easily – Easily segmented – Summarizes a large amount of data quickly Cons: – Can be manually time consuming – Excel can take time to churn through really large data sets – Sometimes flying blind – Limited style options – Text not allowed in the data values area

POWER QUERY

Why Power Query? Discovery and connectivity to a wide range of data sources, including publicly available data of all sizes & shapes. Highly interactive and intuitive experience for rapidly and iteratively building queries over any data source, any size. Consistency of experience, and parity of query capabilities over all data sources. Joins across different data sources; ability to create custom views over data that can then be shared with others in your organization Microsoft slide

POWER PIVOT

POWER PIVOTS

POWER PIVOT ADVANTAGES

POWER PIVOT LAB

HOMEWORK

Homework Two parts practice: Part A: More SQL practice Part B: Excel PivotTable and Power Pivot practice Both due by Thurs, 11/12 at 5pm Required reading Reading: Keeping up with the Quants Ch. 5, Excel Ch. TBD

Next week SQL Quiz More Excel (VLOOKUPS) Data collection, cleaning and modeling Stats Review Introduction To Tableau Possibly a Guest Speaker