0% found this document useful (0 votes)
44 views

Report Builder

Report Builder Excel Contoh

Uploaded by

nurulftrn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Report Builder

Report Builder Excel Contoh

Uploaded by

nurulftrn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 129

10/10/2019

•PowerPivot Training Series

Level 1 •PowerPivot for Report Builders

Level 2 •Power BI Tools for Excel

Level 3
•PowerPivot for Data Model Designers

Level 4 •PowerPivot DAX Functions

1
10/10/2019

Day 1: Course Outline


1. Introducing Power BI for Excel
2. Defining a Report
3. Understanding Power Pivot Data
4. Create Reports using Power Pivot Data
5. Creating Power Pivot Functions

2
10/10/2019

1. Introducing Power BI for Excel


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

A Business Intelligence (BI) model is comprised of rules and applications


that allow analysts to transform raw data into business
information and insights.
It is through the use of Business Intelligence systems that analysts are
able to create the reports that so many businesses rely on.

3
10/10/2019

Microsoft’s Self-Service Business


Intelligence suite is called Power BI.

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.

Is one part of the Power BI Suite for Excel


• Allows direct access to data sources both large and small
• Exceeds the row limitations of Microsoft Excel alone
• xVelocity allows data sources to exceed the row limitation within Excel
• Harnesses the power of Excel PivotTables and Pivot Charts to provide
amazing visualizations

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

PivotTables Power Maps


Pivot Charts Power Views

Power Pivot
Data Model Designers

Database
Administrators

12

6
10/10/2019

Report Builders

PivotTables 3D Maps
Power Views
Pivot Charts

Data Model Designers Power Pivot

Database
Administrators

13

Power Pivot reports are


Power Pivot:
the Data Data and Visualization
Model

Power Map:
3D Charting
Power View: & Storytelling
Excel: the visualization, Advanced
Pivot and Charting Charting &
Mapping

14

7
10/10/2019

• Power Pivot uses standard PivotTables and


Pivot Chart

• The PivotTable and PivotChart tool has not changed

• The data used by the PivotTable or PivotChart is what changes their


capabilities

15

Enabling the Add-In for Excel 2013

16

8
10/10/2019

Enabling the Add-In for Excel 2016

17

Opens the Power Pivot Data Manager

18

9
10/10/2019

This is a separate application and has its own set of ribbons

19

This view contains a preview of the data in the Power Pivot data model

20

10
10/10/2019

Shows the relationships in the data model

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

A Power Pivot report Example

• Creating meaningful Power Pivot reports is an art


• You MUST understand the needs of the audience

26

13
10/10/2019

• Every Power BI report is based on a Data Model

• A Data Model is a set of tables that contain related data

• The Data Model is part of an Excel workbook

27

Start by planning the report


1. The style of the report
2. The audience for the report
3. How it will be delivered
4. What it will contain
• What process, fact, or event will be defined?
• What data is needed?
• Will it be stand-alone or part of a narrative?

28

14
10/10/2019

It is important that you clearly understand the purpose of the report


before creating it
• What question, fact, or finding is the report is trying to define?
• What data model contains the data needed to answer this query?
• Who is the audience for the report?

29

Reports can be used in many different ways


• Printed
• In PowerPoint
• Interactive within Excel
• Interactive within Excel Web App in SharePoint
• Interactive with Power View

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

The process has 4 steps


1. Gather the data, facts, action items, & conclusion
2. Identify the audience, expectations, & method of delivery
3. Identify visualizations to be used & the narrative flow
4. Create the narrative

32

16
10/10/2019

1. Gathering the data


• Data & facts
• Be sure to select the correct dataset
• Know what columns within the data will be important
• Identify if changes are needed
• If so, identify how to request changes to the dataset
• Action Items & conclusion
• Be sure to have a clear idea of the purpose of this report
• Know what action items should be covered
• Know what conclusions you would like the report to illustrate

“Poorly selected data or irrelevant facts will


