“power” tools for ir reporting · “power” tools for ir reporting ... 11 connecting to data....

127
“Power” Tools for IR Reporting Henson Sturgill, Tim Metz, and Alison Joseph NCAIR Summer Drive-In 2014

Upload: lamliem

Post on 19-Apr-2018

224 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

“Power” Tools for IR Reporting

Henson Sturgill, Tim Metz, and Alison Joseph

NCAIR Summer Drive-In 2014

Page 2: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

• 10,107 students

• Master’s Comprehensive

• Mountain location

• Residential and Distance

2

Page 3: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Presentation Overview

• Pivot tables and their limitations

• Power Pivot and DAX Formulas

• Power Query

• Power Map

• Power View

3

Page 4: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

4

Pivot Tables

Page 5: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Why Pivot Tables

• Summarize large datasets

• Quickly add, remove, rearrange elements

• (Little to) No formula-writing

• Can be a basis for self-service data

• Can connect to a refreshable data source

5

Page 6: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Limitations of Pivot Tables

• Connected to only 1 table

• Formatting not maintained

• Calculated fields need to be created for each Pivot

Table

• Can’t count the way universities usually want to count

6

Page 7: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

7

Connecting to Data

Page 8: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Connecting to Data

• Wide variety of data sources, including:

– Access

– SQL Server

– Text files (csv)

– XML

– OLEDB

– Etc.

8

Page 9: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Connecting to Data

• Connects to:

– Tables

– Queries

9

Page 10: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

10

Connecting to Data

Page 11: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

11

Connecting to Data

Page 12: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

12

Connecting to Data

Page 13: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

13

Displaying Data –Pivot Tables

Page 14: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Connecting to Data

14

Page 15: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Connecting to Data

15

Page 16: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Pivot Tables

16

Page 17: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Pivot Tables

17

Page 18: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Pivot Tables

18

Sum

Count

Average

Max

Min

Product

Count Numbers

StdDev

StdDevp

Var

Varp

Page 19: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Pivot Tables

19

Page 20: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

20

Questions

Page 21: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

21

Displaying Data –Power Pivot

Page 22: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Getting Started – Power Pivot

22

• Installed with Excel 2013

