power-bi-complete-guide-slides.pdf

KhiemThai1 426 views 32 slides May 29, 2023
Slide 1
Slide 1 of 32
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32

About This Presentation

PowerBI guidelines


Slide Content

Power BI
The Complete Guide

Power BI Desktop
WhattheDesktop applicationisperfectfor

Workflow ofPower BI Desktop
Power BI Desktop
Query
Editor
Data
View
Report
View
Data
preparation
Data modelling
Data
visualization
Relationship
View

The Query Editor
Howweimportandprepareourdata

Power BI Desktop –Query Editor
Power BI Desktop
Query
Editor
Data
View
Report
View
Relationship
View
Data
preparation
Data modelling
Data
visualization

The Star Schema
FACT TABLE DIM TABLEVS

The Star Schema
Sales
Customers
SalesPointTime
•IdentifierCust
•FirstName
•SecondName
•Age
•Gender
•IdentifierGeo
•Continent
•Country
•City
•IdentifierProd
•IdentifierDate
•IdentifierCust
•IdentifierGeo
•UnitsSold
•TotalSales
•TotalCost
Products
•IdentifierProd
•ProductType
•PricePerUnit
•CostperUnit
•IdentifierDate
•Year
•Quarter
•Month
•Week
•Day
DIM TABLE DIM TABLE
FACT TABLE

OurProject –Currentstructure
Population-Combined
•Country-ID
•Country
•Year
•AgeGroup
•Gender
•Population

Out Project turnedintoa Star Schema
Population
Age
•AgeGroup-ID
•AgeGroup
•Category
•Country-ID
•AgeGroup-ID
•Year
•Gender
•Population
Region
•Country-ID
•Country
•Region
DIM TABLE DIM TABLE
FACT TABLE

Query: Duplicatevs. Reference
Source
file
Query Editor
Query 2
(DuplicateofQuery 1)
Query 2
(Reference toQuery 1)
A
B
C
Query 1
(Createdin Query Editor)
A
B
A
B

MergeQueries-JoinKind
Outer
Inner
Anti
IDSales
A10
B50
C20
Query 1
LEFT
Query 2
RIGHT
IDSales Region
A 10 USA
B 50 n/a
C 20 Asia
IDRegion Sales
A USA 10
BBEurope n/a
C Asia 20
IDSales Region
A 10 USA
B 50 n/a
C 20 Asia
BBn/a Europe
IDSales Region
B 50 n/a
IDRegion Sales
BBEurope n/a
IDSales Region
A 10 USA
C 20 Asia
LEFT RIGHT FULL
IDRegion
A USA
BBEurope
C Asia
Separate Queries
MergedQueries

Import dataintothedatamodel
Data preparation
Query Editor
Data model
Data View/Report View
Source files
Data preparation
Query Editor
Data model
Data View/Report View
Import data
Query 1
Query 2 Default =
Enableloadis
setforall
queries
Import data
Query 1
Query 2
Enableloadis
onlyselected
forQuery 1
Query 1 &
Query 2 are
loadedintothe
datamodel
Query 1 is
loadedintothe
datamodel

Data View & Relationships
Howwemodelourdata

Power BI Desktop –Data Model
Power BI Desktop
Query
Editor
Data
View
Report
View
Relationship
View
Data
preparation
Data modelling
Data
visualization

Query Editor vs. Data Model
Query Editor Data Model
Connect tosourcefiles
Clean data
Shape data
Structure+ preparedata
Add relationships
Add calculatedcolumns
Add measures
Analyse data

Power BI Desktop –Data Model
Power BI Desktop
Query
Editor
Data
View
Report
View
Relationship
View
Data
preparation
Data modelling
Data
visualization

Let‘sbring ourData Model tolive
Cardinality Cross Filter Direction ActiveProperties
= „Type ofrelationship“

Onetomany(1:*) & Many toone(*:1)
Customers Orders
ID-Customer FirstName SecondName
1 Maximilian Schwarzmueller
2 John Meyer
3 Linda Belle
4 Manuel Lorenz
ID-Order OrderDate ID-Customer
A 01 Jan 2017 1
B 08 Jan 2017 2
C 15 Jan 2017 1
D 25 Jan 2017 1
E 05 Feb 2017 3
F 15 Feb 2017 4
Eachcustomerisunique Eachcustomercanhave
multiple orders

Onetoone(1:1)
Passport Person
ID-Passport ValidIssuedFirstNameSecondName Country
1 20252005 MaximilianSchwarzmuellerGermany
2 20191999 John Meyer USA
3 20171997 Linda Belle Japan
ID-Passport FirstNameSecond Name Country
1 MaximilianSchwarzmuellerGermany
2 John Meyer USA
3 Linda Belle Japan
ID-Passport ValidIssued
1 20252005
2 20191999
3 20171997

Power BI Desktop –Data Model
Power BI Desktop
Query
Editor
Data
View
Report
View
Relationship
View
Data
preparation
Data modelling
Data
visualization

Onetool-Twolanguages
M-Language
DAX-Language
Power Query FormulaLanguage
Data Analysis Expression Language
Description Applicationareas
Independent from
eachother
Prepareyourdatabeforeyouload
themintothedatamodel
Create formulasforan in-depth
analysisin theData View
Data transformation
Analytical datacalculation
ComparabletoExcel functions

Course interimconclusion
M DAXOR
This course

CalculatedColumns vs. Measures
Return a singleresultofa calculationoran aggregatedvalue(e.g. Averages)
Perform an operationthatgeneratesresultsforeachrowofyourtableCalculatedColumn
Measure

Report View
Let‘screatebeautifulchartsandtables

Power BI Desktop –Report View
Power BI Desktop
Query
Editor
Data
View
Report
View
Relationship
View
Data
preparation
Data modelling
Data
visualization

Power BI Service & Power BI Mobile
Wefinishedourworklocally, whatnow?

Waystocontinue
Power BI Desktop
Power BI Service
Share
YOU
Publish
ITYOU
Collaborate
Marketing
Power BI
Service
Power BI
Mobile
-
-
OrganizationSingle User
YOU
Power BI Desktop
STOP Publish-
Power BI Service
Access-
Power BI
Mobile
YOU
YOU

Questions tobeanswered
HowcanwepublishourdatatoPower BI Service?
Howcanwecollaboratein Power BI Service?
Howcanwesharedataandspecifywhatwewanttoshare?

Changesin 2017
Power BI Free Power BI Pro
Power BI Premium
Large ScaleBI
deployments
Personal users Collaboration
Until
31 May
01 June
2017
Functionalalignmentwithremainingdifferencesin
sharingandcollaboration
•Access to all Pro
Databases
•IncreasedWorkspace
Storage
•Improvedrefresh-
rates
+

Publishing ourprojectdatatoPower BI Service
Power BI Desktop
Dataset & Report
Yourcomputer
Server
Publish/
Connect to
File
Personal
Gateway
Power BI Service
On-Premises
Gateway
Power BI Service

Collaboration
Power BI Service
Create Dashboards
Create Dashboards
YOU
ITYOU
App Workspace
Dataset & Report from
Power BI Desktop

HowcanweshareourresultsfromtheApp workspace?
Power BI Service
Dashboard, Report &
Dataset
Dashboard
Report
Report
PROData createdusingProfeatures, canonlybesharedwithPower BI Pro Users!
PublishApp
PublishtoWeb
Dataset
Tags