0% found this document useful (0 votes)
25 views

Powerbi Intro 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Powerbi Intro 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CHAPTER 1.

INTRODUCTION TO POWER BI

1.8 Power BI licence


We will be covering the free version of Power BI desktop in this session. This
version allows you to use all the functionalities of the desktop version such as
loading, analysing and visualising data. You can create as many visuals and
reports as you would like with the free license. However publishing and sharing
your reports and visuals online with another person or publically requires a
Power BI license. This means that you can still share your report and data
files between users and computers through other means, like a shared drive, and
only require one user with a Power BI license to publish and share the final
report online. Please contact the Monash Business Intelligence team for more
information on licensing.

12
Chapter 2

Importing Dataset and


Modelling

Power BI can connect to a whole range of data sources from Excel sheets and
local databases to several Cloud services. Currently, over 60 different cloud
services have specific connectors to help you connect with generic sources through
XML, CSV, text, and ODBC. Let us start connecting to one of the data sources.
For today we will be working on the gap_minder_map.csv file.

2.1 Importing data into Power BI Desktop


Power BI Desktop has a Get Data button from the ribbon on the Home tab.
In Power BI, there are all sorts of different data sources available. Select a source
to establish a connection. Depending on your selection, you will be asked to find
the source on your computer or network, or be prompted to sign in to a service
to authenticate your request.
As our first step to import the dataset/file into Power BI, we click on the Get
Data icon on the ribbon of Home tab.

13
CHAPTER 2. IMPORTING DATASET AND MODELLING

Once we select this, we go ahead and select the CSV option under the file
subheading.

Then browse the file and select the necessary CSV file. Press on Connect
to have a quick preview of the file. Once we click on Load, Power BI will
successfully import the file. Any errors will then pop up ready to be analysed
and fixed.

14
CHAPTER 2. IMPORTING DATASET AND MODELLING

If there are any errors in the data load, select View errors to check any detected
errors. Alternatively, close the pop up and click Edit queries to check for any
errors. This will query and list the errors in the data.

2.2 Dealing with errors


2.2.1 Checking for automatically detected errors
Once queried, any detected errors will be displayed. Clicking on these errors will
provide a brief description on what might have gone wrong. There will be some
errors showing up in your data, click on the errors to see what has caused the
issue.

2.2.2 Changing data type of column


One of the most common errors is the detection of the datatype of a particular
column. While loading the data, Power BI automatically assigns a column type
based on the first lines of data. This can cause errors or other problems if the
automated data type is not suited for that column. You may need to change
data types of the columns to a relevant type for your data model.
Any changes to the data needs to be done under the Data file listed under
Other Queries.
The life_exp column is displaying as text data. This is a problem as we may
want to do numerical calculations with this data. We should change this to a
numerical data type.

• Select the gap-minder file.


• Right click on top of the column and select Change type.
• Change to Decimal Number.

15

You might also like