Beginners Guide To Power Bi
Beginners Guide To Power Bi
Power BI
Contents
Introduction ................................................................................................................................... 3
1
Getting data from Microsoft Forms ...................................................................................... 41
Dashboards................................................................................................................................... 65
2
Introduction
You’ve heard the cliché – we’re living in the era of Big Data. And while this is certainly true for
many large corporations, even small companies are swimming in data. This data could be in
Excel files or saved to SharePoint lists; it could be in a SQL or an Access database – yet
wherever it is, typically, it shares one thing in common: it’s unconnected and siloed.
That’s where Power BI (business intelligence) comes in. A Microsoft product which integrates
into the Microsoft 365 range of apps, it brings together all your disparate data feeds into
handy dashboards and reports.
Ultimately, it allows you to analyse your data while presenting it in a visual and meaningful
way. And by connecting and visualising your data, organisations can get a great overview of
their data and crucially, you don’t have to be a data scientist or a programmer to use Power
BI.
3
While you don’t have to be a data scientist or a programmer to follow this eBook, it would
help if you had some Microsoft 365 experience, with the following:
• Familiar with the way files are shared such as in OneDrive / SharePoint
To get the most out of this eBook be sure to sign up to a trial version of the Power BI service
and also to download the Power BI Desktop app.
4
How is Power BI Licensed?
There are three kinds of Power BI service per-user licenses: Free, Pro and Premium Per User.
Power BI
Publish content to other workspaces, Distribute content to users
Premium Per share dashboards, subscribe to who have free and Pro
dashboards and reports, share with licenses
User
And here are the differences within the Power BI Pro and premium plans. Please note,
according to Microsoft, a capacity ‘is a dedicated set of resources reserved for exclusive use. It
5
enables you to publish dashboards, reports, and datasets to users, without having to
purchase per-user licenses.’
Power BI Power BI
Power
Feature Premium Premium
BI Pro
Per user Per capacity
6
Create reports and visualizations with Power
✓ ✓ ✓
BI Desktop
AI visuals ✓ ✓ ✓
7
Multi-geo deployment management ✓
10
Maximum storage 100 TB 100 TB
GB/user
8
The following are the prices on a per month basis.
from
$4,995
$9.99 $20
Per capacity/month
Per user/month Per user/month 2
License your organization with
License individual License individual users capacity to accelerate access to
users with modern, to accelerate access to insights with advanced AI,
self-service analytics insights with advanced unlock self-service prep for big
to visualize data with AI, unlock self-service data, and simplify data
live dashboards and prep for big data, and management and access at
reports and share simplify data enterprise scale— without per-
insights across your management and access user licenses for content
organization. at enterprise scale. consumers.
Power BI Pro is Includes all the features Requires a Power BI Pro license
included in Microsoft available with Power BI for publishing content into
365 E5. Pro. Power BI Premium capacity.
9
For information on pricing, see here https://powerbi.microsoft.com/en-us/pricing/
1. Power BI Desktop
3. Power BI Mobile
There are also other tools and apps – see below (this page is the above download link):
10
This eBook is only covering an introduction to the Power BI service (SaaS) and aspects of the
Power BI Desktop. Furthermore, the data we are connecting to is an Excel file, a SharePoint
list, a Microsoft Form, and data pulled from the web, in particular, a Wikipedia entry.
11
Below is Power BI Desktop.
Below is the home of the Power BI service, which sits in a browser. As this is a browserbased
product, it is connected to Microsoft 365 hence, the app launcher (9 dots) on the top left-hand
side.
12
The mobile app
Power BI has downloadable mobile apps which allows you to view content on your
smartphone and other devices. The key distinction with Power BI’s mobile apps is that it
allows you to consume content created on the platform without having to develop a separate
mobile app. In many ways, the mobile app just renders pre-existing content.
Device Highlights
iPhones go everywhere, and the Power BI mobile app for the iPhone
goes, too. Besides viewing your Power BI reports in a special mobile
layout view, you can add Power BI to your Apple Watch, and ask
iPhone
questions with the Q&A virtual analyst.
On the iPad, the Power BI mobile app displays dashboards and reports
the way they were formatted for the Power BI service. Plus you can
view your Power BI Report Server and Reporting Services KPIs and
reports right on your iPad. You can set data alerts in the Power BI
iPad
mobile app to notify you when data in a dashboard changes beyond
limits you set.
13
The Power BI mobile app for the Android phone brings Power BI to
your pocket, with up-to-date, touch-enabled mobile access to your
business information. You can filter a report by your geographic
Android phone location. You can scan QR codes with your Android phone and go
straight to a Power BI dashboard or report.
Android tablet service. You can mark your favourite dashboards and reports, so you
can get to them quickly, along with your favourite Power BI Report
Get started with the Power BI mobile app for Windows 10 devices.
14
Table source: https://docs.microsoft.com/en-us/power-bi/consumer/mobile/mobileapps-
for-mobile-devices
15
The image below is a screenshot of the Power BI Android app:
16
Key Power BI concepts
The following are some key concepts within Power BI.
Term Definition
17
Preparing your data for Power BI
Before using Power BI to interact with your data, here are a few tips to ensure that your data
is suitably prepared. While you don’t have to be a data scientist to use Power BI, the overall
analysis of your data will only be as good as the data itself.
The tips below for the preparation of an Excel file but may be used for other data sources, too.
While Power BI allows you to clean up your data once it has been imported (and this is
necessary if you are bringing in data from, for example, the web and you have no control over
the creation of the data), it’s a good idea to try to have the cleanest data as possible from the
start.
• All the data in each column should be of the same type of data, for example, it must be
number, text, currency etc.
• Think hard about what the purpose of your data is. Do you need all of the information?
What columns can you remove? Or perhaps you want to add a column from
elsewhere. In short, reduce your data to its absolute minimum before you use it. And
remember – if you connect your Excel file to Power BI via OneDrive, if you update the
OneDrive file, it will be updated in Power BI
• Flatten all data which appears in a pivot table or matrix format
Below is a good example of clean data which is copied from an Excel file. Each column is its
own data type with simple, functional columns. You can cut and paste it into Excel to follow
our example.
18
OrderDate Region Rep Item Units Unit Cost Total
19
9/18/19 East Jones Pen Set 16 £ 15.99 £ 255.84
20
6/17/20 Central Kivell Desk 5 £ 125.00 £ 625.00
My workspace is a personal workspace where you can work on your own content whereas
workspaces are collaborative spaces which are used to work on Power BI content.
21
We’re going to upload it to the Power BI service and present the data in a visually appealing
way. Furthermore, we’ll export the data to Teams and SharePoint online.
1. Select Workspaces → Create a workspace. You have the option to upload an image, give it
a name and a description. We’re going to upload an image of stationary and call it
Stationary review.
2. When our workspace is created, it will be empty. We’re going to select New and Dataset,
Create a dataset to use in a report.
22
3. On the Get Data page, select Create new content and Files.
4. You have the option of selecting Local File, OneDrive-Business, SharePoint-Team Sites,
and also Learn about importing files. Choose the first option – Local file. We’re selecting
an Excel file called Sales Data.
23
5. You have two options - Upload your Excel file to Power BI. It now appears in the Stationary
review workspace.
6. Next, we’re going to use Sales Data to create a report by selecting +New → Report and
Pick a published dataset → SampleData and Create. The following page appears:
7. First, let’s look at Fields which is on the right hand-side of the screen. Here you will see the
data as referenced in the original Excel file:
24
8. If we select Region, Rep and Total, we see the raw data:
9. However, we can make this more interesting by using the many options that appear in
Visualizations.
25
10. Below we have used a Stacked bar chart and have enlarged the chart in order to see all
the reps. To make any chart bigger, just stretch it from the bottom corner.
11. It’s always wise to save your report by selecting File → Save this report.
26
12. The next visualization we’ll do is a Clustered bar chart and we’re selecting the
13. Once you save your report, you can then export it. When it is saved, it looks like this:
27
14. When you select Home, we can see it has a Favourites and frequents, and also is where we
select Workspaces.
Under Share, there are the familiar sharing options from other Microsoft 365 products such as
OneDrive and SharePoint. However, the settings include the following option: Allow
recipients to build content with the data associated with this report (by default it is
deselected).
28
Please note the following conditions when it comes to sharing:
• You can share with people who are inside and outside of your organisation
• When you share a report, generally they can view it, they can hover over the visualisations
to glean more data, but they cannot edit it
• You can allow people in your organisation to share with other people in your organisation
• You can share from Favourites, Recent, My Workspace and from other workspaces if you
have the permission
• When you share you must have a Power BI Pro or Premium Per User license. Also, the
people that you share with also need the same license, too o To see your report, they
must sign into Power BI o External people can’t edit content
29
For more about sharing, see here https://docs.microsoft.com/en-us/powerbi/collaborate-
share/service-share-dashboards
1. In Power BI, select Chat in Teams and when you start writing the name of your Team, it
will appear. We’ve created a team called Stationary review in Teams, which we select, and
then Share.
2. It appears in the Team as a conversation on the General channel. Once clicked, you have a
similar interface as the Power BI service. Also, you will be prompted to add Power BI as an
app to Teams.
30
Sharing data in SharePoint
Go to the SharePoint site where you want to publish the report. Create a page and then add
the Power BI webpart option:
31
On this SharePoint page, you will be prompted to add a report by inserting a link.
Back in Power BI, you will get the link by selecting File → Embed in SharePoint Online.
The Details pane in SharePoint will appear and this is where you paste your link.
32
Please note, according to Microsoft, ‘Embedding a report in SharePoint Online doesn't
automatically give users permission to view the report - you need to set view permissions in
Power BI.’
Also, ‘Users viewing a report in SharePoint need either a Power BI Pro or Premium Per
On our Stationary review workspace, we’re uploading it by selecting + New → Upload a file.
33
This time we’re going to select a file which sits in your OneDrive or you have the permission to
access in another user’s OneDrive. This has the advantage over uploaded from your PC as
Power BI will check the file periodically to see if there are any changes; and if there are, the
changes will be updated to Power BI.
As the Power BI service is part Microsoft 365, it automatically signs in has access to your
OneDrive files.
34
Once it’s in our workspace, there are a number of options when we select More options:
Promptly, quick insights brings back just under 40 different visualizations. It’s a great
place to start as long as you have enough data in your file to generate all the
visualizations.
35
36
If you click on any of the visualizations, it will be enlarged thus giving a more detailed and
interactive view. Below is the full screen version of the visualisation.
37
3. Stretch out the map so it fits nicely on your screen. As you can see, it’s still a blank map as
have yet to select the Country field. Once we do, our map comes alive and we see where
our units are being proportionately sold; they appear as blue circles over Canada, US,
Mexico, France, and Germany.
4. Next, we’re going to add a legend which gives our countries a different colour.
38
5. Once you have it saved, it can be shared in the same way as our previous example i.e.
39
1. Open Power BI Desktop and select Get data → More → Online Services. The first option
is a SharePoint Online List. Enter the root URL of the SharePoint site for the
SharePoint list and select OK.
2. If prompted to use you Microsoft account, sign in. Select the table which is - in effect –
the SharePoint list.
40
3. Make sure you have selected Report – see below:
4. Select your visual. The below example is a Stacked bar chart - a nice visual which
details the Count of Gross Sales by Country and Product.
41
In order to get the data into Power BI, we have two options. Export the data to Excel and then
import it to Power BI or create a SharePoint list based on the Excel file, and then import or
link it to Power BI.
1. Select Open in Excel. The data comes in structured in columns with column headers –
this makes it easy to organise the data once in Power BI.
2. In Power BI Desktop, select Import data from Excel and choose your Excel file.
42
3. Below, we’re using a Line and stacked column chart to detail the results of our survey.
Another option worth mentioning if you want this to be automated, is to create a Power
43
Automate flow that triggers each time a survey response is received, that then copies the
response into a SharePoint list. Then you base your Power BI reports on that SharePoint list
data.
Desktop.
For this example, we’re going to use a Wiki page entry on the bestselling automobiles:
https://en.wikipedia.org/wiki/List_of_best-selling_automobiles
When prompted, insert the URL. Next, it brings up many tables that we can import.
44
However, once we bring in the data, we must ensure that the columns are correctly labelled.
1. We’re going to rename and/or remove columns in order to showcase the following data:
a. Brand
b. Automobile
c. Production
d. Units Sold
45
2. Under fields, select each column and rename it in line with the original column name in
Wikipedia.
46
4. As the data in the Units Sold column is unstructured – it contains numbers and words –
we’re going to clean it up by selecting Transforming data and Replace Values for some of
the items in that column. Basically, we want to remove references to footnotes and other
miscellaneous text.
47
5. Next, make sure that your values are in the order that you want them to appear. You don’t
have to number them, but we have; what’s important is that they appear in the order that
you want them to appear in.
48
6. Once we have our data saved, we’re going to publish it to a workspace in the Power BI
service by selecting Publish and choosing a workspace that we’ve created called Car
Sales.
7. Next, we’re going to turn our data in a Treemap. When we select the Treemap
visualization, our data is displayed in boxes.
49
8. When we hover over a box, we get the data relating to each car brand.
Please note, as the above link states, you’ll need the following items:
2. Dataverse environment with maker permissions to access the portal and read
permissions to access data within tables.
3. You must have the appropriate Power BI license to build and share Power BI reports.
4. To use the Dataverse connector, the Enable TDS endpoint setting must be enabled in your
environment. More information: Manage feature settings
50
Here is a list of file sources that you can connect to:
• Excel
• Text/CSV
• XML
• JSON
• Folder
• Parquet
• SharePoint folder
51
Databases
Amazon Redshift
SQL Server database
Impala
Access database
Google BigQuery
SQL Server Analysis Services
database Vertica
Oracle database
Snowflake
IBM Db2 database
Essbase
IBM Informix database
Actian (Beta)
(Beta) Linkar PICK Style /
AtScale cubes
IBM Netezza MultiValue Databases
(Beta)
BI Connector
MySQL database
MariaDB (Beta)
Data Virtuality LDW (Beta)
PostgreSQL database
MarkLogic
Denodo
Sybase database
Dremio
Teradata database
Exasol
SAP HANA database
Indexima
SAP Business Warehouse
Application Server
InterSystems IRIS (Beta)
SAP Business Warehouse
Jethro (Beta)
Message Server
Kyligence
52
Table source and more information, see here: https://docs.microsoft.com/enus/power-
bi/connect-data/desktop-data-sources
Data refresh
Depending on how you connect your data, it will refresh differently. According to Microsoft, ‘A
Power BI refresh operation can consist of multiple refresh types, including data refresh,
OneDrive refresh, refresh of query caches, tile refresh, and refresh of report visuals.’
53
Here is a quick guide:
If enabled
Scheduled Yes, for
on Automatically and
Import and connected No
Premium on-demand
ondemand datasets
capacity
If enabled
Yes, for
Not on Automatically and
DirectQuery connected No
applicable Premium on-demand
datasets
capacity
If enabled
Yes, for
Not on Automatically and
LiveConnect connected Yes
applicable Premium on-demand
datasets
capacity
Not
Not Not Automatically and
Push No
applicable applicable on-demand
practical
54
The top ten visualizations
There are many visualizations that come out-of-the-box with Power BI. Also, there are many
being created by third parties, too.
1. Bar charts
Call us old fashioned, but there’s something elegant and straight forward about a simple
bar chart.
2. Doughnut charts
Another classic, and for a very good reason – it gives you a clear, unambiguous view of
who is devouring most of the data.
55
For more information, see here https://docs.microsoft.com/en-
us/powerbi/visuals/power-bi-visualization-doughnut-charts
3. Scatter charts
Dots floating around in clear, clean space presents data in an original and simple way.
4. Waterfall chart
Although the waterfall may at times look like something out of Minecraft, it has a certain
charm – and solid data presentation.
56
5. Maps
It’s hard to get a better way of reporting country-by-country data than a map.
6. Tree maps
What could be nice than an interactive wall of beautifully colour data bricks?
7. Q&A
Driven by AI, this does exactly what it’s called – query your data as if it’s your very own
data analyst.
57
For more information, see here https://docs.microsoft.com/en-
us/powerbi/visuals/power-bi-visualization-q-and-a
8. Funnel chart
Another simple and effect way of presenting data – check what’s in your linear funnel.
9. Gauge
What’s more visual than a rev-counter data visual that displays your data against a
targeted goal?
58
For more information, see here https://docs.microsoft.com/en-
us/powerbi/visuals/power-bi-visualization-radial-gauge-charts
Furthermore, for other Microsoft visualizations and those which have been created by third
parties, see here https://appsource.microsoft.com/en-
US/marketplace/apps?product=power-bi-visuals
59
Key influencers visualizations
Key influencers is an AI-driven visualization which tries to drill down into your data in order to
figure out the key reasons that are influencing aspects of your data. In summary, it tries to
understand the reasons why your KPIs are moving in one direction or another.
Please note: Key influencers can be used for both the Power BI service and the Power BI
Desktop. In this example, we’re using Power BI Desktop for a better experience.
1. In Power BI Desktop, select Get data and choose a file. We’re selecting our Financial
Sample Excel file and one specific sheet.
2. Once loaded, you can see the columns from the Excel sheet.
60
3. Select the Key influencers visualization.
When you select the Key influencers visualization, you must input fields in the Analyse
section and then add more fields to the Explain by section. In our example, we have
added Profit to the Analyse section; and we have put every other field in the Explain by
section.
61
4. The above settings return the following:
a. Key influencers show us the top contributing factors to the selected item.
b. Top segment shows the top segments that contribute to the selected item.
c. In our example, the dropdown box is a binary choice between Increase and
Decrease.
d. On the right hand-side we see a graphic which is a visual interpretation.
e. The left pane contains the actual list of key influencers.
62
5. We can also filter the data by selecting Filters. In the below example, we have filtered our
data to only include references to Canada and France, and the visualizations adjusts
accordingly.
63
6. Now that we have our key influencers report in Power BI Desktop, let’s save it to the
Power BI service. We have created a workspace called Key influencers; this is going to be
the destination for the above report.
7. On the Home section of the ribbon, select Publish. We’re given a choice as to where we’ll
publish to. In our case, we’re selecting Key influencers.
8. Once published to the Power Bi service, you have the option to get quick insights or to
further share within others as a link or in in Teams.
64
For more information, see here https://docs.microsoft.com/en-us/powerbi/visuals/power-bi-
visualization-influencers
Dashboards
A Power BI dashboard is a single page which contains a number of visualizations. When used
well, they give the viewer a high-level summary of an organisation’s activity.
A dashboard is based on data which comes from reports. In essence, a dashboard can contain
multiple visualizations of data from many reports.
65
Available in
Yes. Can build and view reports
Power BI No
in Power BI Desktop.
Desktop
Yes. Can set multiple dashboards as Yes. Can set multiple reports as
Favourite
favourite’s. favourite’s.
66
Yes. Available for dashboard tiles in
Set alerts No
certain circumstances.
Can see
No. Can export data but can't see
underlying
tables and fields in the dashboard Yes
dataset tables
itself.
and fields
Creating a dashboard
1. While in your workspace (in our example, our workspace is Stationary review) select +New
and Dashboard. We’re going to name it World View.
67
3. We are given the following choices:
a. Web content
b. Image
c. Text box
d. Video
e. Read-Time Data
4. Let’s select Text box. We’re going to title our dashboard ACME Corporation – Global Sales.
Within the pane, you can resize and change the font too.
5. Next, we’re going to bring in the data map from our previous example. Open up the data
map and select the Pin to a dashboard icon.
6. When prompted, choose Existing dashboard and in our example, we’re pinning it to World
Sales.
68
7. We now have two tiles on our dashboard.
8. Let’s add some tiles based on the Excel file Financial Sample and quick insights.
We’ve added:
a. Average of Sale Price
b. Discounts
c. Units Sold
69
d. Average of manufacturing price
70
Ask a question about your data
At the top of our dashboard – and also on other visualizations too – you will be prompted to
Ask a question about your data.
It helps if you have some knowledge of how your data is structured in terms of what columns
exist as basically, when you ask a question - and hope to get an answer – you are really
comparing data in one column to another or asking binary questions such as what the
highest or lowest price of data in another column is.
If we start asking the following question What is the… we get these options:
71
Furthermore, there are predefined questions which act as a starting point. By default, our
predefined questions cover the average sale, count segments, maximum sale price and many
more.
Creating an App
Power BI allows you to create apps. When you think of a Power BI app, think of it as being
made up of reports and dashboards. The purpose of creating an app is to share it with a
broad audience within your organisation. When you share an app, users can:
For more information on apps and how the licencing works, see here
https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-createdistribute-apps
1. As apps are created in workspaces, let’s open our Stationary workspace. You’ll see on the
right hand-side of the below screenshot, there’s the option to Include in app, and at the
top of the page, Create app.
72
What we are doing is adding the parts below to your app – we’re adding everything on
offer to give our app as much content as possible.
2. Give your app a name and a description. You can give the app a colour, too.
73
4. Below is our app.
Once your app has been published, you can share it in Teams, post a comment (with the @
you can mentioned somebody in your organisation), and see related content, among other
options. There’s also a full screen mode which is ideal if you want to highlight KPIs in your
physical office setting, such as a reception.
74
Next steps
In this eBook we have touched on some of the most powerful features that Power BI has to
offer. However, as it’s a very powerful tool, the examples which we have covered are only a
starting point for your Power BI journey.
75
• Deployment pipelines: This feature allows you to manage and control the lifecycle of your
data and is based on three stages: The Deployment phase; the Test phase, and the
Production phase. For more information, see here
https://docs.microsoft.com/en-us/power-bi/create-reports/deployment-
pipelinesoverview?WT.mc_id=welcome_page
76