11 Perform Data Analysis in Power Bi Desktop
11 Perform Data Analysis in Power Bi Desktop
11 Perform Data Analysis in Power Bi Desktop
629fe889a8
5 contributors
lab
title module
Important: If you have already signed in to Power BI in a previous lab, continue from the
next task.
1. To open Microsoft Edge, on the taskbar, click the Microsoft Edge program shortcut.
5. If prompted to update the password, reenter the provided password, and then
enter and confirm a new password.
8. In the Microsoft Edge browser window, in the Power BI service, in the Navigation
pane, expand My Workspace.
Important: If you have already published the dataset in the Create a Power BI
Dashboard lab, continue from the next task.
1. In the Microsoft Edge browser window, in the Power BI service, in the Navigation
pane, at the bottom, click Get Data.
1. To open the Power BI Desktop, on the taskbar, click the Microsoft Power BI
Desktop shortcut.
Important: If you already have Power BI Desktop open (from a previous lab), close
that instance.
2. To close the getting started window, at the top-left of the window, click X.
3. If Power BI Desktop is not signed in to the Power BI service, at the top-right, click
Sign In.
4. Complete the sign in process using the same account used to sign in to the Power
BI service.
5. To save the file, click the File ribbon tab to open the backstage view.
6. Select Save.
9. To create a live connection to the Sales Analysis dataset, on the Home ribbon tab,
from inside the Data group, click Power BI Datasets.
10. In the Select a Dataset to Create a Report window, select the Sales Analysis
dataset.
You’ll now create four report pages, and on each page you’ll work with a different
visual to analyze and explore data.
2. Add a Scatter Chart visual to the report page, and then position and resize it so it
fills the entire page.
3. Add the following fields to the visual wells/areas:
The labs use a shorthand notation to reference a field. It will look like this: Reseller
| Business Type. In this example, Reseller is the table name and Business Type is
the field name.
The chart can be animated when a field is added to the Play Axis well/area.
4. In the Filters pane, add the Product | Category field to the Filters On This Page
well/area.
The scatter chart allows understanding the measure values simultaneously: in this
case, order quantity, sales revenue, and profit margin.
Each bubble represents a reseller business type. Changes in the bubble size reflect
increased or decreased order quantities. While horizontal movements represent
increases/decreases in sales revenue, and vertical movements represent
increases/decreases in profitability.
8. When the animation stops, click one of the bubbles to reveal its tracking over time.
9. Hover the cursor over any bubble to reveal a tooltip describing the measure values
for the reseller type at that point in time.
10. In the Filters pane, filter by Clothing only, and notice that it produces a very
different result.
2. Add a Line Chart visual to the report page, and then position and resize it so it fills
the entire page.
When forecasting over a time line, you will need at least two cycles (years) of data to
produce an accurate and stable forecast.
6. Add also the Product | Category field to the Filters On This Page well/area, and
filter by Bikes.
7. To add a forecast, beneath the Visualizations pane, select the Analytics pane.
If the Forecast section is not available, it’s probably because the visual hasn’t been
correctly configured. Forecasting is only available when two conditions are met: the
axis has a single field of type date, and there’s only one value field.
9. Click Add.
12. In the line visual, notice that the forecast has extended one month beyond the
history data.
The gray area represents the confidence. The wider the confidence, the less stable—
and therefore the less accurate—the forecast is likely to be.
When you know the length of the cycle, in this case annual, you should enter the
seasonality points. Sometimes it could be weekly (7), or monthly (30).
13. In the Filters pane, filter by Clothing only, and notice that it produces a different
result.
1. Add a new page, and then rename the page to Decomposition Tree.
2. On the Insert ribbon, from inside the AI Visuals group, click Decomposition Tree.
5. In the Filters pane, add the Date | Year field to the Filters On This Page, and set
the filter to FY2020.
6. In the decomposition tree visual, notice the root of the tree: Profit Margin at
-0.94%
7. Click the plus icon, and in the context menu, select High Value.
8. Notice that the decomposition tree presents resellers, ordered from highest profit
margin.
9. To remove the level, at the top of visual, beside the Reseller label, click X.
10. Click the plus icon again, and then expand to the Country-Region level.
12. Use the down-arrow located at the bottom of the visual for State-Province, and
then scroll to the lower profitable states.
13. Notice that New York state has negative profitability.
United States is not producing profit in FY2020. New York is one state that’s not
achieving positive profit, and it’s due to four resellers paying less than standard costs
for their goods.
In this exercise you will use the Key Influencers AI visual to determine what influences
profitability within reseller business types and geography.
1. Add a new page, and then rename the page to Key Influencers.
2. On the Insert ribbon, from inside the AI Visuals group, click Key Influencers.
Explain By: Reseller | Business Type and Reseller | Geography (the entire
hierarchy)
6. Review the result, which is that the city of Bothell is more likely to increase.
10. Notice that the target is now to determine segments when profit margin is likely to
be high.
11. When the visual displays the segments (as circles), click one of them to reveal
information about it.
Task 2: Finish up
In this task you will complete the lab.
3. To publish the file to your workspace, on the Home ribbon tab, from inside the
Share group, click Publish.