Report Builder
Report Builder
Level 3
•PowerPivot for Data Model Designers
1
10/10/2019
2
10/10/2019
3
10/10/2019
This suite helps you transform your company's data into rich visuals for
you to collect and organize so you can focus on what matters to you.
4
10/10/2019
Requirements:
• (2016) Only Pro, O365 ProPlus – E3 – E4
• 4GB of RAM, 6GB is recommended
• 32-bit version of Office, 64-bit is recommended
• File size cannot exceed 2GB (32-bit) or 4GB (64-bit)
Database
Administrators
10
5
10/10/2019
Power Pivot
Data Model Designers
Database
Administrators
11
Report Builders
Power Pivot
Data Model Designers
Database
Administrators
12
6
10/10/2019
Report Builders
PivotTables 3D Maps
Power Views
Pivot Charts
Database
Administrators
13
Power Map:
3D Charting
Power View: & Storytelling
Excel: the visualization, Advanced
Pivot and Charting Charting &
Mapping
14
7
10/10/2019
15
16
8
10/10/2019
17
18
9
10/10/2019
19
This view contains a preview of the data in the Power Pivot data model
20
10
10/10/2019
21
Lesson 1 Review
A. What is Power BI for Excel
B. What is Power Pivot
C. Power Pivot Key Features
D. The Self-Service BI Model
E. Power Pivot Components
22
11
10/10/2019
23
2. Defining a Report
A. What is a Power BI Report
B. Defining a Report
C. Data-Driven Storytelling
24
12
10/10/2019
Power BI reports
• are comprised of tables, charts, and graphs
• provide evidence to answer a question or establish a fact or statement
• can be stand alone or can be part of a data-driven narrative
25
26
13
10/10/2019
27
28
14
10/10/2019
29
Knowing the use will determine how you should build the report
30
15
10/10/2019
Story
Analysis Insight
Data
31
Narrative Visualization
• Combining the discipline of storytelling and the possibilities in data
visualization
32
16
10/10/2019
33
DATA ACTIONABLE
MODEL INTERPRETATION CONNECTIONS OUTCOMES
Why it matters Making it fit Embedded into our
Wedded to
organizational
our data assets
processes
Narrative
34
17
10/10/2019
35
36
18
10/10/2019
Storyboarding
the process of drafting out the vision of your narrative
Sketch Goal Interactivity
None
None
37
38
19
10/10/2019
2. Defining a Report
A. What is a Power Pivot Report?
B. Defining a Report
C. Data-Driven Storytelling
39
40
20
10/10/2019
41
Terminology:
Logical & physical description of an object are different
The entry
What
One
Single
aspect
the
instance
data
forofathe
within
specific
of the
entity.
the
entity.
attribute
table describes.
of a single record.
Person,
Customer
A single Place,
customer,
Name, Thing,
Product
a single
or Event.
Category,
product, aOrder
singleDate,
order,
oraSalary
singleAmount.
employee.
Physical Logical
Table Entity
Column Attribute
Row Record
Value Data
42
21
10/10/2019
Terminology:
Within the tables there is important terminology as well.
• Relationship Indicates that
the this
commonality
nature
thiscolumn
column
of thecontains
contains
column
betweenaparticipating
avalue
two
value
tables.
that
thatuniquely
isindefined
the relationship.
identifies
within
• Connector each
another
1 = Indicates
record
table.
in the
a unique
table.value in the connected column
• Primary Key * = Indicates the possibility of duplicates or no value in the
• Foreign Key connected column
43
44
22
10/10/2019
• These tables contain the labels for visuals, filters, and slicers that will appear in your
reports.
45
• These tables serve mainly as connections between tables. They will contain the
measures, metrics, and calculations you will add to your reports.
46
23
10/10/2019
47
Primary Key
Master Data
Primary Key
48
24
10/10/2019
49
If you are given a data model to use, understanding the data model
is vital!
Explore the data model and ask the following questions:
50
25
10/10/2019
51
Star Schema
52
26
10/10/2019
Snowflake Schema
53
Lesson 3 Review
A. Understanding Data Terminology
B. Understanding Tables
C. Understanding Relationships
D. Diagnosing Data Models
E. Data Model Schemas
54
27
10/10/2019
55
56
28
10/10/2019
What Power Pivot can do: What Power Pivot cannot do:
• Hide existing columns • Cannot add, edit, or delete values or
• Add calculated columns rows
• Widen or freeze columns • Push changes to the data source
• Rename columns (headers) and table
tabs (tables)
• Apply number formatting
57
Pivot Tables and Pivot Charts have different capabilities when using
Excel data vs Power Pivot data
Excel
• One table limit
• Slicers on one table only
• No relationships
• No relational functions
58
29
10/10/2019
Pivot Tables and Pivot Charts have different capabilities when using
Excel data vs Power Pivot data.
59
60
30
10/10/2019
61
62
31
10/10/2019
63
64
32
10/10/2019
65
Notice that the fields are not named the same for a PivotTable and
Pivot Chart
66
33
10/10/2019
You have been asked to create a report that shows how product
promotions and volume promotions affected sales.
• The report needs to show data from both reseller and internet sales
• Report will be read by the Sales Manager
• Report will have the following characteristics:
• Reports will be viewed within Excel
• Reports will not be printed
• Reports will not be published to PowerPoint
67
Report “shows”
• What visuals should be used to display the data?
Charts
Sales data
• Where is the data needed for the report?
Sale Total from Internet Sales
SaleTotal from Reseller Sales
68
34
10/10/2019
69
To create a slicer:
70
35
10/10/2019
71
72
36
10/10/2019
Line
• Line, Markers, Stacked, 100% Stacked
Pie
• Pie of Pie, Pie of Bar, Exploded Pie
Area Charts
• 3D Area, Stacked, 100% Stacked
73
Doughnut Charts
• Doughnut, Exploded Doughnut
Surface Charts
• 3D, 3D Wireframe, Contour, Contour
Wireframe
Radar Charts
• Radar, Radar Wireframe, Filled Radar
74
37
10/10/2019
XY (Scatter) Charts
• Markers Only, Smooth Line, Straight
Line, Stacked
Bubble Charts
• Bubble, 3D Bubble
75
Stock Charts
• High-Low Close, Open HLC, Volume
HLC, Volume-Open HLC
Treemap
• Hierarchical comparison view
Sunburst
• Hierarchical radial view
76
38
10/10/2019
Histogram
• Used for frequencies and distribution
of values
Waterfall
• Running total of data showing
increases and decreases
77
Funnel
• Charts stage based data as it flows
from one stage to the next.
Combo
• Allows multiple chart types to be
selected as well as multiple axis to
be used
78
39
10/10/2019
Lesson 4 Review
A. Making Changes to Power Pivot Data
B. Creating Power Pivot PivotTables
C. Creating Power Pivot PivotCharts
D. Creating Slicers
E. Graphing Data
79
80
40
10/10/2019
81
82
41
10/10/2019
83
=Year(Dates[Order Date])
84
42
10/10/2019
85
Excel Formulas
• Focus on cell-level calculation
86
43
10/10/2019
DAX Functions
• Focus on table & column
calculation
87
Basic Syntax
• =[ColumnName]
• =FunctionName( [ColumnName] )
88
44
10/10/2019
=SUM( [Budget] )
89
Logical Functions
90
45
10/10/2019
91
Text Functions
92
46
10/10/2019
• In order to get accurate reports, you MUST know what you are
counting!!
93
94
47
10/10/2019
95
96
48
10/10/2019
Tables may contain many columns that are related to each other
• Many times this is a natural part of the data
Most Specific Least Specific
Granular Granular
97
When building a report, we add all columns that are part of the
relationship
• This could be a lot of columns!
• Hierarchies in Excel offer 1-click addition of all
columns within the hierarchy
98
49
10/10/2019
99
100
50
10/10/2019
101
102
51
10/10/2019
103
104
52
10/10/2019
105
106
53
10/10/2019
107
This suite helps you transform your company's data into rich visuals for
you to collect and organize so you can focus on what matters to you.
108
54
10/10/2019
Report Builders
Power Pivot
Data Model Designers
Database
Administrators
109
Hosting
Reports
Dashboards
Data Cortana Q&A Service
Modeling Quick Insights
110
55
10/10/2019
111
Power BI Tools
The best part is that all of these tools have been developed using the
Microsoft Excel interface
112
56
10/10/2019
Power BI Tools
Power Pivot for Excel:
a. Allows you to create sophisticated data models containing data from
virtually any data source
113
Power BI Tools
Power View for Excel:
a. Allows you to use a simple drag and drop interface to build interactive
reports and functional analytical views in minutes
114
57
10/10/2019
Power BI Tools
3D Maps (Power Map) for Excel:
a. Allows you to do complex geospatial reporting and exploration with data
quickly and efficiently
115
Power BI Tools
Get & Transform (Power Query) for Excel:
a. Allows you to dive into complex data sources and quickly merge, append,
and combine data sets to provide incredibly rich tables of data that can be
used within Excel and PowerPivot
116
58
10/10/2019
117
118
59
10/10/2019
119
120
60
10/10/2019
JN5
121
JN6
Report Styles
A. Bar Charts
122
61
Slide 121
JN5 was 33
Jeannette Neaves, 10/11/2017
Slide 122
JN6 was 34
Jeannette Neaves, 10/11/2017
10/10/2019
JN7
Report Styles
A. Column & Pie Charts
123
JN3
Report Styles
A. Charts & Slicers
124
62
Slide 123
JN7 was 35
Jeannette Neaves, 10/11/2017
Slide 124
125
JN1
Worksheet Data
• Highlight the data or table to be used
• There is no way to build relationships between datasets
added in this way
• Once the data is added, all of the columns within the
dataset are added to the Power View Field List
126
63
Slide 126
127
128
64
10/10/2019
129
JN2
View Title
130
65
Slide 130
n1
Hierarchy
Calculated Field
Numeric Column
that can be summarized
Column Used in
Column that can be
the Visualization
charted on a map
131
Filtering a Power View is now done from the panel on the right
132
66
Slide 131
n2
133
134
67
Slide 133
n2 Question
nhbellevue\jeannetten, 10/4/2017
10/10/2019
135
Table
• This view shows data in tabular format
136
68
10/10/2019
Matrix
• This view works much like a cross tab without any of its limitations
137
n3
Card
• Great for displaying data with pictures
• It looks like a business card or index card
138
69
Slide 138
139
140
70
10/10/2019
Pie Charts
Pie charts are used to show a category of values in the form of
percentage to total
A. IMPORTANT:
a. Size of the pie = Total
b. Size of the piece = % of Total
141
142
71
10/10/2019
143
144
72
10/10/2019
145
• To create:
1. Add base columns
2. Choose the chart type
3. Add drill down columns to the AXIS
146
73
10/10/2019
To use Drill-Down
• Double-click on the item representing the Value
• To return to the previous level in the hierarchy, click on the return
button
147
148
74
10/10/2019
149
150
75
10/10/2019
Allow you to repeat the same chart multiple times based on a single
column
• You can create both Horizontal and Vertical Multiples
151
• Slicers
• Scatter Plots & Bubble Charts
152
76
10/10/2019
153
154
77
10/10/2019
155
156
78
10/10/2019
157
Query – a set of steps to gather, transform, & load data into Excel
Data Source – a set of tabular or comma separated values
Peek – a panel allows you to see a sample of the data related to a
query
Step – an individual change to the data source
Load – the process of applying steps and placing the results into Excel
158
79
10/10/2019
2013
2016
159
160
80
10/10/2019
a. This ribbon will allow you to edit the query used to create the table as well
as refresh it
161
162
81
10/10/2019
163
164
82
10/10/2019
165
• Always verify that the correct type is selected before moving on!
166
83
10/10/2019
• List out each of the changes that need to be made to the data
• Changes are called transformations
• There are two categories of transformations
• Structural
• Data
167
168
84
10/10/2019
169
170
85
10/10/2019
171
172
86
10/10/2019
Basic Transformations
Transforming the data
a. Power Query transformations are divided into two groups:
• Data Transformations
173
174
87
10/10/2019
n5
175
176
88
Slide 175
Merging Queries
Merging is the process of bringing two tables together based on a
similar attribute or column
A. Power Query allows for 6 different merges
177
Merging Queries
There are several different types of Merge operations that Power
Query can perform:
a. All rows from one table and
matched from the other table
• Left Outer
• Right Outer
Rows from
one table
178
89
10/10/2019
Merging Queries
There are several different types of Merge operations that Power
Query can perform:
a. All rows from one table and
matched from the other table
• Left Outer
• Right Outer
179
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Every record from both table
• Full Outer
Unmatched
Rows from
one table
Unmatched
Rows from
one table
Matched Rows
from
both tables
180
90
10/10/2019
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Every record from both table
• Full Outer
181
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Only rows that exist in
both tables.
• Inner
182
91
10/10/2019
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Only rows that exist in
both tables
• Inner
OrderID CustID
CustID Name 1 2 Name
1 Bob 2 NULL Mary
2 Mary 3 4 Sam
3 Frank 4 1 Bob
4 Sam 5 NULL Bob
6 1
183
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Rows with no match in the
other table
• Left Anti
• Right Anti
Unmatched
No Rows from
Rows from
one table
one table
184
92
10/10/2019
Merging Queries
A. There are several different types of Merge operations that Power
Query can perform:
a. Rows with no match in the
other table.
• Left Anti
• Right Anti
185
Appending Queries
Brings together two datasets without regard to a relationship
A. This operation may result in a large number of NULL values!
186
93
10/10/2019
Appending Queries
Rules that govern appending tables:
a. The two datasets should represent the same entity
• Orders, Customers, or Products
b. The column headers are used to make matches. If none are found, new
columns are created.
Problems
OK
187
Appending Queries
Rules that govern appending tables:
a. The two datasets should represent the same entity
• Orders, Customers, or Products
b. The column headers in the first table should be present in all other tables
c. Duplicate records will be added if present
• Use Remove Duplicates in the Query Editor
188
94
10/10/2019
Often, the data source does not contain the calculations that are
needed by the reports
• Calculated columns can be added to the Query
• These calculations can be basic arithmetic or aggregations
189
Calculation Builder
190
95
10/10/2019
191
192
96
10/10/2019
193
194
97
10/10/2019
195
196
98
10/10/2019
197
• Getting data from CSV or TXT files will lead to incorrectly formatted
data
• Fixing a single file is not the answer
• You can use the Query Editor to repair the data allowing for data
refresh
198
99
10/10/2019
199
• To repair
• Remove the Changed Type step
• Open the Source Settings
• Change the Open file As to Text File
• Remove the first row
• Split the columns on the comma
• Use first row as headers
200
100
10/10/2019
• Maintaining Queries
• Auto-Refreshing Queries
• Publishing Queries
201
• Maintaining Queries
• Data loaded to a Workbook
• All changes to the columns should be made in the Query Editor.
• Data loaded to PowerPivot
• Anything created in the Query Editor should only be modified in the Query Editor.
• Anything created in the PowerPivot Manager should be edited in the Manager.
202
101
10/10/2019
• Maintaining Queries
• Data loaded to PowerPivot
• Be careful to avoid the following actions, you will get an error:
• Change the name of a table in the PowerPivot Manager.
• Rename an imported column in the PowerPivot Manager.
• Delete an imported column in the PowerPivot Manager.
203
• Maintaining Queries
• Data loaded to PowerPivot
• It is safe to perform the following modifications:
• Add/modify/remove custom calculated columns in the PowerPivot Manager.
• Add/modify/remove relationships in the PowerPivot Manager.
• Add/modify/remove DAX Measures (Calculated Fields) in the PowerPivot Manager.
• Add to or Modify the Query itself in the Query Editor.
204
102
10/10/2019
205
206
103
10/10/2019
207
n4
208
104
Slide 208
209
210
105
10/10/2019
There are a few things that you need to be aware of when preparing to
install Power Map
• You will need a good graphics card
• You will need a system with plenty of available RAM
• If you are working with large volumes of data, you will want to have the 64-
bit version of Excel 2013 installed
211
http://www.microsoft.com/en-us/download/details.aspx?id=38395
212
106
10/10/2019
213
214
107
10/10/2019
215
216
108
10/10/2019
Man-Made features
• Bridges, roads, & buildings
• Use addresses
• Closest Starbucks?
217
218
109
10/10/2019
219
2013
2016
220
110
10/10/2019
221
222
111
10/10/2019
223
224
112
10/10/2019
225
Creating a Tour
Creating the Tour
1. Identify what columns contain spatial data
• Zip Codes
• City names
• Country names
2016 Only
• Pay attention to the Mapping
Confidence percentage
• Mapping Confidence report
226
113
10/10/2019
Creating a Tour
Creating the Tour
1. Identify what columns contain spatial data
• Zip Codes
• City names
• Country names
2. Define the height, category and time settings
3. Create layers, scenes
4. Set options and transitions
227
228
114
10/10/2019
Creating a Tour
Scene Formatting
a. Each scene will have the following options
2013 2016
Scene Duration
Scene Name
Transition Duration
Effect
Start Date
End Date
Speed
Map Type
229
Creating a Tour
Power Map Visualizations
a. Stacked Column
b. Clustered Column
c. Bubble
d. Heat Map
e. Region
230
115
10/10/2019
231
Creating a Tour
Layer Formatting 2013 2016
a. Stacked Column
b. Clustered Column
c. Bubble
d. Heat Map
e. Region
232
116
10/10/2019
233
2013 2016
234
117
10/10/2019
2013 2016
235
2013 2016
236
118
10/10/2019
237
238
119
10/10/2019
239
120