SlideShare una empresa de Scribd logo
1 de 50
Pivot Tables and Beyond
Patrick Carey
Daily Sales from GJC
Transactions from Green Jersey Cycles from 2010 through 2013.
Products Table
Table displaying a selection of sample products sold by GJC
Stores Table
Table displaying information about 20 brick & mortar stores and the GJC website
Count of Product ID’s
The COUNT function of Product ID’s gives an erroneous result since the same
Product ID multiple times. We can correct this issue using the DISTINCOUNT
function available under the Excel Data Model
Using Distinct Count
Count of Products ID’s Discrete Count of Product ID’s
THE EXCEL DATA MODEL
Pivot Tables and Beyond
The Excel Data Model
The Excel Data Model is attached to the workbook file, providing database tools
and more compact and efficient data storage
Data Model
database
Data Model Overview
Benefits
• Ability to Define Relationships
between Multiple Tables
• Data Compression
• Support for DAX
• Interfaces with Dashboarding
Tools like Power View
Limitations
• Built-in Tools Missing from Pivot
Table Menus
• Inability to Group Fields
• Supported only in Excel 2013
Adding an Excel Table to the Data Model
You can add a table to the Data Model when you generate the Pivot Table, by
clicking the Add this to the Data Model checkbox
Distinct Count of Product ID’s
The DISTINCOUNT function available under the Excel Data Model counts each
unique occurrence of a Product ID in the Sales table; from this we know that
212,720 units were sold from 35 different GJC products over the past 4 years.
Adding a Second Table
To use information from a second table, it has to be added to the Data Model and
a relation established between the two tables.
Creating a Table Relationship
VIEWING THE DATA MODEL WITH POWERPIVOT
Pivot Tables and Beyond
PowerPivot Features
• View, edit, sort and filter data in
the PowerPivot grid
• Perform Calculations using DAX
• Set up table relations with a
graphic interface
• Set default display formats for
data columns
• Hide Columns and Tables
• Create hierarchies of data
columns
• Define Key Performance
Indicators (KPI’s)
• Analyze Big Data containing
Millions of Records
PowerPivot Data View
Importing Database Tables into the Data Model
Multiple database tables can be imported into the Data Model. Power Pivot will
retain any table relations already defined in the database.
Table Relationships within Diagram View
Diagram is useful for viewing the complete structure of your data model, including
all relationships, hierarchies, and KPI’s. Here Sales Date in the Sales table and Date
in the Calendar table are linked
Setting Column Sort Order
Sorting Months by Month Number Sorting Weekdays by Weekday Number
Units Sold by Year and Month
It’s important to define the sort order for the Year and Month fields so they are
sorted in the correct order.
PIVOT TABLE CALCULATIONS USING DAX
Pivot Tables and Beyond
DAX
• Data Analysis Expressions
• Calculations based on
Tables and Columns
• Support for Lookup Tables
and Table Relations
• Optimized Memory Engine
supports Rapid Calculations
over Large Columns and
Tables
PowerPivot Calculations
Calculated Columns
• Calculation context is row-based
• Formulas are applied to an
entire column
• Appear as a new columns within
PowerPivot Data View
Calculated Fields
• Calculation is based on the
PivotTable context
• Called measures in PowerPivot
2010
• Appear in the Calculation Area
in PowerPivot Data View
Calculating Revenue from Each Sale
To calculate the revenue from each sales use the Unit Price field round in the
Products table using the RELATED function to access the field value
Revenue:= [Units Sold]*RELATED([Products[Unit Price])
Total Revenue by Month and Year
Calculated Columns appear in the list of table columns alongside data fields and
can be directly used in any Pivot Table combination we wish.
Calculating the Total Store Days
GJC is not open every day, so we create the StoreDays calculated field to count up the
number days minus the number of holiday dates from the Holidays table.
Store Days := COUNT([Calendar[Date]) – COUNT(Holidays[Date])
Calculating Average Daily Revenue
The average revenue collected day can be inserted as a calculated field using the DAX
expression:
Daily Revenue := SUM([Revenue])/[Store Days]
Daily Revenue from the GJC Stores
Overall the store earns an average of about $7,600 per day for the selected
products. Individual stores earn anywhere from $58 up to more than $440 per day.
KEY PERFORMANCE INDICATORS
Pivot Tables and Beyond
Defining a KPI against an Absolute Standard
KPI’s provide a visual indicator of how a base field performs versus a defined
standard. Here we set an absolute value for Daily Revenue with “normal” or
”acceptable” ranging from $80/day to $160/day
Viewing a Key Performance Indicator
High performance values are indicated by a green ball, low performance by a red
ball, and values within the target area are highlighted with the yellow ball.
KPI’s can Lose their Meaning when the Data is Filtered
An absolute standard loses its meaning when the data values filtered. In this almost all
stores appear to be underperforming when measured against an absolute standard
that should apply only when all product categories are included.
Calculate the Number of Brick & Mortar stores
We want to compare each Brick & Mortar store to the average daily revenue from the Brick &
Mortar stores. We can do this by using a calculated field that calculates the average revenue per
store. We start by creating an expression to count the number of Brick & Mortar stores
Calculate the Daily Revenue from Brick & Mortar stores
Next we calculate the Daily revenue from Brick & Mortar stores only. Note that here
and in the Brick Count field we use the ALL() function to ensure that we always count
over all [City State], [City], and [StoreID] fields regardless of the Pivot Table layout.
Calculating Average Revenue per Brick Store
The Average Daily Revenue from the Brick Stores is calculated using the expression:
Brick Revenue Average := [Brick Revenue]/[Brick Count]
Creating a KPI using a Calculated Field
We now revise the Daily Revenue KPI so that it uses the Brick Revenue Average
calculated field. Low values are cut off at 40% of the target, medium values at cut
off at 80% of the target value.
Comparing Stores Under Different Filters
All Brick & Mortar Stores Brick & Mortar Stores by Market
Calculating the Maximum Daily Revenue
DAX supports a wide variety of queries and calculations. For example the above
expression uses the SUMMARIZE function to return the maximum revenue
generated on any particular day.
Viewing Maximum Revenue
The greatest one-day intake for the company was about $22,000 from all sources. The
greatest one-day result for the website was a little more than $10,000; from the
combined 20 Brick & Mortar stores the greatest one-day take was more than $14,000.
MANAGING YOUR FIELDS AND TABLES
Pivot Tables and Beyond
Defining a Hierarchy
Hierachies are used to group fields that have an inherit ordering. For example the
location hierarchy orders stores from Region  State  City
Viewing a Hierarchy
Hierarchies can be added to a Pivot Table, appearing as nested field. To drill down
into the hierarchy, click the [+] box.
Hiding Columns
You can clean up the clutter of unwanted fields by hiding them from the user;
showing only those fields which are directly involved in the data analysis. You can
also hide entire tables, such as the Holidays table, that contain only lookup values.
Creating Perspectives
You can reduce clutter in the Power Pivot view of the Data Model by creating a
perspectives, specifying which tables and fields are visible to the Power Pivot user.
However, modifying the perspective does not affect the table/field list in Excel.
ANALYZING YOUR DATA WITH POWER VIEW
Pivot Tables and Beyond
Sales Report
This Power View report tracks sales for different products category by region with
each report element dynamically linked to the others.
Clothing Sales Report
GJC has been selling an increasing percentage of cycling clothing for women over
the past four years as this Power View report demonstrates.
Brick & Mortar Stores Report
This Power View report examines the Brick & Mortar stores, providing contact
information, map location, and the daily revenue.
Customer Report
This Power View report shows the location of Green Jersey Cycling customers and
the products they bought.
Contact Information
Patrick Carey
Carey Associates
8502 Miller Road
Verona, WI 53593
(608) 832 – 6313
patrick1@careys.com

Más contenido relacionado

La actualidad más candente

Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
Bobby Jones
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
Chris Martin
 

La actualidad más candente (20)

Oracle EBS HRMS SETUP
Oracle EBS HRMS SETUPOracle EBS HRMS SETUP
Oracle EBS HRMS SETUP
 
Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)Oracle R12 Landed Cost Management (lcm)
Oracle R12 Landed Cost Management (lcm)
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excel
 
Microsoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMicrosoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And Filtering
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
Oracle HRMS Document R12.
Oracle HRMS Document R12.Oracle HRMS Document R12.
Oracle HRMS Document R12.
 
Charts and pivot tables
Charts and pivot tablesCharts and pivot tables
Charts and pivot tables
 
Oracle HRMS Fast Formula
Oracle HRMS Fast FormulaOracle HRMS Fast Formula
Oracle HRMS Fast Formula
 
Best practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementationBest practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementation
 
Training Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance ManagementTraining Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance Management
 
3. lookup functions in excel
3. lookup functions in excel3. lookup functions in excel
3. lookup functions in excel
 
Oracle Compensation Management
Oracle Compensation ManagementOracle Compensation Management
Oracle Compensation Management
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.
 
Oracle Succession Planning Setup
Oracle Succession Planning SetupOracle Succession Planning Setup
Oracle Succession Planning Setup
 
Digital Analytics Bar Graph Line Chart
Digital Analytics Bar Graph Line ChartDigital Analytics Bar Graph Line Chart
Digital Analytics Bar Graph Line Chart
 
Oracle HRMS R12 business applications Overview
Oracle HRMS R12 business applications OverviewOracle HRMS R12 business applications Overview
Oracle HRMS R12 business applications Overview
 
Fusion cloud global payroll presentation
Fusion cloud global payroll presentationFusion cloud global payroll presentation
Fusion cloud global payroll presentation
 

Destacado

Destacado (8)

Google Drive Plus TexQuest Equals a Match Made in Research Heaven
Google Drive Plus TexQuest Equals a Match Made in Research HeavenGoogle Drive Plus TexQuest Equals a Match Made in Research Heaven
Google Drive Plus TexQuest Equals a Match Made in Research Heaven
 
5 Course Design Tips to Increase Engagement and Outcomes
5 Course Design Tips to Increase Engagement and Outcomes5 Course Design Tips to Increase Engagement and Outcomes
5 Course Design Tips to Increase Engagement and Outcomes
 
Basic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialBasic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 Tutorial
 
Ibm kenexa prove it
Ibm kenexa prove itIbm kenexa prove it
Ibm kenexa prove it
 
using excel 2013 as a power user
using excel 2013 as a power userusing excel 2013 as a power user
using excel 2013 as a power user
 
Basic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 TutorialBasic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 Tutorial
 
Discovering History Through Digital Newspaper Collection
Discovering History Through Digital Newspaper CollectionDiscovering History Through Digital Newspaper Collection
Discovering History Through Digital Newspaper Collection
 
AutoCorrect - Excel 2013 Tutorial
AutoCorrect - Excel 2013 TutorialAutoCorrect - Excel 2013 Tutorial
AutoCorrect - Excel 2013 Tutorial
 

Similar a Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Computing Conference

Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
Chris Seebacher
 
Project Portfolio
Project PortfolioProject Portfolio
Project Portfolio
Arthur Chan
 
Advanced excel unit 01
Advanced excel unit 01Advanced excel unit 01
Advanced excel unit 01
Prashanth Shivakumar
 

Similar a Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Computing Conference (20)

08. ICV sastanak (Microsoft) Miroslav Jovković NPS 2
08. ICV sastanak (Microsoft) Miroslav Jovković NPS 208. ICV sastanak (Microsoft) Miroslav Jovković NPS 2
08. ICV sastanak (Microsoft) Miroslav Jovković NPS 2
 
08. icv sastanak (microsoft) miroslav nps2
08. icv sastanak (microsoft) miroslav nps208. icv sastanak (microsoft) miroslav nps2
08. icv sastanak (microsoft) miroslav nps2
 
Business Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdfBusiness Analytics 1 Module 4.pdf
Business Analytics 1 Module 4.pdf
 
Calculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxCalculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptx
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Chris Seebacher Portfolio
Chris Seebacher PortfolioChris Seebacher Portfolio
Chris Seebacher Portfolio
 
Funções DAX.pdf
Funções DAX.pdfFunções DAX.pdf
Funções DAX.pdf
 
Course Presentation.pdf
Course Presentation.pdfCourse Presentation.pdf
Course Presentation.pdf
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Tn shaw 107 data warehousing problem set
Tn shaw 107 data warehousing problem setTn shaw 107 data warehousing problem set
Tn shaw 107 data warehousing problem set
 
Tableau online training
Tableau online trainingTableau online training
Tableau online training
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
 
Getting power bi
Getting power biGetting power bi
Getting power bi
 
Data model Assignment.pdf
Data model Assignment.pdfData model Assignment.pdf
Data model Assignment.pdf
 
1KEY Multidimensional
1KEY Multidimensional1KEY Multidimensional
1KEY Multidimensional
 
Project Portfolio
Project PortfolioProject Portfolio
Project Portfolio
 
(Lecture 3) Star Schema.pdf
(Lecture 3) Star Schema.pdf(Lecture 3) Star Schema.pdf
(Lecture 3) Star Schema.pdf
 
Advanced excel unit 01
Advanced excel unit 01Advanced excel unit 01
Advanced excel unit 01
 

Más de Cengage Learning

Gale Cengage Learning Webinar: Measuring Library Success, May 22
Gale Cengage Learning Webinar: Measuring Library Success, May 22Gale Cengage Learning Webinar: Measuring Library Success, May 22
Gale Cengage Learning Webinar: Measuring Library Success, May 22
Cengage Learning
 

Más de Cengage Learning (20)

Are Your Students Ready for Lab?
Are Your Students Ready for Lab?Are Your Students Ready for Lab?
Are Your Students Ready for Lab?
 
The Journey to Digital: Incorporating Technology to Strengthen Critical Minds
 The Journey to Digital: Incorporating Technology to Strengthen Critical Minds The Journey to Digital: Incorporating Technology to Strengthen Critical Minds
The Journey to Digital: Incorporating Technology to Strengthen Critical Minds
 
Improving Time Management: Tips that Will Help College Students Start the Yea...
Improving Time Management: Tips that Will Help College Students Start the Yea...Improving Time Management: Tips that Will Help College Students Start the Yea...
Improving Time Management: Tips that Will Help College Students Start the Yea...
 
Mind Tap Open Trial Cengage Learning
Mind Tap Open Trial Cengage LearningMind Tap Open Trial Cengage Learning
Mind Tap Open Trial Cengage Learning
 
Getting Started with Enhanced WebAssign 8/11/15 Presented by: Mike Lafreniere...
Getting Started with Enhanced WebAssign 8/11/15 Presented by: Mike Lafreniere...Getting Started with Enhanced WebAssign 8/11/15 Presented by: Mike Lafreniere...
Getting Started with Enhanced WebAssign 8/11/15 Presented by: Mike Lafreniere...
 
Taming the Digital Tiger: Implementing a Successful Digital or 1:1 Initiative
Taming the Digital Tiger: Implementing a Successful Digital or 1:1 InitiativeTaming the Digital Tiger: Implementing a Successful Digital or 1:1 Initiative
Taming the Digital Tiger: Implementing a Successful Digital or 1:1 Initiative
 
Decimal and Fraction Jeopardy - A Game for Developmental Math
Decimal and Fraction Jeopardy - A Game for Developmental MathDecimal and Fraction Jeopardy - A Game for Developmental Math
Decimal and Fraction Jeopardy - A Game for Developmental Math
 
Game it up! Introducing Game Based Learning for Developmental Math
Game it up! Introducing Game Based Learning for Developmental MathGame it up! Introducing Game Based Learning for Developmental Math
Game it up! Introducing Game Based Learning for Developmental Math
 
Overcoming Textbook Fatigue
Overcoming Textbook FatigueOvercoming Textbook Fatigue
Overcoming Textbook Fatigue
 
Adult Student Success: How Does Awareness Correlate to Program Completion?
Adult Student Success: How Does Awareness Correlate to Program Completion?Adult Student Success: How Does Awareness Correlate to Program Completion?
Adult Student Success: How Does Awareness Correlate to Program Completion?
 
You're responsible for teaching, and your students are resonsible for learnin...
You're responsible for teaching, and your students are resonsible for learnin...You're responsible for teaching, and your students are resonsible for learnin...
You're responsible for teaching, and your students are resonsible for learnin...
 
What is the Impact of the New Standard on the Intermediate Accounting Course?
What is the Impact of the New Standard on the Intermediate Accounting Course?What is the Impact of the New Standard on the Intermediate Accounting Course?
What is the Impact of the New Standard on the Intermediate Accounting Course?
 
The ABCs Approach to Goal Setting and Implementation
The ABCs Approach to Goal Setting and ImplementationThe ABCs Approach to Goal Setting and Implementation
The ABCs Approach to Goal Setting and Implementation
 
Competency-based Education: Out with the new, in with the old?
Competency-based Education: Out with the new, in with the old? Competency-based Education: Out with the new, in with the old?
Competency-based Education: Out with the new, in with the old?
 
Student-to-Student Learning, Powered by FlashNotes
Student-to-Student Learning, Powered by FlashNotes Student-to-Student Learning, Powered by FlashNotes
Student-to-Student Learning, Powered by FlashNotes
 
Creating Career Success: A Flexible Plan for the World of Work
Creating Career Success: A Flexible Plan for the World of WorkCreating Career Success: A Flexible Plan for the World of Work
Creating Career Success: A Flexible Plan for the World of Work
 
Preparing Students for Career Success
Preparing Students for Career Success Preparing Students for Career Success
Preparing Students for Career Success
 
MindTap ThinkNation Webinar Series: Assessing Learning in Higher Education
MindTap ThinkNation Webinar Series: Assessing Learning in Higher EducationMindTap ThinkNation Webinar Series: Assessing Learning in Higher Education
MindTap ThinkNation Webinar Series: Assessing Learning in Higher Education
 
Gale Cengage Learning Webinar: Measuring Library Success, May 22
Gale Cengage Learning Webinar: Measuring Library Success, May 22Gale Cengage Learning Webinar: Measuring Library Success, May 22
Gale Cengage Learning Webinar: Measuring Library Success, May 22
 
Cultivating the Next Generation of Leaders
Cultivating the Next Generation of LeadersCultivating the Next Generation of Leaders
Cultivating the Next Generation of Leaders
 

Último

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Pivot Tables and Beyond Data Analysis in Excel 2013 - Course Technology Computing Conference

  • 1. Pivot Tables and Beyond Patrick Carey
  • 2. Daily Sales from GJC Transactions from Green Jersey Cycles from 2010 through 2013.
  • 3. Products Table Table displaying a selection of sample products sold by GJC
  • 4. Stores Table Table displaying information about 20 brick & mortar stores and the GJC website
  • 5. Count of Product ID’s The COUNT function of Product ID’s gives an erroneous result since the same Product ID multiple times. We can correct this issue using the DISTINCOUNT function available under the Excel Data Model
  • 6. Using Distinct Count Count of Products ID’s Discrete Count of Product ID’s
  • 7. THE EXCEL DATA MODEL Pivot Tables and Beyond
  • 8. The Excel Data Model The Excel Data Model is attached to the workbook file, providing database tools and more compact and efficient data storage Data Model database
  • 9. Data Model Overview Benefits • Ability to Define Relationships between Multiple Tables • Data Compression • Support for DAX • Interfaces with Dashboarding Tools like Power View Limitations • Built-in Tools Missing from Pivot Table Menus • Inability to Group Fields • Supported only in Excel 2013
  • 10. Adding an Excel Table to the Data Model You can add a table to the Data Model when you generate the Pivot Table, by clicking the Add this to the Data Model checkbox
  • 11. Distinct Count of Product ID’s The DISTINCOUNT function available under the Excel Data Model counts each unique occurrence of a Product ID in the Sales table; from this we know that 212,720 units were sold from 35 different GJC products over the past 4 years.
  • 12. Adding a Second Table To use information from a second table, it has to be added to the Data Model and a relation established between the two tables.
  • 13. Creating a Table Relationship
  • 14. VIEWING THE DATA MODEL WITH POWERPIVOT Pivot Tables and Beyond
  • 15. PowerPivot Features • View, edit, sort and filter data in the PowerPivot grid • Perform Calculations using DAX • Set up table relations with a graphic interface • Set default display formats for data columns • Hide Columns and Tables • Create hierarchies of data columns • Define Key Performance Indicators (KPI’s) • Analyze Big Data containing Millions of Records
  • 17. Importing Database Tables into the Data Model Multiple database tables can be imported into the Data Model. Power Pivot will retain any table relations already defined in the database.
  • 18. Table Relationships within Diagram View Diagram is useful for viewing the complete structure of your data model, including all relationships, hierarchies, and KPI’s. Here Sales Date in the Sales table and Date in the Calendar table are linked
  • 19. Setting Column Sort Order Sorting Months by Month Number Sorting Weekdays by Weekday Number
  • 20. Units Sold by Year and Month It’s important to define the sort order for the Year and Month fields so they are sorted in the correct order.
  • 21. PIVOT TABLE CALCULATIONS USING DAX Pivot Tables and Beyond
  • 22. DAX • Data Analysis Expressions • Calculations based on Tables and Columns • Support for Lookup Tables and Table Relations • Optimized Memory Engine supports Rapid Calculations over Large Columns and Tables
  • 23. PowerPivot Calculations Calculated Columns • Calculation context is row-based • Formulas are applied to an entire column • Appear as a new columns within PowerPivot Data View Calculated Fields • Calculation is based on the PivotTable context • Called measures in PowerPivot 2010 • Appear in the Calculation Area in PowerPivot Data View
  • 24. Calculating Revenue from Each Sale To calculate the revenue from each sales use the Unit Price field round in the Products table using the RELATED function to access the field value Revenue:= [Units Sold]*RELATED([Products[Unit Price])
  • 25. Total Revenue by Month and Year Calculated Columns appear in the list of table columns alongside data fields and can be directly used in any Pivot Table combination we wish.
  • 26. Calculating the Total Store Days GJC is not open every day, so we create the StoreDays calculated field to count up the number days minus the number of holiday dates from the Holidays table. Store Days := COUNT([Calendar[Date]) – COUNT(Holidays[Date])
  • 27. Calculating Average Daily Revenue The average revenue collected day can be inserted as a calculated field using the DAX expression: Daily Revenue := SUM([Revenue])/[Store Days]
  • 28. Daily Revenue from the GJC Stores Overall the store earns an average of about $7,600 per day for the selected products. Individual stores earn anywhere from $58 up to more than $440 per day.
  • 29. KEY PERFORMANCE INDICATORS Pivot Tables and Beyond
  • 30. Defining a KPI against an Absolute Standard KPI’s provide a visual indicator of how a base field performs versus a defined standard. Here we set an absolute value for Daily Revenue with “normal” or ”acceptable” ranging from $80/day to $160/day
  • 31. Viewing a Key Performance Indicator High performance values are indicated by a green ball, low performance by a red ball, and values within the target area are highlighted with the yellow ball.
  • 32. KPI’s can Lose their Meaning when the Data is Filtered An absolute standard loses its meaning when the data values filtered. In this almost all stores appear to be underperforming when measured against an absolute standard that should apply only when all product categories are included.
  • 33. Calculate the Number of Brick & Mortar stores We want to compare each Brick & Mortar store to the average daily revenue from the Brick & Mortar stores. We can do this by using a calculated field that calculates the average revenue per store. We start by creating an expression to count the number of Brick & Mortar stores
  • 34. Calculate the Daily Revenue from Brick & Mortar stores Next we calculate the Daily revenue from Brick & Mortar stores only. Note that here and in the Brick Count field we use the ALL() function to ensure that we always count over all [City State], [City], and [StoreID] fields regardless of the Pivot Table layout.
  • 35. Calculating Average Revenue per Brick Store The Average Daily Revenue from the Brick Stores is calculated using the expression: Brick Revenue Average := [Brick Revenue]/[Brick Count]
  • 36. Creating a KPI using a Calculated Field We now revise the Daily Revenue KPI so that it uses the Brick Revenue Average calculated field. Low values are cut off at 40% of the target, medium values at cut off at 80% of the target value.
  • 37. Comparing Stores Under Different Filters All Brick & Mortar Stores Brick & Mortar Stores by Market
  • 38. Calculating the Maximum Daily Revenue DAX supports a wide variety of queries and calculations. For example the above expression uses the SUMMARIZE function to return the maximum revenue generated on any particular day.
  • 39. Viewing Maximum Revenue The greatest one-day intake for the company was about $22,000 from all sources. The greatest one-day result for the website was a little more than $10,000; from the combined 20 Brick & Mortar stores the greatest one-day take was more than $14,000.
  • 40. MANAGING YOUR FIELDS AND TABLES Pivot Tables and Beyond
  • 41. Defining a Hierarchy Hierachies are used to group fields that have an inherit ordering. For example the location hierarchy orders stores from Region  State  City
  • 42. Viewing a Hierarchy Hierarchies can be added to a Pivot Table, appearing as nested field. To drill down into the hierarchy, click the [+] box.
  • 43. Hiding Columns You can clean up the clutter of unwanted fields by hiding them from the user; showing only those fields which are directly involved in the data analysis. You can also hide entire tables, such as the Holidays table, that contain only lookup values.
  • 44. Creating Perspectives You can reduce clutter in the Power Pivot view of the Data Model by creating a perspectives, specifying which tables and fields are visible to the Power Pivot user. However, modifying the perspective does not affect the table/field list in Excel.
  • 45. ANALYZING YOUR DATA WITH POWER VIEW Pivot Tables and Beyond
  • 46. Sales Report This Power View report tracks sales for different products category by region with each report element dynamically linked to the others.
  • 47. Clothing Sales Report GJC has been selling an increasing percentage of cycling clothing for women over the past four years as this Power View report demonstrates.
  • 48. Brick & Mortar Stores Report This Power View report examines the Brick & Mortar stores, providing contact information, map location, and the daily revenue.
  • 49. Customer Report This Power View report shows the location of Green Jersey Cycling customers and the products they bought.
  • 50. Contact Information Patrick Carey Carey Associates 8502 Miller Road Verona, WI 53593 (608) 832 – 6313 patrick1@careys.com