Andmete visualiseerimine Power BI abil (osa 1)
Power BI komponendid
Power BI Desktop - tasuta töövahend andmete kokku toomiseks, puhastamiseks
ja teisendamiseks, seoste loomiseks ja aruannete kujundamiseks
Power BI service (pilveteenus)
Power BI Mobile Apps (Windows, iOS, Android )
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
1
Power BI Desktop
Allalaadimine (64-bit, English, last version)
https://www.microsoft.com/en-us/download/details.aspx?id=58494
Jätke sisseloogimist vahele
Power BI hinnad
https://powerbi.microsoft.com/en-us/pricing/
Power BI free vs Pro vs Premium
https://docs.microsoft.com/en-us/power-bi/fundament
TALLINN UNIVERSITY OF TECHNOLOGY als/service-features-license-type
VIRUMAA COLLEGE
2
BI platforms
https://trends.google.com/trends/
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
https://www.sisense.com/
3
Power BI vs Tableau vs Google Data
Studio vs QlikView
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
4
Power BI vs Tableau
https://www.tableau.com/academic/st
udents
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
5
Tableau for Teaching
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
6
Power BI workflow
Andmete konsolideerimine
Andmete modelleerimine
Andmete visualiseerimine
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
7
Power BI: andmete ettevalmistamine 80% + visualiseerimine 20%
M keel DAX keel
M formula language Data Analysis Expressions (DAX)
Extract, Transform, Load
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
8
Power BI Desktop
visualiseerimine
konsolideerimine
modelleerimine
Näide:
Ilmaandmed
https://www.ilmateenistus.ee/
ilm/ilmavaatlused/vaatlusand
med/tunniandmed//
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
9
Power BI Desktop: visualiseerimise põhivõtmed
Aruande komplekteerimine:
o lehekülgede kaupa vastavalt püstitatud küsimustele, hüpoteesidele
o Ühel leheküljel on mitu graafikut, üks lehekülg – üks lugu (teesis, slaid, hüpoteesi kontroll).
Visualisatsiooni seadistamine:
o sobiva visualisatsiooni valimine (sõltuvalt eesmärgist ja andmete tüüpidest)
o visualisatsiooni struktureerimine (väljad ehk Fields)
o vormindamine (kujundamine, Format)
o andmete sortimine
o lisaelementide lisamine.
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
10
Power BI: Power Query Editor
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
Power Query in Power BI = Power Query in Excel
11
Power Query Editor: näide
Ülesanne:
laadida ilmaandmed
https://www.ilmateenistus.ee/ilm/ilmavaatlused/v
aatlusandmed/tunniandmed/
ettevalmistada Power Query
Editory abil
visualiseerida
õhutemperatuurid
geograafilisel kaardil
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
12
Ülesanne: PostgreSQL andmebaasi andmete visualiseerimine
Loome raporti
Power BI Desktop
abil ja jagame
Power BI service
abil
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
13
PostgreSQL andmebaasiga ühendamine
https://stackoverflow.com/questions/53921336/an-error-happened-while-reading-data-from-the-provider-the-remote-certificate-i/60451432
https://www.postgresql.org/ftp/odbc/versions/msi/
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
http://niftit.com/connecting-power-bi-to-postgresql/ 14
Power BI: Get more visuals
Nõuab ülikooli e-postiga sisselogimist
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
15
Andmete modelleerimine: DAX süntaks
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
16
Andmete modelleerimine: DAX operaatorid
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
17
Andmete modelleerimine: DAX põhilised funktsioonid
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
18
Andmete modelleerimine: DATE & TIME
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
19
Andmete modelleerimine: loogilika funktsioonid
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
20
Andmete modelleerimine: tekstifunktsioonid
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
21
Andmete modelleerimine: related
Tagastab tabeli iga rea väärtused põhinides
teiste tabelitega seostele
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
22
Andmete modelleerimine: matemaatika ja statistika
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
23
Andmete modelleerimine: calculate
Arvutab avaldise põhinedes valitud filtritele
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
24
Andmete modelleerimine: ALL, FILTER, X
Puhastab filtritest
Seadistab filtreid
Rakendab funktsiooni tabeli ridadele
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
25
Andmete modelleerimine: ALL
https://docs.microsoft.com/en-us/dax/dax-function-reference/
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
26
Mõõdikud näiduki (gauge) loomiseks:
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
27
Raporti Power BI desktopist publitseerimine:
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
28
Power BI service: Home screen
1. Navigation pane
2. Microsoft 365 app launcher
3. Power BI home button
4. Icon buttons, including settings, help, and feedback
5. Search box
6. Favorited dashboards that you use the most
7. Favorite and frequent dashboards, reports and
workspaces
8. Reports built by the Power BI Community,
picked by the Power BI team
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
29
Power BI service
Pärast raporti Power BI service´is publitseerimist failist eraldatakse Report ja Dataset
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
30
Power BI service: My workspace and workspaces
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
31
Power BI service: datasets, reports, dashboards
Dataset: Report: Dashboard:
• can be used in many • is contained in a single • is associated with a single
workspaces workspace workspace
• can be used in many reports • can be associated with • can display visualizations
• visualizations from that one multiple dashboards from many different
dataset can display on many within that workspace datasets
different dashboards. • uses data from one • can display visualizations
dataset (Power BI from many different reports
Desktop can combine • can display visualizations
TALLINN UNIVERSITY OF TECHNOLOGY more than one data pinned from other tools (for
VIRUMAA COLLEGE
source into a single example, Excel)
dataset in a report). 32
Raporti redigeerimine: edit mode
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
33
Dashboardi loomine
https://docs.microsoft.com/en-us/power-bi/consumer/end-user-dashboards
A Power BI dashboard is a single page, often
called a canvas, that uses visualizations to tell
a story. Because it is limited to one page, a
well-designed dashboard contains only the
most-important elements of that story.
The visualizations you see on the dashboard
are called tiles and are pinned to the dashboard
by report designers. In most cases, selecting a
tile takes you to the report page where the
visualization was created. If you're new to
Power BI,TALLINN
you UNIVERSITY
can getOF aTECHNOLOGY
good foundation by
VIRUMAA COLLEGE
reading Power BI basic concepts.
34
Raporti värskendamine:
https://docs.microsoft.com/en-us/data-integr
ation/gateway/service-gateway-install
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
35
Manage an on-premises data gateway:
https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-manage
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
36
Refresh a dataset stored on OneDrive :
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-onedrive
Importing and connecting
OneDrive files to Power BI:
https://www.brainstorminc.com/blog/onedrive-files
-to-microsoft-powerbi
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
37
Refresh data from an on-premises SQL Server database:
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-sql-tutorial
TALLINN UNIVERSITY OF TECHNOLOGY
VIRUMAA COLLEGE
38