always lead to a bad narrative.”

33

Gathering the Data

Data Accumulation Data Relevancy

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

2. You must know your audience!


• Expectations
• Predispositions
• Skill level
• Technology prowess

35

3. Data-driven Narrative Types


• Author-driven –
• exert full control over the flow from one report to the next
• interactivity is limited
• contain a significant use of messaging
• deliverable may be a slide show, lecture, or read-only report
• Reader-driven –
• exert limited control over the flow from one report to the next
• data exploration is the goal
• interactivity is highly functional
• contain very little messaging

36

18
10/10/2019

Storyboarding
the process of drafting out the vision of your narrative
Sketch Goal Interactivity

None

Drill-Down on bar & pie


Custom filters for all

None

37

4. Narratives must follow a direct route in delivering information.


The more direct the better!

• There are 4 important components to each narrative:


• Opening scene “Once upon a of
Introduction time, in a land
business far far
process, fact,away…”
or event
• Character development & plot generation
• Protagonist & Antagonist are identified
“The“Red
• Plot twists and struggles Marketing
Shipping Riding
wicked
Teamwitch
costs Hood” paced“The
captures
Initiatives
far out salesBig
Dorothy…”
Sharp rise Bad Wolf” costs
in shipping
increases
• The close down Marketing“…and they dramatically
initiatives lived happilyincreased
ever after.”
the bottom
line which lessened the overall impact of this rise

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

3. Understanding Power Pivot Data


A. Understanding Data Terminology
B. Understanding Tables
C. Understanding Relationships
D. Diagnosing Data Models
E. Data Model Schemas

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

There are two roles that tables have in Data Models:


1. Source Table
2. Master Table

Source Master Source

44

22
10/10/2019

There are two table types that Data Models use:


Primary Key:
Source Table Unique identifier for
the record
• Contains unique records that will be referenced in other tables
• Primary Key Column
• This column lists individual values that can be used in columns of other tables
Entity = Products Entity = Customers
ProductID ProductName Category CustID FirstName LastName
481 Mountain-200 Bikes 16541 Earl Jenkins
482 Road-500 Bikes 16542 Darlene Klein

• These tables contain the labels for visuals, filters, and slicers that will appear in your
reports.

45

There are two table types that Data Models use:


Foreign Key:
Master Data Identifier represents a unique
• Contains many records that relate to the Source table record in the source table
• Foreign Key Column
• This column contains values that reference records in other Source tables

OrderID OrderDate Customer Product Qty


187651 05-20-2015 16541
Earl Jenkins 481
Mountain-200 2
187652 05-20-2015 16542
Darlene Klein 482
Road-500 2

• 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

Understanding tables is only the first step, understanding how data


travels between tables is the next step.

are what make BI data models different from Excel-based data.

A relationship defines commonality between tables

47

Source Table Source Table


Primary Key

Primary Key

CustID FirstName LastName ProductID ProductName Category


16541 Earl Jenkins 481 Mountain-200 Bikes
16542 Darlene Klein 482 Road-500 Bikes

Master Data
Primary Key

OrderID OrderDate Customer Product Qty


187651 05-20-2015 16541 481 2
187652 05-20-2015 16542 482 2
Foreign Key

48

24
10/10/2019

Every relationship is represented as a line between tables.

When you select a relationship, Excel 2013 Excel 2016

both the arrow and columns


are highlighted.

The “arrowhead/1” always points


to the unique side of the
relationship.

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:

1. What is each table describing (Entity)?


2. What relationships exist in the data model?
3. Does the model contain everything you need for your report?
If not,
• Is there a better data model?
• How do you request changes to the data model?

50

25
10/10/2019

Data Models have schemas


• Star
• Snowflake

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

4. Creating Reports using Power Pivot Data


A. Making Changes to Power Pivot Data
B. Creating Power Pivot PivotTables
C. Creating Power Pivot PivotCharts
D. Creating Slicers
E. Graphing Data

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.

Power Pivot Data