• Downloadable add-in for Excel 2010 (http://goo.gl/3xEE0T)

• Not available for Excel 2011, prior to 2010, or on Office Web Apps

• Best experience with Excel 2013 or Office 365 on Windows 64bit

• Best experience with Excel 2013 or Office 365 on Windows 64bit

• bit.ly/upgradehorror

Page 23: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Enabling Add-Ins – Power Pivot

23

• Right-click on ribbon

• Customize the ribbon

• Select Developer

Page 24: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Enabling Add-Ins – Power Pivot

24

Page 25: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Enabling Add-Ins – Power Pivot

25

Page 26: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Limitations – Power Pivot

• The Power Pivot environment

– Number of tables per PowerPivot database (2^31) - 1 2,147,483,647

– Number of rows in a table

1,999,999,997

– Number of calculated measures in a table

(2^31) - 1 = 2,147,483,647

– String Length

512 MB

26

Page 27: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Getting Started – Power Pivot

• The Power Pivot environment

27

Open Power Pivot

Page 28: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Getting Started – Power Pivot

• The Power Pivot environment

28

Page 29: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Importing Data – Power Pivot

• Import data

29

Page 30: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Importing Data – Power Pivot

• Import from another Power Pivot (SharePoint)

30

Page 31: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Importing Data – Power Pivot

• How the imported data will look

31

Page 32: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Modeling Data – Power Pivot

• Joining Tables in Power Pivot (for SQL Lovers)

– Basically, a LEFT OUTER JOIN

– Can be used in a single Excel Pivot Table or chart

– Only one-to-one and many-to-one relationships are supported

– You can cheat with one-to-many-to-one

32

Page 33: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Modeling Data – Power Pivot

• Joining Power Pivot Tables

– Use Diagram View to view and manage relationships

33

Page 34: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Modeling Data – Power Pivot

• Manually Joining Tables in Power Pivot

34

Many

One

Page 35: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Pivot

• Bringing data into Excel

35

Page 36: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Pivot

• PivotTable vs. Power Pivot PivotTable

36

=IF( ISNULL( Banner[Department] ),“Unknown”, Banner[Department]

)

Page 37: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Adding Calculations – Power Pivot

• DAX

– Data Analysis Expressions (DAX)

– Formula language for Power Pivot

– Used to create Calculated Columns and Calculated

Fields (Measures)

37

Page 38: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Adding Calculations – Power Pivot

• Calculated Columns

– Used to add an additional column to data table

– Can be a column added from a related table (like a VLOOKUP) or new data, derived from existing data (sum to combined SAT, length of name, substring of longer string, etc.)

– Column can be used in any area of the pivot

38

Page 39: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Columns – Power Pivot

– Can use EARLIER() function to loop

39

Page 40: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Columns – Power Pivot

• Adding a calculated column

40

Page 41: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Columns – Power Pivot

• Adding a calculated column

41

Page 42: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Columns – Power Pivot

• Adding a calculated column

42

Page 43: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Evaluation Contexts

43

• Row context

• Filter context

Page 44: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

• Row context

• Filter context

Evaluation Contexts

44

• The one row being evaluated

• Automatic for calculated columns

• Carries across related tables

Page 45: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Row Context

45

Page 46: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

• Filter context

• The filters being applied by the pivot table

• Filters can be explicit or implicit

• Can add additional filters only with CALCULATE

Evaluation Contexts

46

• Row context

• The one row being evaluated

• Automatic for calculated columns

• Can be created in other ways as well (SUMX, AVERAGEX, etc.)

Page 47: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Filter Context

47

Page 48: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Adding Calculations – Power Pivot

• Calculated Fields

– Used to add a calculated Value

– Aggregate function that applies to whole table,

column, or range

– Something that needs to be recalculated

– Much faster than a Calculated Column

48

Page 49: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Fields – Power Pivot

• Adding a Calculated Field

49

Page 50: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Fields– Power Pivot

• Adding a Calculated Field

50

Page 51: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Calculated Fields – Power Pivot

• Calculated Field in Power Pivot

51

Page 52: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

52

Questions

Page 53: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

53

DAX Example –Power Pivot

Page 54: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

54

DAX Example– Power Pivot

Page 55: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DAX Example – Power Pivot

• DISTINCTCOUNT

DISTINCTCOUNT( <column> )

– Counts unique values in column

– Works with both Strings (characters) and numbers

55

Page 56: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DAX Example – Power Pivot

• Adding a Calculated Field

56

Page 57: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DAX Example– Power Pivot

• CALCULATE

CALCULATE( expression, <filter1>, <filter2>… )

– Supercharged SUMIFS

– Allows filtering (IFs) on any aggregate function

(imagine “MAXIFS”, “MEDIANIFS”, etc.)

– Operators for filters: =, <, >, <=, >=, <>

– Can also use || in filter on same column

57

Page 58: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

First-time Freshmen Distinct Students:=

CALCULATE(

[Distinct Students],

WorkshopData[Class level]=“Freshman”,

WorkshopData[Is new student this term]=“Yes”

)

58

DAX Example– Power Pivot

Page 59: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

• ALL

ALL( table_or_column, <column1>, <column2>, …)

– Returns all the rows in a table, or all the values in a column, removing any filters that might have been applied

59

DAX Example – Power Pivot

Page 60: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

All Distinct Enrolled Students:=

CALCULATE(

[Distinct Enrolled Students],

ALL( WorkshopData[Class level] )

)

60

DAX Example– Power Pivot

Page 61: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

61

DAX Example– Power Pivot

Page 62: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

% of All Distinct Enrolled Students:=

DIVIDE([Distinct Enrolled Students],

[All Distinct Enrolled Students] )

62

DAX Example – Power Pivot

Page 63: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DAX Example – Power Pivot

63

Page 64: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DAX Example– Power Pivot

• FILTER

FILTER( TableToFilter, FilterExpression )

– Returns a table filtered by FilterExpression

64

Page 65: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Above Average GPA Enrolled Undergraduates:=

CALCULATE(

[Distinct Enrolled Students],

FILTER(

WorkshopData,

WorkshopData[Institutional cumulative GPA] > [Average GPA Enrolled Undergraduates]

)

)

65

DAX Example – Power Pivot

Page 66: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

66

DAX Example– Power Pivot

Page 67: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Pivot

• Resources

– DAX Formatter:http://www.daxformatter.com/

– DAX Patterns:http://www.daxpatterns.com/

• Twitter

– Christopher Webb @Technitrain

– Marco Russo @marcorus

– Alberto Ferrari @FerrariAlberto

– Rob Collie @powerpivotpro

67

Page 68: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

68

Questions

Page 69: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

69

Power Query

Page 70: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query data sources

• Retrieve data from a variety of external sources (web

searches, webpages, files, databases, and more)

70

Page 71: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query data sources

• Access to sources of

data not readily

available to Power Pivot

71

Page 72: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query preview (Query Editor)

72

Page 73: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query features

73

•Limit the data you bring into your model

•Keep you model to a reasonable size (< 1M records)

to prevent processing problems

•Bring in only what you need

Page 74: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query features

• Consolidate multiple tables into one

74

Page 75: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query features

• In-line data transformations

75

• Consolidate multiple tables into one

Page 76: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query features

• All transformation steps

are listed, and reversible

76

• In-line data

transformations

• Consolidate multiple

tables into one

Page 77: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query @ WCU

• Connect to online faculty database

– Import active users from Digital Measures (from Web URL)

– Merge with local data (Banner)

– Export updated data to Digital Measures

77

Page 78: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query @ WCU

78

Page 79: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Power Query demonstrations

• Data from an online search

• Data from websites

• Power Query Editor functions

– Split columns, remove columns/rows, merge, insert calculated columns, etc.

• Data from Facebook

79

Page 80: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Online Search

80

Page 81: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Online Search

• Query Editor: Transform data as desired

81

Page 82: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Online Search

• Load transformed data set into data model

82

Page 83: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query From Web

83

Page 84: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query From Web

84

Page 85: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query From Web

• Transform data as needed (split column)

85

Page 86: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Queries can be re-edited, merged and appended

as needed

86

Page 87: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Remove rows and/or columns

87

Page 88: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Transform first row of data into column headers

88

Page 89: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Rename column headers

89

Page 90: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Insert custom formula-based columns

90

Page 91: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

91

Page 92: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Change data type (text, number, etc.)

92

Page 93: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Editor

• Delete unwanted edits

93

Page 94: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Merge

94

Page 95: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Merge

95

• Select columns to include in the merge

Page 96: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Power Query Merge

• Matching columns must MATCH!

96

Page 97: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Data from Facebook

• Facebook pages and groups

97

Page 98: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Data from Facebook

98

• Facebook pages and groups

Page 99: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

DEMO: Data from Facebook

• Drill down for

additional data

fields in facebook

records

• Availability of data

fields depends on

your personal

status with the

group/page, and

facebook data

fields completed

and available

99

Page 100: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

100

Questions

Page 101: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

101

Displaying Data –Power Map &

Power View

Page 102: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

• Power Map

– Automated way to map geographic data

– Doesn’t require geo-location information like longitude and latitude (just country, state, or county names)

– Can add elements to look at aggregate function on variables across physical space

– Limited functionality. Office 365 integration will eventually allow for full functionality in future versions.

102

Page 103: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

103

Page 104: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

104

Page 105: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

105

Page 106: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

106

Page 107: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

107

Page 108: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

108

Page 109: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power Map

109

Page 110: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

• Power View

– Dashboard builder

– Allows synchronized filtering

– Bring together tables, graphs, maps

111

Page 111: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

112

Page 112: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

113

Page 113: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

114

Page 114: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

115

Page 115: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

116

Page 116: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

117

Zoom and reposition

Page 117: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

118

Add magnitude to the map by selecting ID (count)

Page 118: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

119

Page 119: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

• Add new elements

– Click off of existing elements (so nothing is selected)

– Choose new field from list

– By default, listing

• Add additional elements (i.e., ID Count) to construct a table

Displaying Data – Power View

120

Page 120: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data –Power View

121

Page 121: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

122

Page 122: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

123

Page 123: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

124

Page 124: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Displaying Data – Power View

125

Page 125: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

126

Questions

Page 126: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Resources

127

• Rob Collie (http://powerpivotpro)

– DAX Formulas for PowerPivot, 2013

• Bill Jelen (http://mrexcel.com)

– PowerPivot for the Data Analyst: Microsoft Excel 2010, 2010

• Alberto Ferrari and Marco Russo

– Microsoft Excel 2013: Building Data Models with PowerPivot

• Chris Webb (http://cwebbbi.wordpress.com)

• Kasper de Jonge (http://www.powerpivotblog.nl)

• Purna Duggirala (http://www.chandoo.org/)

Page 127: “Power” Tools for IR Reporting · “Power” Tools for IR Reporting ... 11 Connecting to Data. 12 ... –Microsoft Excel 2013: Building Data Models with PowerPivot

Contact Information

Tim Metz, Asst. Vice Chancellor of Inst. Planning & Effectiveness

[email protected]

Office of Institutional Planning and Effectiveness

oipe.wcu.edu, (828) 227-7239

128

With the help of David Onder, Elizabeth Snyder, and Billy Hutchings

Henson Sturgill, Technical Support Analyst

[email protected]

Alison Joseph, Business and Technology Applications Analyst

[email protected]