Get Data With Power BI Desktop: Angeles University Foundation College of Computer Studies
Get Data With Power BI Desktop: Angeles University Foundation College of Computer Studies
Desktop
ANGELES UNIVERSITY FOUNDATION
College of Computer Studies
What is in this module?
• Overview of Power BI
Introduction Desktop
• Explore Power BI Desktop
Learning Objectives • Connect to data sources
• Get data from Excel
• Transform data to include in
a report
• Combine data from multiple
sources
Course Description HERE
• Clean data to include in a
report
Overview
of
Power BI
Desktop
What is Power BI Desktop?
Power BI Desktop is a free application for PCs that lets you gather,
transform, and visualize your data.
You can create your reports and dashboards in Power BI Desktop, and
then publish them to the Power BI Service for others to consume.
Install Power BI desktop and have a Power BI Service
account set up
Power BI Desktop automatically created a map-based visualization because it recognized that the State field
contained geolocation data.
Publish a report
After creating a report with a few visuals, you're ready to publish to the Power BI
service. On the Home ribbon on the Power BI Desktop, select Publish.
You’ll be prompted to sign in to Power BI. When you've signed in and the publish process is complete, the
following dialog box will appear. You can select the link below Success!, which will take you to the Power BI
service, where you can see the report that you published.
Pin a visual to a dashboard
When you view a published report in the Power BI service, you can choose the
Pin icon to pin that visual to a dashboard.
You can choose whether to pin the visual to an existing dashboard or to create a new dashboard.
Connect
to
Data Sources
Connect to data sources
• Power BI Desktop connects to many types of data sources, including local
• databases, worksheets, and data on cloud services.
• Sometimes when you gather data, it's not quite as structured, or clean, as you
want it to be.
• To structure data, you can transform it, meaning that you can split and
rename columns, change data types, and create relationships between column.
• You can connect Power BI Desktop to many types of data sources, including
on-premises databases, Microsoft Excel workbooks, and cloud services.
• Currently, there are about 60 Power BI-specific connectors to cloud services
such as GitHub and Marketo.
• You can also connect to generic sources through XML, CSV, text, and ODBC.
Power BI will even extract tabular data directly from a website URL.
Connect to data
• When you start Power BI Desktop, you can choose Get Data from the ribbon
on the Home tab.
Connect to data
• In Power BI Desktop, several types of data sources are available. Select a source to
establish a connection. Depending on your selection, you'll be asked to find the source on
your computer or network. You might be prompted to sign in to a service to authenticate
your request.
Choose data to import
After connecting, the first window that you'll see is the Navigator. The Navigator window displays the
tables or entities of your data source, and selecting a table or entity gives you a preview of its contents.
You can then import your selected tables or entities immediately by selecting Load, or you can select
Transform Data to transform and clean your data before importing.
Choose data to import
After you've selected the tables that you'd like to bring into Power BI Desktop, select the Load button.
You might want to make changes to those tables before you load them. For example, if you only want a
subset of customers or a specific country or region, select the Edit button and filter data before loading.
Get Data
From
Excel
Make sure that your data is formatted as
a table
For Power BI to import data from your workbook, that data needs to be formatted as a table. In Excel,
you can highlight a range of cells, and then on the Insert tab of the Excel ribbon, select Table.
Make sure that each column has a good name; it will make it easier for you to find the data that you want
when creating your reports in Power BI.
Import from a local drive
Wherever you keep your files, Power BI makes importing them simple. In Power BI, you can go to Get
Data > Files > Local File to select the Excel file that you want.
After the file has been imported into Power BI, you can begin creating reports.
Your files don't have to be on a local drive. If you save your files on OneDrive or SharePoint Team Site,
that's even better.
Create reports
After your workbook's data has been imported, a dataset is created in Power BI and it will appear
under Datasets.
Create reports
Now, you can begin exploring your data by creating reports and dashboards. Select the Open menu icon
next to the dataset and then select Explore. A new blank report canvas appears. On the right-hand side,
under Fields, are your tables and columns. Select the fields for which you want to create a new
visualization on the canvas.
To begin, select Edit from the Navigator window to launch Power Query Editor. You can also launch
Power Query Editor directly from Power BI Desktop by using the Edit Queries button on the Home ribbon.
Launch Power Query Editor
After loading your data into Power Query Editor, you'll see the following screen.
The Power Query Editor ribbon contains additional tools that can help you change the data type of columns,
add scientific notation, or extract elements from dates, such as day of the week.
Transform data
After you select Close & Apply, Power Query Editor applies the query changes and applies them to
Power BI Desktop.
Combine Data
From
Multiple Sources
Add more data sources
Transpose data
By using Transpose in Power Query Editor, you can swap rows into columns to better format the data.
Format data
You might need to format data so that Power BI can properly categorize and
identify that data. With some transformations, you'll cleanse data into a
dataset that you can use in Power BI. Examples of powerful transformations
include promoting rows into headers, using Fill to replace null values, and
Unpivot Columns.
With Power BI, you can experiment with transformations and determine
which will transform your data into the most usable columnar format.
Remember,
the Applied Steps section of Power Query Editor records all your actions. If
a transformation doesn't work the way that you intended, select the X next to
the step, and then undo it.
After you've cleaned your data into a usable format, you can begin to create powerful visuals in Power BI.
END
By: Jewel Anne R. Atanacio