• Multiple tables
• Slicers on Multiple tables
• Robust Relationships
• Measures

59

1. Click on Manage from the Power Pivot Ribbon


2. Click on PivotTable to select the layout

60

30
10/10/2019

1. Click on Insert tab then on PivotTable


2. Select on Use this workbook’s Data Model

61

Excel uses the same panel for Power Pivot PivotTables

• Because it is based on a data model you will


see multiple tables listed

• You will be given the option to see just the


tables that are being used in the Pivot or to
see all tables

62

31
10/10/2019

4 regions for fields to be added to:

• Filters: Changes the entire report


• Columns: Data in the columns
• Rows: Data in the rows
• Values: Calculated fields

63

1. Click on Power Pivot Window from the Power Pivot Ribbon


2. Click on PivotChart to select the layout

64

32
10/10/2019

1. Click on Insert tab then on PivotTable


2. Select on Use this workbook’s Data Model

65

Notice that the fields are not named the same for a PivotTable and
Pivot Chart

PivotTable 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

Product vs volume promotions


• How many chart will best reveal the nature of the data?
1 or maybe 2

Sales data
• Where is the data needed for the report?
Sale Total from Internet Sales
SaleTotal from Reseller Sales

68

34
10/10/2019

A slicer is a series of buttons that represent unique values in one


column
• They work by filtering the table or chart they are connected to
• Each slicer can be connected to multiple
tables and charts

69

To create a slicer:

• Open a worksheet that contains a PivotTable or Pivot Chart


• Click on the table/chart then on the Options ribbon under PivotTable Tools
• Then click on Insert Slicer/Insert Timeline

70

35
10/10/2019

You can add conditional formatting to your PivotTables

• When you select values within a


PivotTable you are given additional
options

• This allows the formatting to move as


the filters change

71

Graphing data takes planning.

Choose the best layout for the data displayed:


• This may take a few tries
• Consider your audience
• Graphic data in multiple ways
is often very effective

72

36
10/10/2019

Column & Bar Charts


• Clustered, Stacked, 100% Stacked

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

Box & Whisker


• Divides data into quartiles,
highlighting the mean and outliners

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

5. Creating Power Pivot Functions


A. Calculated Columns
B. What is DAX?
C. Understanding DAX Functions
D. Common DAX Functions
E. Dates & Date Functions

81

Calculated Columns are the most basic form of calculation within


Power BI data models.
• These columns are row level calculations
• Examples include subtotals, extracting text, generating values
• These columns exist as new columns within an existing table
• There is no limit to the number that can be added

82

41
10/10/2019

• The formula is evaluated once for each row No Exceptions!


• If the values in any row produce an error, all rows will return an error

83

DAX functions reference data model columns.


• Each column reference
• should begin with the table name
• the column name follows and is ALWAYS surrounded by square brackets [ ]

=Sales[Order Date] - Sales[Ship Date]

=Year(Dates[Order Date])

84

42
10/10/2019

Data Analysis EXpressions language

• DAX is a language used to perform calculations in Power BI


• Like any other language you must learn how to use it effectively

85

Excel Formulas
• Focus on cell-level calculation

• Reference cell addresses and


named ranges

• Can limit the cells included in the


calculation

86

43
10/10/2019

DAX Functions
• Focus on table & column
calculation

• Reference the column and table

• Cannot limit the values included


without a filter

87

Basic Syntax
• =[ColumnName]
• =FunctionName( [ColumnName] )

Calculate for per row (Calculated Column):


• =[GrossAmount] / [SalesAmount]

88

44
10/10/2019

Adding a field to the Values region of a PivotTable creates a measure.


• The default aggregate is a SUM for numeric columns, count for others.
• You can change the aggregate function used
• You can add the same column multiple times

=SUM( [Budget] )

89

Logical Functions

IF function – performs a condition to test.


