Subido por Cummy Harhar

power bi slides-2020

Anuncio
Getting Started
What & Why?
What is Power BI?
“A business analytics solution that lets you visualize your data
and share insights across your organization. Connect to hundreds of data sources and
bring your data to life with live dashboards and reports.”
Three Core Areas
Data Preparation & Analysis
Visualization
Collaboration & Sharing
Understanding the Core Power BI Toolset
Power BI Desktop
Windows Only
Power BI Service (Pro)
Website Login
Datasets
Datasets
Visuals
Visuals
Reports
Reports
Power BI Mobile
Mobile App
Dashboards
Collaboration
Share Results
Access Anywhere
Course Outline
Getting Started
Prerequisites
Analyzing Data
Power BI Service
Additional Data
Sources
The Query Editor
Visualizing Data
Power BI Mobile
How to Stay
Updated?
Collaborate
Dive Deeper
Work locally in Power BI Desktop
Bonus:
Advanced
Features
Master Power BI
Roundup & Next
Steps
How to Get The Most Out Of This Course
Watch the Videos
At your Speed!
Pause & Rewind!
Work Along & Do the
Exercises
Use the Course Resources
Attached Project Files
& Links
Ask in Q&A
Help others in Q&A
Great Learnings
Guaranteed!
Power BI Desktop
Exploring the Desktop Application
Module Overview
How to Use the Attached Project Files
Power BI Desktop Workflow
Exploring the Data Model
The Query Editor Interface
Recommended Settings
Understanding the Workflow
Data Preparation
Query Editor
Data Modeling
Data View
Relationship View
Data Visualization
Report View
Data Model
Diving Into The Query Editor
Preparing our Dataset
Module Overview
Connecting Power BI Desktop to Files
Editing Rows & Columns
Appending & Merging Queries
Creating a Data Schema (Star Schema)
Conditional Columns & Mathematical
Operations
Understanding the Workflow
Data Preparation
Query Editor
Data Modeling
Data View
Relationship View
Data Visualization
Report View
Data Model
Understanding Append
Query 1
New
Query
Query 2
Country
Revenue
Cost
Year
Germany
Country
100
Revenue
-20
Cost
2014
Year
Germany
108
100
-22
-20
2015
2014
Germany
105
108
-25
-22
2016
2015
Germany
105
-25
2016
Germany
Country
110
Revenue
-24
Cost
2017
Year
Germany
116
110
-25
-24
2018
2017
Germany
122
116
-27
-25
2019
2018
Germany
122
-27
2019
Column amount and names must be equal in initial queries!
Pivoting & Unpivoting
Product
Pivot
2018
2019
2020
Apple
10
12
13
Banana
23
25
21
Product
Attribute
Value
Apple
2018
10
Apple
2019
12
Apple
2020
13
Banana
2018
23
Banana
2019
25
Banana
2020
21
Attribute
Value
Unpivot
What we Achieved so Far & How to Continue
Source File Connection
Row & Column Operations
Filters, Formatting, Error Handling
Appending Queries
Pivoting & Unpivoting
Splitting Columns
Basic Cleaning & Shaping
Develop & Implement our
own Data Model
The Star Schema
DIM TABLE
VS
FACT TABLE
Products
•
•
•
•
Product-ID
ProductType
PricePerUnit
CostPerUnit
Time
•
•
•
•
•
•
Customers
Date-ID
Year
Quarter
Month
Week
Day
Sales
•
•
•
•
•
•
•
Product-ID
Date-ID
Customer-ID
Region-ID
UnitsSold
TotalSales
TotalCost
•
•
•
•
•
Customer-ID
FirstName
SecondName
Age
Gender
SalesPoint
•
•
•
•
Region-ID
Continent
Country
City
Current Project Structure & Star Schema
PopulationCombined
•
•
•
•
•
•
Country-ID
Country
Year
Age-Group
Gender
Population
DIM Region
• Country-ID
• Country
• Region
FACT Population
•
•
•
•
•
Country-ID
Age-Group-ID
Year
Gender
Population
DIM Age
• Age-Group-ID
• Age-Group
• Category
Reference vs Duplicate
Duplicate
Reference
Query
1
Query
2
Query
3
Combined Query
Applied Steps
Source
Removed Columns
…
Query
1
Query
2
Query
3
Combined Query
Applied Steps
Source
Removed Columns
…
Combined Query
Applied Steps
Source
Removed Columns
…
Reference 1
Reference 2
Duplicate 1
Duplicate 2
Merging Queries Theory
Query 1
Customer ID
Customer ID
Product
Price
Name
1
TV
599
Max
7
Notebook
1.699
Manuel
1
Phone
999
Max
Merge
Query 1 + Query 2
Product
Price
1
TV
599
7
Notebook
1.699
1
Phone
999
Query 2
Customer ID
Name
1
Max
7
Manuel
Understanding “Join Kind“
LEFT QUERY
LEFT
ID
Sales
A
10
B
50
C
20
Region
A
USA
BB
C
Europe
Asia
RIGHT QUERY
ID
OUTER
ANTI
FULL
RIGHT
ID
Sales
Region
ID
Sales
Region
ID
Region
Sales
A
10
USA
A
10
USA
A
USA
10
B
50
n/a
B
50
n/a
BB
Europe
n/a
C
20
Asia
C
20
Asia
C
Asia
20
BB
n/a
Europe
ID
Region
Sales
BB
Europe
n/a
LEFT
RIGHT
ID
Sales
Region
B
50
n/a
ID
Sales
Region
A
10
USA
C
20
Asia
INNER
Completing our Star Schema
DIM Region
• Country-ID
• Country
• Region
FACT Population
•
•
•
•
•
Country-ID
Age-Group-ID
Year
Gender
Population
DIM Age
• Age-Group-ID
• Age-Group
• Category
Understanding “Enable Load“
Enable Load
Query Editor
Data Model
Enable Load
Query 1
Query 1
Query 2
Query 2
Combined
Query
Combined
Query
Query 1
Query 2
Combined
Query
Combined
Query
Module Summary
File Connections
Data Schemas (Star Schema)
Row & Column Operations
Duplicates vs References
Filters, Formatting, Error Handling
Working with Indexes
Appending & Merging Queries
Entering Data Manually
Pivoting & Unpivoting
Conditional Columns & Mathematical
Operations
Splitting Columns & Extracting Values
Project Organization (Groups) &
Performance Optimization
Data View & Relationships
Diving Deeper Into Data Analysis
Module Overview
Understanding Relationships
M Language vs DAX
DAX Introduction
Calculated Columns vs Measures
Categorizing Data
Another Look at the Workflow
Data Preparation
Query Editor
Data Modeling
Data View
Relationship View
Data Visualization
Report View
Data Model
Query Editor vs. Data Model
Query Editor
Data Model
File Connection
Relationships
Clean Data
Calculated Columns
Shape Data
Measures
Prepare & Structure Data
Analyse Data
Diving Into Relationships
Cardinality
Cross Filter Direction
Active Properties
Relationship Type
One to many (1:*) & Many to one (*:1)
Customers
Orders
ID-Customer
FirstName
SecondName
ID-Order
OrderDate
ID-Customer
1
Maximilian
Schwarzmueller
A
01 Jan 2020
1
2
John
Meyer
B
08 Jan 2020
2
3
Linda
Belle
C
15 Jan 2020
1
4
Manuel
Lorenz
D
25 Jan 2020
1
E
05 Feb 2020
3
F
15 Feb 2020
4
Each Customer is Unique
Each Customer can have Multiple Orders
One to one (1:1)
ID-Passport
Valid
Issued
FirstName
SecondName
Country
1
2025
2005
Maximilian
Schwarzmueller
Germany
2
2021
1999
John
Meyer
USA
3
2027
1997
Linda
Belle
Japan
Passport
Person
ID-Passport
FirstName
Second Name
Country
2005
1
Maximilian
Schwarzmueller
Germany
2021
1999
2
John
Meyer
USA
2027
1997
3
Linda
Belle
Japan
ID-Passport
Valid
Issued
1
2025
2
3
Diving Into Relationships
Cardinality
Cross Filter Direction
Active Properties
Relationship Type
Diving Into Relationships
Cardinality
Cross Filter Direction
Active Properties
Relationship Type
One Tool - Two Languages
M
Description
Where to Apply
Power Query Formula Language
Data Preparation
Data Transformation
Before Data Model
Data Analysis Expression Language
DAX
Analytical Data Calculations
Comparable to Excel Functions
Create Insights
In Data Model
DAX Basics
DAX Reference (Official Docs)
https://docs.microsoft.com/en-us/dax/
Syntax
Formula = …
Data Types
String
Number
Operators
+
-
Functions
CONCATENATE()
Basics
Advanced
DAX Statements
DEFINE
EVALUATE
ORDER BY
DAX Queries
VAR
DAX Syntax – Core Rules
Total Population
Formula Name
• Capital Letters
• Space
=
SUM
(
FactPopulation
[
PopulationCount
Column Reference
• Square Brackets
• Capital Letters
• No Space
Table Reference
• Capital Letters
• No Space
]
)
Square brackets
always required
With space in table names, single
quotes are required
DAX Function
DAX Data Types
String (Text)
“The DAX Basics“
Whole & Decimal Numbers
564
949.59
Boolean
TRUE
FALSE
Date/Time
Currency
Blank (NA)
January 1st 2020
DAX Operators
Arithmetic
Comparison
Logical
Text concat.
+
=
&&
&
-
==
||
*
>
IN
/
>=
^
<>
DAX Core Functions
Text
CONCATENATE(“I Love Power”,”BI”)
I Love PowerBI
Information
ISNUMBER(2020)
TRUE
Logical
IF([Population]>100000,“Big“,“Small“)
Math
ROUND(352.867,2)
Statistical
AVERAGE(Dim-Fact[Population])
Filter
Date & Time
FILTER(Dim-Fact[Year]=2020)
CALENDAR(DATE(2000,01,01),DATE(2020,12,31))
Big
Small
352.87
Calculated Columns vs Measures
Calculated Column
Measure
“Perform an operation that generates
results for each row of your table“
“Return a single result of a calculation
or an aggregated value (e.g. Averages)“
FILTER & CALCULATE
FILTER
CALCULATE
=
(
=
(
<expression>
<table>
,
,
<filter1>
<filter>
,
)
<filter2>
)
Module Summary
Query Editor vs Data Model
DAX Basics - Calculated Columns
Relationships
Calculated Columns vs Measures
Cardinality, Cross-Filter-Direction &
Active Properties
DAX Basics - Measures
M vs DAX
Combining Measures
DAX Basics - Theory
Categorizing Data
Report View
Diving Into Charts, Tables & More
Module Overview
Creating Visuals & Understanding Reports
Filters, Hierarchies & Interactions
Chart Formatting
Another Look at the Workflow
Data Preparation
Query Editor
Data Modeling
Data View
Relationship View
Data Visualization
Report View
Data Model
Basic Visual Concepts
Tooltip
Value
Senior 32%
Legend
2000
2010
Axis
2020
Total
GER
USA
Module Summary
Basic Visual Concepts
Report & Visual Themes
Line, Bar & Column Charts
The Slicer
Tooltips & Interactions
Filter Types
Hierarchies & Drill Mode
Combined Visuals
Formatting of Visuals
Custom Visuals
Power BI Pro & Power BI Mobile
Going from Local Projects to the Cloud
Module Overview
Publishing Projects from Power BI Desktop to
Power BI Pro (Service)
Collaborating in Workspaces
Sharing Data with Power BI Pro & Power BI Mobile
How to Continue
Single User
Organization
Power BI Desktop
Power BI Desktop
Publish
STOP
Publish
Power BI Pro (Service)
Access
Power BI Pro
IT
Power BI Mobile
Share
Power BI Pro
Marketing
Power BI Mobile
Publishing to Power BI Pro
Power BI Desktop
Our Computer
Publish/Connect
Personal Gateway
Server
Standard Gateway
Report + Dataset
Power BI Pro
Power BI Pro
Workspaces, Apps & Content Packs
Power BI Pro
My (“Your“) Workspace
“Other“ Workspaces
“Your personal cloud workspace“
“Company-wide collaboration workspace“
Datasets
Dataset
Dataset
Reports
Report
Report
Dashboard
Dashboard
Dashboard
App
Sharing
Sharing
Content Pack
Sharing Data: Workspace or App?
My Workspace
Single Developer
Workspace
Multiple Developers
App
End-User
Module Summary
Free vs Pro vs Premium
Datasets, Reports & Dashboards
Power BI Pro Interface
Data Refresh with Gateways
My Workspace
Collaboration Workspaces & Apps
Power BI Pro & Desktop Connection
Power BI Mobile
Course Roundup
CONGRATULATIONS!
What you Learned…
Power BI Desktop
Power BI Pro & Mobile
Advanced
Data Preparation
Publish Data to Pro
SQL, JSON, REST APIs
Data Models
My Workspace
Creating Custom Visuals
Relationships
Workspaces (Collaborate)
Column from Examples
M & DAX
Apps
DAX Studio
Visuals & Reports
Access Anywhere
…
… and How to Continue
Repeat unclear Concepts
Redo the Project on your own
Create own Projects – the Web is full
of Amazing Data to Discover
Dive into the Official Docs
Stay up-to-date
Descargar