Slides
Slides
Slides
Connect to and visualize any data using the unified, scalable platform
for self-service and enterprise business intelligence (BI)
that’s easy to use and helps you gain deeper data insight.
What is Power BI?
Data
Individuals Teams
Who?
Excel Power BI
Data Analysis
Apps
Expressions
Reports
How to Get the Most Out of This Course
Go to
github.com/academind/power-bi-course-resources
Select
current
course
module
Download
module files
How to Use the Attached Project Files
* All source files can be found in the “main“ branch in the “source-files“ folder
Diving Into the Basics
Preparations to Follow Along Conveniently
Module Content
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
The Power BI Desktop Workflow
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
Data & Model View View & Edit
Inspect, Explore &
Relationships
Understand Data
Data Analysis between Tables
Report View
Create Reports with
Multiple Visuals
Data Visualization
Working with Power BI
Desktop
Understanding the Query Editor
Module Content
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
Data & Model View View & Edit
Inspect, Explore &
Relationships
Understand Data
Data Analysis between Tables
Report View
Create Reports with
Multiple Visuals
Data Visualization
What is “Data Cleansing“ / “Data Cleaning“?
Query
Remove duplicate &
unrequired data
Query
Manu Lorenz 34
Rows
Max Schwarz 32
Pivoting & Unpivoting
Attribute
Unpivot
Product 2019 2020 2021
Apple 10 12 13
Banana 23 25 21
Value
Product Attribute Value
Apple 2019 10
Apple 2020 12
Apple 2021 13
Banana 2019 23
Banana 2020 25
Pivot
Banana 2021 21
Query Editor Deep Dive
Understanding Data Modeling
Module Content
Formatting data
sales
product customer
The Star Schema – An Example
Single Table
VS Multidimensional (Star) Schema
Reference vs Duplicate
Query 1 Query 2
Reference
Applied Steps Applied Steps
Query refers to
Changes in Query 1
Filtered Data “final state” of initial
have an effect on
Changed Data Type query, no applied steps
Query 2
displayed
Changes in Query 1
Filtered Data Filtered Data
have no effect on
Changed Data Type Changed Data Type
Query 2
Merging Queries - Theory
Equal column name
sales & data type
ID Region
RIGHT QUERY
LEFT RIGHT
A USA ANTI
ID Sales Region ID Region Sales
BB Europe B 50 n/a BB Europe n/a
C Asia
INNER
ID Sales Region
A 10 USA
C 20 Asia
Adding More DIM Tables
DIM-gender
gender-id
gender
<
Query 1 Query 2
Query Editor Enable Load Enable Load
Query 1 + 2
Enable Load
Data Model
Data View & Relationships
Leaving the Query Editor
Module Content
Understanding Relationships
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
The Power BI Desktop Workflow
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
Data & Model View View & Edit
Inspect, Explore &
Relationships
Understand Data
Data Analysis between Tables
Report View
Create Reports with
Multiple Visuals
Data Visualization
Query Editor vs Data Model
Analyze Data
Relationships
Calculations can be applied in both the
Query Editor and the Data Model
Calculations
Relationships to the Rescue!
DIM-country DIM-gender
ID ID
FACT-population
ID ID ID
DIM-age
ID
Understanding Relationships
Relationship Type
Different Kinds Of Data Relationships
companies employees
1 Apple … 1 3 Max
2 Microsoft … 2 1 Manu
3 Amazon … 3 1 Sarah
employees accounts
1 Max … 1 1 01.02.2008
2 Manuel … 2 2 27.08.1999
3 Sarah … 3 3 16.11.2018
n:n
One employee can be assigned to many projects and one
project may be handled by multiple employees
Many-To-Many Relations Need Intermediate Tables
employees projects
id first-name … id title …
Activate / Deactivate
Relationship Type Table “Communication”
Relationship
M vs DAX (Data Analysis Expressions)
Description Application
Comparable to Excel
Functions
DAX Basics
Syntax Formula = …
Operators + - …
Functions CONCATENATE()
Basics
Advanced
DAX Statements DEFINE EVALUATE ORDER BY VAR
DAX Queries
The Core DAX Syntax
Formula Name
• Capital Letters Column Reference
• Space • Square Brackets
• Capital Letters
• No Space
Table Reference
With space in table names, single
• Capital Letters
quotes are required
• No Space
DAX Function
DAX Data Types
Currency
Blank (NA)
DAX Operators
+ = && &
- == ||
* > IN
/ >=
^ <>
DAX Core Functions
Statistical AVERAGE(Fact-Pop[Population])
Filter FILTER(Fact-Pop[Year]=2020)
SUM(’FACT-population’[population])
CALCULATE ( <expression> , )
The ”FILTER” & “CALCULATE” Functions
SUM(’FACT-population’[population])
Filter function
’FACT-population’[gender]=”Female”
Query Editor
Query Editor Extract
Clean &
Transform
Data Preparation Transform
Load
Data Model
Data & Model View View & Edit
Inspect, Explore &
Relationships
Understand Data
Data Analysis between Tables
Report View
Create Reports with
Multiple Visuals
Data Visualization
Basic Visual Elements
Tooltip
Value
Senior 32%
Legend
Total
GER
USA
2000 2010 2020
Axis
Power BI Pro & Mobile
Sharing & Collaborating
Module Content
Publish Publish
IT
Access Share
Power BI Desktop
Report + Dataset
Power BI Pro
Sharing Sharing
Sharing Data: Workspace or App?
App End-User