=IF( condition to evaluate , what to do if true , what to do if false )
=IF( [Product Size] = 50, “Large” , “Medium” )
Logical functions can be used to allow for multiple conditions.
• AND - both condition must be true
• OR - one or both conditions must be true
• NOT - first condition must be true second must be false
=IF( [Product Size] = 50 AND [ProductCategory] = “Bike”,
“Large Bike” , “Medium Bike” )

90

45
10/10/2019

In the next exercise, you will create the following function:

• =IF( [Unit Price] <= 100, “Low” ,


IF( [Unit Price] <= 1000, “Medium” , “High” ) )

91

Text Functions

• UPPER/LOWER =LOWER(column to be changed)


• LEFT/RIGHT =LOWER( [First name] )
• MID
=LEFT(column to be used, # of char to gather)
• LEN =LEFT( [First name], 3 )
• FIND
• CONCATENATE =CONCATENATE(text 1, text 2)
=CONCATENATE( [First name], [Last name] )

92

46
10/10/2019

• Understanding the logical requirements of the report you are


building is important

• Due to the nature of


databases, Data Models
often contain multiple
tables with columns of
the same name.

• In order to get accurate reports, you MUST know what you are
counting!!

93

Each column has a logical meaning to it


• The Product Key column in the Products table
• The Product Key column in the Internet Sales table
• The Product Key column in the Reseller Sales table

Aggregating each of these columns produces a different answer

94

47
10/10/2019

606 60306 60855

• The number of products in the Products table


• The number of product sales in the Internet Sales table
• The number of product sales in the Reseller Sales table

95

Dates are the most common elements in reports

1. Dates are natural hierarchies


• Year
• Quarter
• Month
2. Date values are rarely aggregated
3. There should always be a Date Source table
• There cannot be any missing dates
• Dates should match the range of data to the end of a period
• Columns should define each part of the Date that will be important

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

Day Month Quarter Year

• Sometimes this is generated by business practice as well


Most Specific Least Specific
Granular Granular

Product SubCategory Category

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

• Hierarchies will always have a plus/arrow to the left


of their name
• Drag the hierarchy to the correct report area
• In the report you will now see the plus signs next
to each year

99

Date & Time functions


=YEAR(column that contains a date)
• DATE
=YEAR( [Ship Date] )
• DAY
• MONTH
• YEAR
• WEEKDAY
• WEEKNUM
Due Date: =[OrderDate] + 5

Order Status: = IF([Ship Date] <> [Due Date],


IF([Ship Date] > [Due Date], ”Late”, ”Early”), ”On-Time” )

100

50
10/10/2019

5. Creating Power Pivot Functions


A. Calculated Columns
B. What is DAX?
C. Understanding DAX Functions
D. Common DAX Functions
E. Dates & Date Functions

101

Day 1: Course Review


1. Introducing Power Pivot
2. Defining a Report
3. Understanding Power Pivot Data
4. Create Reports using Power Pivot Data
5. Creating Power Pivot Functions

102

51
10/10/2019

Level 1 •Power BI for Report Builders

Level 2 •Power BI Tools for Excel

Level 3 •Power BI for Data Model Designers

Level 4 •Power BI - DAX Functions

103

1. Introducing Power BI Tools


2. Power View for Excel
3. BI Data Query Basics
4. Query Editor Transformations
5. 3D Maps (Power Map)

104

52
10/10/2019

105

6. Introducing Power View


A. Microsoft’s Self-Service Power BI Model
B. What is Power BI for Excel?

106

53
10/10/2019

A Business Intelligence (BI) model is comprised of rules and applications


that allow analysts to transform raw data into business information and
insights.
It is through the use of Business Intelligence systems that analysts are
able to create the reports that so many businesses rely on.

107

Microsoft’s Self-Service Business


Intelligence suite is called Power BI.

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

PivotTables Power Maps /


Pivot Charts 3D Maps Power Views

Power Pivot
Data Model Designers

Database
Administrators

109

Power BI for Excel & Power BI Service


• These tools are meant to be used together
• Modeling and Reporting in Excel
• Dashboards, Cortana Q&A, Quick Insights, and Hosting in the Power BI
Service

Hosting
Reports
Dashboards
Data Cortana Q&A Service
Modeling Quick Insights

110

55
10/10/2019

Topic B: Power BI for Excel


Power BI for Excel is a suite of tools that provide you with flexible,
powerful and complete business analysis at your fingertips

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

6. Introducing Power View


A. Microsoft’s Self-Service Power BI Model
B. What is Power BI for Excel?

117

118

59
10/10/2019

7. Power View for Excel


A. What is Power View?
B. Creating Power View Reports
C. Power View Interface Components
D. Understanding Table Visualizations
E. Chart Visualizations
F. Power View Tiles, Slicers, & Multiples

119

Power View is a visualization tool made to work seamlessly with Excel


or SharePoint server
A. You can use both Excel and SharePoint server to create reports
B. Then share, collaborate, and extend those insights to all of your audience members

120

60
10/10/2019

JN5

Before creating your Power View Report answer these questions:

1. What question(s) is the report is trying to answer?


2. Who is the audience for the report?
3. How should the answer be displayed?
4. Should I include images to enhance the report?
5. Will the report be digital or printed?

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

JN3 Was slide 36


Jeannette Neaves, 10/11/2017
10/10/2019

All Power Views are based on data


Data can be added to a Power View in three ways
• Selected Data not recommended!

• Excel Table Data


• Power Pivot Data

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

JN1 Was slide 39


Jeannette Neaves, 10/11/2017
10/10/2019

Gathering Report Data


Preparing Worksheet Data
a. The data must be in a single worksheet
b. The data cannot contain any blank column or rows
c. Every column must have a header
d. Avoid blank cells as often as possible
e. The data should be formatted as an Excel table with a meaningful table
name

127

Power Pivot Data Model:


• If there is a data model within the workbook, the Power
View will always attach to the data model.
• These tables already have relationships within the data
model and will form great views.

128

64
10/10/2019

To create a Power View:


• Select your data, worksheet, or workbook containing a data model
• Click INSERT Ribbon
• Then click Power View

129

JN2

View Title

Column Visualization Map Visualization

130

65
Slide 130

JN2 Was slide 44


Jeannette Neaves, 10/11/2017
10/10/2019

n1

Power View List

Data Model Column

Data Model Table

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

n1 yellow box with white text is very hard to read.


nhbellevue\jeannetten, 10/4/2017
10/10/2019

n2

The Filter Panel is used to filter a report


It is much like the Field List you have been using in PowerPivot

• Two ways to open the panel, From the report,


or the ribbon

• Check a box to filter down to just that item

133

Advanced filtering is also available

• To add an advance filter, click on the icon to the right of the


table name

• The panel will change

• Enter your filter and click apply filter

134

67
Slide 133

n2 Question
nhbellevue\jeannetten, 10/4/2017
10/10/2019

There are three table views


• Table
• Matrix
• Card

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

n3 Explain again why we don't do the card view?


nhbellevue\jeannetten, 10/4/2017
10/10/2019

Topic E: Chart Visualizations


Charts generally contain the following elements:
a. Chart Title
b. Plot Area (the actual chart)
c. X-axis (category)
d. Y-axis (value)
e. Legend Entry
f. Labels for the x-axis
g. Labels for the y-axis

139

Column, Bar, & Line Charts


The most commonly used chart types are column, bar, and line
a. All three of these chart
types are effectively the
same.
b. Data values are plotted
against a graph on X and
Y axis.

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

A Map view is built upon a Bing map


• To create it, built a table and switch to the map visualization

142

71
10/10/2019

Scatter & Bubble Charts


Scatter Plots display many data points on an X-Y axis
A. Bubble Charts introduce a third axis to the chart representing the
size of the data point

Scatter Plot Bubble Chart

143

Scatter & Bubble Charts


Scatter Plots also introduce a new feature called the Play Axis
A. This axis requires a consecutive series of values
B. Time is the most common series

144

72
10/10/2019

Filtering hides all In Place Filtering


items that do not highlights items that
match whereas do match

145

Allows users to navigate a hierarchy in the matrix view or on charts

• 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

Power View introduced the Pop Out feature


• Make 1 visualization full screen

148

74
10/10/2019

Topic E: Power View Tiles, Slicers & Mulitples


The Tile feature create a container that filters charts within it based on
unique values
A. When you add a column to the Tile By region, the container is
created

149

In Power View, Slicers are created by converting single column tables


• They work like slicers in Excel

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

7. Power View for Excel


A. What is Power View?
B. Creating Power View Reports
C. Power View Interface Components
D. Understanding Table Visualizations
E. Chart Visualizations
F. Power View Tiles, Slicers, & Multiples

153

154

77
10/10/2019

8. BI Data Query Basics


A. What are BI Data Queries?
B. Power Query Interface
C. Planning a BI Data Query

155

Topic A: What are BI Data Queries?


Get & Transform Data for Excel 2016
Power Query for Excel 2013
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

156

78
10/10/2019

• Power Query is an add-In for Excel 2013


• Get & Transform Data is built into Excel 2016

• When combined with the Power BI Service you can


• Create and share Queries with other users
• Perform automatic data refresh of the queries

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

Topic B: Power Query Interface


Power Queries are started from within Excel using the POWER QUERY
ribbon

2013

2016

159

Query Editor Interface


The Query Editor is where you will perform most transformations

Query Panel Details Window Query Settings

160

80
10/10/2019

Table Query Ribbon


Once a query is loaded to a worksheet the following ribbon appears

a. This ribbon will allow you to edit the query used to create the table as well
as refresh it

161

Planning the query is performed in three steps


1. Extract the Data
• Connect to Data Sources
• Combine Data from Multiple Sources
2. Transform the Data
• Define Data Types
• Apply Transformations
3. Load and Share the Data

162

81
10/10/2019

Gathering the Raw Data


• File Based 2013
• Database
• Microsoft Azure
• Other Sources
• Web-based
• SharePoint Lists
• Hadoop Files
2016
• Salesforce
• ODBC

163

Once data is imported, the Query Editor


performs steps to ensure it is usable by Excel
• Steps
• Source
• Promoted Headers
• Changed Type

164

82
10/10/2019

There are two ways to combine data


• Merging Queries – similar to a database join
• Appending Queries – similar to copy & paste

There are two hazards of appending queries


• Mismatched columns– column headers don’t match but the data does
• Will still load but there will be a lot of NULL values
• Mismatched data types– column headers match but data types don’t.
• These queries will fail to load!

165

BI Data Queries support the following data types:


Boolean True/False
Date/time Date/time, Date only, Time only, Date/time/time zone, Duration
Numbers Decimal, whole number, currency
Object Binary (images)
Text Text
Undefined Any

• 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

In order to use the data created by a query you must load it


There are three options for loading the data
• Excel Worksheet – add the dataset
to an Excel worksheet
• Connection Only – creates a
connection without loading the data
• Power Pivot Data Model – adds the
dataset to a Power Pivot data model

168

84
10/10/2019

8. BI Data Query Basics


A. What are BI Data Queries?
B. Power Query Interface
C. Planning a BI Data Query

169

170

85
10/10/2019

9. Query Editor Transformations


A. Basic Transformations
B. Merging and Appending Datasets
C. Calculated Columns
D. Grouping and Summarizing Data
E. Unpivoting Data
F. Dealing with Malformed Data
G. Finalizing Queries

171

Topic A: Basic Transformations


Transforming the data
a. Power Query transformations are divided into two groups:
• Structural Transformations

172

86
10/10/2019

Basic Transformations
Transforming the data
a. Power Query transformations are divided into two groups:
• Data Transformations

173

As you add transformations to the Query Editor, the Query Editor


keeps track of the transformation using Applied Steps
Most steps will allow you to
update the change that is being
applied by clicking on the gear
icon

174

87
10/10/2019

n5

Carefully Plan how you will create your steps.


1. Remove the initial Changed Type step.
2. Perform all Merging or Appending operations.
3. Perform all Structural transformations.
4. Perform all Data transformations.
5. Change the Data Types.
6. Rename all columns.

175

This is the process of gathering data from 2 or more queries and


combining them into one.
• There are two ways to combine queries
• Merging
• Appending

176

88
Slide 175

n5 Ok - I am confused on why the rename with PowerPivot and


PowerQuery
nhbellevue\jeannetten, 10/4/2017
10/10/2019

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

Only matching rows


from both tables

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

CustID Name OrderID CustID Name OrderID


1 Bob 1 2 Bob 4
2 Mary 2 NULL Bob 6
3 Frank 3 4 Frank NULL
4 Sam 4 1 Mary 1
5 NULL Sam 3
6 1

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

CustID Name OrderID CustID Name OrderID


1 Bob 1 2 Bob 4
2 Mary 2 NULL Bob 6
3 Frank 3 4 Frank NULL
4 Sam 4 1 Mary 1
5 NULL Sam 3
6 1 NULL 5
NULL 2

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

Records that have


matching values

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

CustID Name OrderID CustID Name OrderID


1 Bob 1 2 Frank NULL
2 Mary 2 NULL
3 Frank 3 4
4 Sam 4 1
5 NULL
6 1

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

The Query Editor provides two ways to group data


• Group & Summarize records
• Create a Row Operation

191

The Query Editor provides two ways to group data


• Group & Summarize records
• Once grouped, you will need to choose which columns to summarize and
how.

192

96
10/10/2019

The Query Editor provides two ways to group data


• Create a Row Operation
• Produces a unique list of values that can be used as source tables in a
PowerPivot data model.
• Results can be refreshed!

193

Duplicating or Referencing Queries


• Duplicating
• Steps are copied to a new query
• Steps can be altered and/or added to
• Changes need to be applied to each
duplicate query
• Replicating
• Steps are not copied but are borrowed
• Steps are added to the grouped query
• Changes are made only to the source or grouped query

194

97
10/10/2019

• Working with PivotTable Sources


• Dealing with Malformed Data
• Maintaining Queries
• Auto-Refreshing Queries
• Publishing Queries

195

• PivotTable data is very common in all businesses

• It is not formatted in a way for it to be further analyzed


• What can you do?

196

98
10/10/2019

• The PivotTable data needs to be transposed and realigned.


• The Query Editor has a feature
that will do this for you in just
a few clicks!

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

• When the data is imported it may look like this:


• Only 1 column exists on the first row
• It recognizes the comma
separator and only imports
dates

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

• Automatic Refresh is the holy grail when it comes to managing


transactional data.
• When the workbook is opened
• Every x minutes

205

• You can publish completed queries to the Power BI Service

206

103
10/10/2019

9. Query Editor Transformations


A. Basic Transformations
B. Merging and Appending Datasets
C. Calculated Columns
D. Grouping and Summarizing Data
E. Unpivoting Data
F. Dealing with Malformed Data
G. Finalizing Queries

207

n4

208

104
Slide 208

n4 Was busy sending books to students - missed this section.


nhbellevue\jeannetten, 10/4/2017
10/10/2019

10. 3D Maps for Excel


A. What are 3D Maps?
B. Preparing a 3D Map Tour
C. 3D Map Designer
D. Creating a 3D Map Tour
E. 3D Map Formatting Tools
F. Finalizing a 3D Map Tour

209

Power Map is a 3D data visualization tool for Excel


that provides an immersive experience for making
discoveries in data that might never be seen in
traditional 2D tables and charts

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

It is a free add-in for Excel 2013


• Download the add-in from

http://www.microsoft.com/en-us/download/details.aspx?id=38395

212

106
10/10/2019

It is now integrated with Excel 2016!


• If you upgraded from 2013 you may see two options
• Turn off the Microsoft Power
Map add-in
• When you open a map,
you will be prompted
to uninstall

213

Power Map Terminology


Tour
a. Each new Power Map your create is called a tour
Scene
a. Within a tour you will have one or more scenes
Design Window
a. This is the program interface you will use to create tours and scenes
Layer
a. Allows you to chart different metrics in the same scene

214

107
10/10/2019

How Power Map Works


A. Uses Bing Maps to plot data

B. Must have an internet connection in order to design tours

C. Power Map videos can be played without an internet connection

215

Topic B: Preparing a 3D Map Tour


Before creating your Power Map Tour answer these questions:

1. What questions need to be answered in this tour?


2. Who is the audience for this tour?
3. How can the data be best displayed?
4. Where will the tour benefit from labels and dialog boxes?
5. How many scenes should be used to tell a great story?

216

108
10/10/2019

Man-Made features
• Bridges, roads, & buildings
• Use addresses
• Closest Starbucks?

Naturally occurring features


• Lakes, mountains, & forests
• Use longitude & latitude
• Lower Falls of the Lewis River

217

Power Map requires the following data:


• 1 spatial data column
• 1 date or time column

All other data is then available to be plotted as visualizations on the


Power Map scenes

218

109
10/10/2019

Selecting a Data Set


Power Map can use data from:
a. Excel worksheets
b. PowerPivot data models

You should not use PivotTables as a source!

219

Topic C: 3D Map Designer


The Power Map Designer is a separate window from Microsoft Excel

A. The Home ribbon

2013

2016

220

110
10/10/2019

Power Map Designer 2013


The Designer is divided into three panels
Tour Editor Map Panel Layer Pane

221

3D Maps Designer 2016


The Designer is divided into three regions & 2 panels
Tour Editor Map Panel Layer Pane

Scene Options Field List

222

111
10/10/2019

Power Map Designer


The Settings Panel is divided into three views
Layers Manager Field List Scene/Layer Options

223

Topic D: Creating a 3D Map Tour


The Design Process
1. Creating a new tour
2. Add the scenes that will be part of the tour
3. Add layers to the scenes and design the maps
4. Save the tour

224

112
10/10/2019

Creating a Power Map Tour


My recommendations:
a. Storyboard everything on paper before you open Excel

b. Give every tour, scene, and layer a meaningful name

c. Fully develop each scene before creating the next one

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

Topic E: 3D Map Formatting Tools


Map Formatting 2013
a. Map Themes
b. Map Labels
c. Flat Map
d. Find Location
e. Custom Regions
2016

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

Creating a Power Map Tour


Visualizing Data Over Time
a. Time includes two Map elements when added
• The Date & Time box
• Time Line

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

Topic F: Finalizing a 3D Map Tour


Finishing Touches
a. Annotations

233

Finalizing a Power Map Tour


Finishing Touches
a. Text Boxes

2013 2016

234

117
10/10/2019

Finalizing a Power Map Tour


Finishing Touches
a. Adding Scenes
• Scenes are where the movie transitions
from showing one thing to the next
• Choose scenes carefully
• Crete stop scenes

2013 2016

235

Finalizing a Power Map Tour


Finishing Touches
a. Creating a Power Map Video
1. Choose the quality
2. Add a soundtrack
3. Begin rendering

2013 2016

236

118
10/10/2019

10. 3D Maps (Power Map) for Excel


A. What are 3D Maps?
B. Preparing a 3D Map Tour
C. 3D Map Designer
D. Creating a 3D Map Tour
E. 3D Map Formatting Tools
F. Finalizing a 3D Map Tour

237

Day 2: Power BI Tools Review


1. Introducing Power BI Tools
2. Power View for Excel
3. BI Data Query Basics
4. Query Editor Transformations
5. 3D Maps (Power Map)

238

119
10/10/2019

239

120

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy