Power BI - KSS
Power BI - KSS
Benefits
2
Getting Started with Power BI
Module 1 Parts of Power BI
The flow in Power BI
Basic Building blocks
3
Introduction
Microsoft Power BI is a collection of software services, apps, and connectors that work
together to turn your unrelated sources of data into coherent, visually immersive, and
interactive insights.
Power BI can be simple and fast, capable of creating quick insights from an Excel
workbook or a local database.
Power BI is also robust and enterprise-grade, ready not only for extensive modeling
and real-time analytics, but also for custom development.
Therefore, it can be your personal report and visualization tool, but can also serve as
the analytics and decision engine behind group projects, divisions, or entire
corporations.
If you're a beginner with Power BI, this module will get you going.
4
Parts of Power BI
5
Getting Started with Power BI - Download
You can download Power BI Desktop from the web or as an app from the Microsoft
Store on the Windows tab.
Before you can sign in to Power BI, you'll need an account. To get a free trial, go to
app.powerbi.com and sign up with your email address.
6
The flow of work in Power BI
The activities and analyses that you'll learn with Power BI generally follow a
common flow. The common flow of activity looks like this:
Bring data into Power BI Desktop, and create a report.
Publish to the Power BI service, where you can create new visualizations or
build dashboards.
Share dashboards with others, especially people who are on the go.
View and interact with shared dashboards and reports in Power BI Mobile
7 apps.
The flow of work in Power BI..contd
1. As mentioned earlier, you might spend
all your time in the Power BI service,
viewing visuals and reports that have
been created by others.
2. Someone else on your team might
spend their time in Power BI Desktop,
which is fine too.
3. To help you understand the full
continuum of Power BI and what it can
do, we’ll walkthrough all of it – then
you can decide how to use it to your
best advantage.
8
Building Blocks of Power BI
Everything you do in Microsoft Power BI can be broken down into a few basic building
blocks.
After getting an understanding of these building blocks, you can expand on each of them
and begin creating elaborate and complex reports.
Let's take a look at these basic building blocks, discuss some simple things that can be
built with them, and then get a glimpse into how complex things can also be created.
Basic building blocks in Power BI:
Visualizations
Datasets
Reports
Dashboards
Tiles
9
Building Blocks of Power BI…contd
1. Visualization
10
Building Blocks of Power BI…contd
2. Datasets
A dataset is a collection of data that Power BI uses
to create its visualizations.
3. Report
4. Dashboard
When you're ready to share a report, or a collection of visualizations, you create a dashboard.
Much like the dashboard in a car, a Power BI dashboard is a collection of visuals that you can
share with others. Often, it's a selected group of visuals that provide quick insight into the
A dashboard must fit on a single page, often called a canvas (the canvas is the blank backdrop
Think of it like the canvas that an artist or painter uses—a workspace where you create,
You can share dashboards with other users or groups, who can then interact with your
5. Tile
In Power BI, a tile is a single visualization on a dashboard. It's the rectangular box that
holds an individual visual.
In the image, you see one tile, which is also surrounded by other tiles.
When you're creating a dashboard in Power BI, you can move or arrange tiles however
you want. You can make them bigger, change their height or width, and snuggle them
up to other tiles.
When you're viewing, or consuming, a
dashboard or report—which means you're
not the creator or owner, but the report or
dashboard has been shared with you—you
can interact with it, but you can't change
the size of the tiles or their arrangement.
14
Building Blocks of Power BI
Power BI is a collection of services, apps, and connectors that lets you connect to your data, wherever it
happens to reside, filter it if necessary, and then bring it into Power BI to create compelling visualizations
that you can share with others.
Now that you've learned about the handful of basic building blocks of Power BI, it should be clear that
you can create datasets that make sense to you and create visually compelling reports that tell your
story. Stories told with Power BI don't have to be complex, or complicated, to be compelling.
For some people, using a single Excel table in a dataset and then sharing a dashboard with their team
will be an incredibly valuable way to use Power BI – for others, the value of Power BI will be in using real-
time Azure SQL Data Warehouse tables that combine with other databases and real-time sources to
build a moment-by-moment dataset.
For both groups, the process is the same: create datasets, build compelling visuals, and share them with
others. And the result is also the same for both groups: harness your ever-expanding world of data and
turn it into actionable insights.
Whether your data insights require straightforward or complex datasets, Power BI helps you get started
quickly and can expand with your needs to be as complex as your world of data requires. And because
Power BI is a Microsoft product, you can count on it being robust, extensible, Microsoft Office–friendly,
15
and enterprise-ready.
Use of the Power BI service
As we learned in the previous sections, the common flow of work in Microsoft Power BI is to
create a report in Power BI Desktop, publish it to the Power BI service, and then share it with
But because some people begin in the Power BI service, let's take a quick look at that first, and
learn about an easy and popular way to quickly create visuals in Power BI: apps.
An app is a collection of preset, ready-made visuals and reports that are shared with an entire
organization. Using an app is like microwaving a TV dinner or ordering a fast-food value meal: you
just have to press a few buttons or make a few comments, and you're quickly served a collection
So, let's take a quick look at apps, the service, and how it works.
We'll go into more detail about apps (and the service) in upcoming modules, but you can think of
16
this as a taste to whet your appetite. You can sign into the service at
Create out-of-box dashboards with cloud services
service, you can just select the Get Data button in the lower-
For these software services, the Power BI service provides a collection of ready-made
visuals that are pre-arranged on dashboards and reports for your organization.
This collection of visuals is called an app. Apps get you up and running quickly, with
data and dashboards that your organization has created for you.
You can also choose to update the dataset for an app, or other data that you use in Power
BI.
To set update settings, select the schedule update icon for the dataset to update, and
then use the menu that appears.
You can also select the update icon (the circle with an arrow) next to the schedule update
icon to update the dataset immediately
19
Update data in the Power BI service…contd
The Datasets tab is selected on the Settings page that appears. In the right pane, select
the arrow next to Scheduled refresh to expand that section. The Settings dialog box
appears on the canvas, letting you set the update settings that meet your needs.
20
In Summary
Microsoft Power BI is a collection of software services, apps, and connectors that work together to
turn your data into interactive insights.
You can use data from single basic sources, like a Microsoft Excel workbook, or pull in data from
multiple databases and cloud sources to create complex datasets and reports.
Power BI can be as straightforward as you want or as enterprise-ready as your complex global
business requires.
Power BI consists of three main elements—Power BI Desktop, the Power BI service, and Power BI
Mobile—which work together to let you create, interact with, share, and consume your data the way
you want
We also discussed the basic building blocks in Power BI:
Visualizations – A visual representation of data, sometimes just called visuals
Datasets – A collection of data that Power BI uses to create visualizations
Reports – A collection of visuals from a dataset, spanning one or more pages
Dashboards – A single-page collection of visuals built from a report
Tiles – Snapshots of your data on a dashboard
In the Power BI service, we installed an app in just a few clicks. That app, a ready-made collection of
21
visuals and reports, let us easily connect to a software service to populate the app and bring that
Knowledge Check 1
A. Create a report in Power BI mobile, share it to the Power BI Desktop, view and
interact in the Power BI service
B. Create a report in the Power BI service, share it to Power BI mobile, interact
with it in Power BI Desktop
Information Security Course
C. Bring data into Power BI Desktop and create a report, share it to the Power BI service, view
and interact with reports and dashboards in the service and Power BI mobile
D. Bring data into Power BI mobile, create a report, then share it to Power BI
Desktop
22
Knowledge Check 2
23
Knowledge Check 3
A. The canvas
C. An app
24
Preparing data for Analysis
Module 2 Getting data into Power Bi
Cleaning, transforming and loading data into Power BI
25
Get data into Power BI
Before you can create reports, you must first extract data from the various data
sources –
After gaining understanding of the systems, you can use Power Query to help you
clean the data, such as renaming columns, replacing values, removing errors, and
combining query results.
Power Query is also available in Excel. After the data has been cleaned and organized,
you're ready to build reports in Power BI.
Finally, you'll publish your combined dataset and reports to Power BI service – other
people can use your dataset and build their own reports or they can use the reports
you’ve already built. Additionally, if someone else built a dataset you'd like to use, you
can build reports from that too!
This module will focus on the first step of getting the data from getting data from
Excel (for this module) and importing it into Power BI by using Power Query
26
Get data into Power BI… contd
Organizations often export and store data in files. One possible file format is a
flat file.
A flat file is a type of file that has only one data table and every row of data is in
the same structure – the file doesn't contain hierarchies.
Most common types of flat files, which are comma-separated values (.csv) files,
delimited text (.txt) files, and fixed width files.
Another type of file would be the output files from different applications, like
Microsoft Excel workbooks (.xlsx).
27
Get data into Power BI… contd
Power BI Desktop allows you to get data from many types of files.
You can find a list of the available options when you use the Get data feature in
Power BI Desktop.
Lets say for example, The Human Resources (HR) team has prepared a flat file
that contains some of your organization's employee data, such as employee
name, staff id, email address, hire date, position, and line manager.
They've requested that you build Power BI reports by using this data, and data
that is located in several other data sources.
The first step is to determine which file location you want to use to export and
store your data.
28
Get data into Power BI… contd
29
Connect to data in a file
In Power BI, on the Home tab, select Get data. In the list that displays, select the option that
you require, such as Text/CSV or XML. For this example, you'll select Excel
Depending on your selection, you need to find and open your data source. You might be
prompted to sign into a service, such as OneDrive, to authenticate your request.
In this example, you'll open the Employee Data Excel workbook (or any other workbook) that
is stored on the Desktop (Remember, no files are provided for practice, these are hypothetical
steps)
30
Select the file to import
For example, try changing the data source file path in the
data source settings.
Select Data source settings in Power Query. In the Data
source settings window, select your file and then
select Change Source. Update the File path or use
32
the Browse option to locate your file, select OK, and then
select Close.
Resolve Data import issues
While importing data into Power BI, you may encounter errors resulting from factors such as:
Each data source might have dozens (and sometimes hundreds) of different error messages.
Other components can cause errors, such as hard drives, networks, software services, and
operating systems.
The following sections cover some of the more common error messages that you might
33
Resolve Data import issues…contd
34
Resolve Data import issues…contd
35
Resolve Data import issues…contd
The error event tells you the resolution. Perform the following steps to resolve the issue:
Open your Excel workbook, and highlight the data that you want to import.
Press the Ctrl-T keyboard shortcut. The first row will likely be your column headers.
Verify that the column headers reflect how you want to name your columns. Then, try to
import data from Excel again. This should work.
36
Resolve Data import issues…contd
37
Resolve Data import issues…contd
This section will be a hands on practice module (Automation of Divisional Reports using BI)
This lab is one of many in a series of labs that was designed as a complete story from data
preparation to publication as reports and dashboards.
The following steps will be followed in the practice tomorrow
Prepare Data in Power BI Desktop
Load Data in Power BI Desktop
Design a Data Model in Power BI
Design a Report in Power BI Desktop
Enhance a Report in Power BI Desktop
Perform Data Analysis in Power BI
Create a Power BI Dashboard
This lab is designed to make you familiarize with Power BI Desktop application and how to
connect to data and how to use data preview techniques to understand the characteristics and
quality of the source data.
39
N S
S TIO
E
QU
40
Thank you