PBI Slides ShortCourse Handout
PBI Slides ShortCourse Handout
Understand Understand how to connect to different types of data sources and shape the data fields
Save and publish Know how to save and publish reports to share with others
Visualizations
Report
Dashboards
•A dashboard is a collection of visuals from single or multiple pages that you can share
with others. Often, it’s a selected group of visuals that provide quick insight into the
data or story you’re trying to present. Think of a dashboard as a quick look at what is
important, then you reopen the report to get more details.
•The goal of creating a dashboard is so that the user can see the information as
quickly as possible.
•An example of a dashboard would be a departmental quick look or executive
dashboard
See Your Data in
New Ways
■ Typically, a Power BI Report
connects to one (or more)
data sets and will have at
least one report page.
– It is very common to have
multiple pages within your
report as well
Parts of a Report
Visuals - a means to visualize a dataset
Elements – used to draw attention to visuals but do not interact with data
Visuals Elements
•Microsoft Power BI •Text Box - used to add titles or
includes over 30 general instructions can be visually
changed by font, color bold and
standard visuals which alignment
are already available •Buttons – you can assign a function
to the users to a button, so the user need only
activate the button
•You can create custom
•Shapes – can be used for
visuals, or they can be decoration – information or to point
sourced from the to another element
AppSource •Images- can be used to add a logo
to a report, or can even behave like
a button
Types of Visuals
Proportional Performance
Categorical Time Series Numeric Grid Geographical
based
•Bar or •Line or •Stacked bar •Cards or •Tables or •Gauge or •Maps
column column chart Call outs matrices KPI
CATEGORICAL VISUAL
TIME SERIES VISUALS
PROPORTIONAL
VISUALS
NUMERIC VISUALS
A matrix visual displays inventory by product and by
store. It uses conditional formatting to show
indicators, which provide visual cues to
understanding the data.
GRID VISUALS
PERFORMANCE VISUAL
GEOSPATIAL VISUALS
Publish
Data sources One or more reports and one or more datasets per dashboard. A single dataset per report
Drilling down in visuals Only if you pin an entire report page to a dashboard. Yes
Available in Power BI Desktop No Yes. Can build and view reports in Power BI Desktop.
Filtering No. Can't filter or slice a dashboard. Can filter a dashboard tile in focus mode, but can't Yes. Many different ways to filter, highlight, and slice.
save the filter.
Favorite Yes. Can set multiple dashboards as favorites. Yes. Can set multiple reports as favorites.
Natural langage queries (Q&A) Yes Yes, provided you have edit permissions for the report and underlying dataset.
Subscribe Yes. Can subscribe to a dashboard. Yes. Can subscribe to a report page.
Can see underlying dataset tables and fields No. Can export data but can't see tables and fields in the dashboard itself. Yes
Resources
Power BI Documentation
•https://docs.microsoft.com/en-us/power-bi/
•https://learn.microsoft.com/en-us/training/paths/power-bi-effective/
https://docs.microsoft.com/en-us/power-bi/guided-learning/
Power BI Dashboards
•https://learn.microsoft.com/en-us/power-bi/create-reports/service-dashboard-create?source=recommendations
•https://learn.microsoft.com/en-us/training/modules/build-simple-dashboard/5-build-dashboard
Power BI Webinars
•https://docs.microsoft.com/en-us/power-bi/webinars
Power BI Whitepapers
•https://docs.microsoft.com/en-us/power-bi/whitepapers
Power BI Blogs
•https://powerbi.microsoft.com/en-us/blog/
YouTube
•https://youtu.be/lJKgWnvl6bQ
Lab 1: Combine data from Excel and an
OData feed
■ It's common to have data spread across multiple data sources, such as product
information in one database and sales information in another. With Power BI
Desktop, you can combine data from different sources to create interesting,
compelling data analyses and visualizations
■ In this lab you learn how to combine data from two data sources: an Excel
workbook that includes product information, and an OData feed that contains
orders data. After you import each dataset and perform transformation and
aggregation steps, you will use data from both sources to produce a sales analysis
report with interactive visualizations. These techniques can also be applied to SQL
Server queries, CSV files, and any other data sources in Power BI Desktop.
■ For this lab you will need to open the link on the desktop for short courses and
open the files we will be using for this lab exercise.
Import the product data from Excel
Note
You can also select the Get Data item itself, or
select Get Data from the Power BI Get started
dialog, then select Excel or File > Excel in the Get
Data dialog box, and then select Connect.
Note
You can also open the Power Query Editor by selecting Edit Queries >
Edit Queries from the Home ribbon in Power BI Desktop, or by right-
clicking or choosing More options next to any query in Report View,
and selecting Edit Query.
Clean up the products columns
1. In Power Query Editor, select New Source and then select OData feed from
the Most Common dropdown.
2. In the OData Feed dialog box, paste the URL for the Northwind OData feed,
http://services.odata.org/V3/Northwind/Northwind.svc/ , and select OK.
3. In the Navigator pane, select the Orders
table, and then select OK to load the data
into Power Query Editor.
Note
In Navigator, you can select any table name, without selecting
the checkbox, to see a preview.
Expand the order data
When you connect to data sources that have multiple tables, such as relational
databases or the Northwind OData feed, you can use references between tables to
build up your queries.
The Orders table contains references to several related tables. You can add the
ProductID, UnitPrice, and Quantity columns from the related Order_Detailstable into
the subject (Orders) table by using the Expand operation.
1. Scroll to the right in the Orders table until you can see the Order_Details column.
Note that instead of data, it contains references to another table.
Note
You can also select the LineTotal column, then select the dropdown arrow next to
Data Type in the Transformarea of the Home ribbon tab, and then select Fixed
decimal number.
Clean up the orders columns
To make your model easier to work with in reports, you can delete,
rename, and reorder some of the columns.
Finally, to make the LineTotal column easier to access, drag and drop
it to the left, just to the right of the ShipCountry column.
Review the query steps
As you shaped and transformed data in the :Power Query Editor, each step was recorded in the Applied Steps area of the Query Settings
pane on the right side of Power Query Editor. You can step back through the Applied Steps to review the changes you made, and edit,
delete, or rearrange them if necessary (although this can be risky, because changing preceding steps can break later steps).
Select each of your queries in the Queries list on the left side of Power Query Editor, and review
the Applied Stepsin Query Settings. After applying the previous data transformations, the Applied Steps for your two queries should look
like the following
Tip
Underlying the Applied Steps are formulas written in the Power Query Language, also known as
the Mlanguage. To see and edit the formulas, select Advanced Editor in the Query group of the Home tab of the ribbon.
Import the transformed queries
To get back to Report View from Relationships View, select the Report View icon.
Create visualizations using your data
In Power BI Desktop Report View, you can create a variety of
visualizations to gain insights from your data. You can build reports
with multiple pages, and each page can have multiple visuals. You
and others can interact with your visualizations to help analyze and
understand your data. For more information about viewing and
editing reports in Power BI Service (your site), see Edit a Report.
You can use both of your data sets, and the relationship between
them, to help visualize and analyze your sales data.
First, create a stacked column chart that uses fields from both
queries to show the quantity of each product ordered.
1. Select the Quantity field from Orders in the Fields pane at the
right, or drag it onto a blank space on the canvas. This creates a
stacked column chart showing the total quantity of all products
ordered.
2. Select ProductName from Products in the Fields pane, or
drag it onto the chart, to show the quantity of each product
ordered.
3. To sort the products by most to least ordered, select the More
options ellipsis (...) at the upper right of the visualization, and
then select Sort By Quantity.
4. Use the handles at the corners of the chart to enlarge it so more
product names are visible.
Next, create a chart showing order dollar amounts (LineTotal)
over time (OrderDate).
Tip
If you only see Years on the chart (only three data points), drop
down the arrow next
to OrderDate in the Axis field of the Visualizations pane, and
select OrderDate instead of Date Hierarchy.
Finally, create a map visualization showing order
amounts from each country.