PowerPivot
for
Business
Intelligence Using
Excel
and
SharePoint
Barry
Ralston
About the
Author
xi
About the
Technical
Reviewerxii
Acknowledgments
xii!Chapter
1:Getting
Started
withPowerPivot for
Excel1
Filling
theGap
with PowerPivot for Excel1
What You
Will Need
2The
64-bit
Decision 3Installing
the Add-In 3A Brief Tour of
PowerPivot for
Excel 4A Trivial Test
Case
5The Test
Report
7Summary
9Chapter
2: HelloWorld,
PowerPivotStyle
11The Business
Scenario
11Assembling the Solution
11SQL
Server
As aPowerPivot
Data Source 12Starting
theTable
Import
Wizard 12Selecting
the Table
14Monitoring
the
Import
15Reviewing
the Results.. 16Data Refresh
17
Creating
theReport
17Narrowing
to theTop
Ten
19Behind the
Scenes
in PowerPivotfor Excel
21
ftCONTENTS
Chapter
3:
Combining
Data Sources25
TheBusiness Scenario
25Configuring
Excel AsaDataSource
26
Venturing
into the DateDimension
28
Understanding
the
Design
28
Good
Relationships
30
PivotTables and PivotCharts
34
Slicers
37
Refreshing
the Data39
Summary
40Chapter
4: DataAnalysis Expressions
43
Fundamentals of DAX
44
Calculated Columns 44
Creating
aCalculated Column
46Filtering
PowerPivot
Data 48Spotting
Calculated Columns in the PowerPivot Field List 49Table
Relationships
49Understanding
the Problem
49Illustrating
Relationships
with Football
51Relating
Tables
with DAX 52Calculated Measures from
Multiple
Data Sources , 54The Business
Problem54
Separation
of Facts
andDimensions
55
New Measures
58
Filter Context
60
Begin
withaPivotTable60
Compute
Percent of Whole 62Summary
64Chapter
5: AMethod
to the Madness65
Justification for
a Method ,65
Principles
,66
Embrace Failure 66
Think
Dimensionally,
Act
Locally
66
Transactionalvs.
Analytical
Data Stores
66IICONTENTS
Practices
68Take
Advantage
of Revision
Control68
Rename
Early
toKeep
DAX Formulas Sane68
Creating
aRelationship
69Renaming
anObject
in
aRelationship
70Examining
the Result
70Choose Online Datasources When
Possible72
Relate Fact Sets
Through
aDimension
Table 73Create
aSeparate
Date Dimension
73Shortcut to
aRich Date Dimension
73Handling
Moving
Holidays
75Leverage
Built-in Measures
76No Calculation
77%of
Grand Total 78% of Column Total 78
%
of Row Total 78% Of
78% of Parent Row
Total 79%of Parent Column
Total 80%of Parent
Total 80Difference
From81
% Difference
From 82Running
Total
In 82%
Running
Total In
83"Rank Smallest to
Largest"
and
"RankLargest
toSmallest"
84
Index
84
Customize Your PivotCharts via
PivotTables 85Summary
•91
Chapter
6:Installing
PowerPlvot for SharePoInt
93
Getting
Started
93
Existing
SharePoInt 2010 Installation
94
Step
One:Install SQL Server PowerPlvot for SharePoint
94
Step
Two:
Deploy
the PowerPlvot Solution
Package
95
Step
Three: Start Other
Required
Services
96Step
Four: PowerPivot
Service Application
96
Step
Five: Enable Excel
Services
, 96Step
Six: Enable the Secure Store
Service
96ISCONTENTS
Step
Seven:
EnableUsage
DataCollection
96Step Eight:
Maximum FileUpload
Size
96Step
Nine: Activate PowerPivot at the Site CollectionLevel
97Step
Ten:Verify
the
Configuration
Changes
Work97
Virtual Success
97
Step
One: Create
aNew Virtual Machine98
Step
Two:
Add the Domain ControllerRole
98Step
Three: Add the Server toYour Domain
99Step
Four:Install SharePoint 2010
Server 100Step
Five:Install SQL Server 2008
R2 and PowerPivot 102Running
PowerPivot
for SharePointonWindows 7 103The Road
Map
104Step
One: Install SQL Server 2008 R2 104Step
Two: Install the SharePointPrerequisites
108Edit
theConfig.xml
File
108Install
Microsoft Filter Pack 2.0109
Install WCF Hotfix KB976462
110
Install ADO.Net Data
Services
Update
110Install the
MicrosoftSync
Framework 110Install
SQL
Server Native Client 111Install Windows
Identity
Foundation 111Install
Chart Controls
112Install Microsoft SQL Server 2008
Analysis
Services
AD0MD.NET112
Enable
Required
Windows Features112
Step
Three: Install SharePoint 2010 Server115
Step
Four: Add PowerPivot for SharePointExisting
Farm 118Step
Five: Final
Configuration
122
Fun with PowerPivot and SharePoint
123
Verifying
That the Installation Works 123Viewing
the PowerPivotGallery
123
Potential Errors
125Summary
125H
Chapter
7:Collaboration,
Version
Control,
andManagement
127Sharing
Solutions127
Publishing
128
*CONTENTS
Gallery
135
Theater
136
Carousel
136All
Documents137
PowerPivot
Gallery
Permissions
137
Web
Usage
Scenarios
137Excel via the
Browser138
PowerPivot
from aniPad
orOther Tablet140
PowerPivot
Management
Dashboard142
Accessing
the PowerPivotManagement
Dashboard142
Using
the
Management
Dashboard143
Query Response
Times
143
Average
Instance CPU145
Average
Instance
Memory
145Activity
146
Performance 147
Workbook
Activity
Chart
147
Workbook
Activity
List148
Configuring Usage
Data Collection149
Summary
151
Chapter
8:PowerPivot
AsaData Source
153
PowerPivot As
aData Source for PowerPivot
153Verifying
the Solution
Prerequisites
154Assembling
the Pieces
155Refreshing
the
Summary
170PowerPivot
Management
Dashboard AsaData Source 174Creating
the Office Data Connection
(.ode)
File
174Writing
aReport Using
PowerPivot
Management
Data 177PowerPivot
and PerformancePoInt
Dashboards 178Creating
the Data Connection
181Creating
the
Analytic
Chart
182Deploying
to SharePoint
186Summary
188
Chapter
9:PowerPivot and
SQL
Server
Reporting
Services
189Consuming
SSRS As
aPowerPivot Data
Source190
MCONTENTS
Configuring
the Connection
192Using
PowerPivot
Asan SSRS Data Source 197Creating
the PowerPivotSource Worksheet
198Opening Report Manager
203
Developing
theExample
SSRS
Report
203
Summary
218
Chapter
10:PowerPivot
and PredictiveAnalytics
219Introducing
the Data
Mining
Add-In for Excel 219Installing
the DataMining
Add-In 220Locating
the TableAnalysis
Tools 227Creating
aSSAS Connection
229
Configuring
the SSAS Server230
Avoiding
Connection Frustration 236Adding
the SSASConnection Within
theData
Mining
Add-In 237Preparing
Datawith PowerPivot
241Mining
Some Data 244Taking
Data
Mining
to the Cloud with Predixion Software 247Setting Up
the Predixion Add-In 247Predicting
Airline
Delays
258Summary
263Chapter
11:Tips, Tricks,
andTraps
265PowerPivot
Annoyances
265Disabled PowerPivot Add-In
265Calculated
ColumnMissing
270 UserExperience
for PowerPivot Solutions
271Connect Slicers
Visually
272Lose the Grid
272
Tuning
PowerPivot Performance 273Slicers: Less Is More
273
PowerPivot and