DA 100T00A ENU DemoInstructions
DA 100T00A ENU DemoInstructions
0: Get Started
Setup the VM
1. Sign in to the virtual machine environment using the Student account.
2. Open the D:\DA100\Demo\Setup\MySettings.txt file, and then enter the instructor and recipient
accounts, which have been provided to you.
Tip: Keep the MySettings.txt file open during the entire course. You will refer back to it in many
demos.
3. Open Microsoft Edge, then navigate to https://powerbi.com and sign in using the instructor
account.
If prompted to change the password, be sure to record it in the MySettings.txt file.
Preview data
10. Describe the Power Query Editor window layout, including the Queries pane, the Query Settings
pane, the ribbon, the preview grid, and the status bar.
11. Point out the quality bar beneath the column headers, and hover the cursor over it to reveal
statistics about the column values.
12. On the View ribbon tab, turn on Column Quality.
13. Turn on Column Distribution, and point out columns like ProductID (unique values) and
ProductCategory (several duplicate values).
14. Turn on Column Profile, and then select the ProductCategory column.
15. Point out the column statistics and distribution.
16. Turn back off the three options.
17. Save the Power BI Desktop file, but do not apply changes.
18. Leave the Power BI Desktop file open for the next demo.
• ProductSKU to SKU
• ProductName to Product
• ProductCategory to Category
• OrderDate
• ProductID
• Quantity
• UnitPrice
7. Change the data type of the UnitPrice column to Fixed Decimal Number.
8. Rename the UnitPrice column to Unit Price.
9. Multi-select the Quantity and Unit Price columns, and then add a new column based on their
multiplication.
10. Rename the new column as Sales.
Integrate queries
11. Create a new query using the Excel connector, connecting to the
D:\DA100\Demo\Data\ProductCost.xlsx file.
12. Remove the Product column.
13. Change the data type of the ProductCost column to Fixed Decimal Number.
14. Select the Product query, and then merge with the ProductCost query, relating the SKU
columns.
Disable a query
18. In the Queries pane, disable the ProductCost query.
3. In Model view, hover over the automatically-created relationship between the two tables.
4. Explain how filters will propagate from the Product table to the Sales table.
Create a hierarchy
5. Create a hierarchy based on the Product table Category column.
6. Rename the hierarchy as Products.
7. Add the Product column as the second level.
2. Switch to Data view, and review the table, which comprises a single date column.
5. In Model view, create a relationship by dragging the Date table Date column to the Sales table
OrderDate column.
6. Hide the Sales table OrderDate column.
7. In the Date table, create the Calendar hierarchy, with Year and Month levels.
8. In Report view, mark the Date table as a date table using the Date column.
9. In the matrix visual, remove the Products hierarchy, and then replace it with the Calendar
hierarchy.
10. Add a calculated column to the Sales table:
DAX
Cost = 'Sales'[Quantity] * RELATED('Product'[Cost])
Create aggregations
14. Open the Power Query Editor window, and in the Queries pane, duplicate the Reseller Sales
query.
15. Rename the new query Reseller Sales Agg.
16. Apply a group by transformation, as follows:
• Group by OrderDate.
Add a slicer
3. Add a slicer for the Date table Year column, and position it at the top-left of the report page.
4. Use the formatting options to configure the slicer for single selection.
Create a dashboard
1. First, in the Power BI service, create a new workspace, and use the
D:\DA100\Demo\Resources\Icon-Airplane.jpg image as its icon.
2. In Power BI Desktop, publish the Sales Analysis report to the new workspace.
3. Once published, return to the Power BI service.
4. Open the Sales Analysis report, and then ensure the Year slicer is set to CY2020.
• Name: TailspinToys
• Expand the Region table, and then check the RegionName column.
• Expand the State table, and then check the StateName column.
• Expand the Sales table, and then check the OrderNumber and Quantity columns.
• Apply a filter to the Sales table OrderDate column, for the date 11/30/2020 (use US date
format).
• Values: Sum_Quantity
7. In the Choose the Layout step, select the third options: Stepped, subtotal above
8. Uncheck the Expand/collapse groups checkbox.
9. Complete the Wizard process.
Add a group
7. Add another new page to the report named Category Analysis.
8. Copy, paste, and then sync the Year slicer from the Profit Analysis page to the new page.
9. Add a new group based on the Product table Category column.
10. Create a group based on the Trainer value.
11. Check the Include Other Group checkbox.
12. Add a matrix visual, and position and size it so it fills the page.
13. Configure the matrix visual as follows:
• Values: Quantity, Sales, Profit, and Profit Margin from the Sales table
14. Expand both categories.
Create an app
12. Switch to the instructor Power BI service window.
13. In the Navigation pane, click the workspace name.
14. At the top-right, click Create App.
15. In the Setup section, enter some description text and optionally choose a theme color.
16. In the Navigation section, optionally sequence the report before the dashboard.
17. In the Permissions section, grant access to the recipient account.
18. Publish the app.
3. In Power BI Desktop, open the Power Query Editor window, and select the ProductCost query.
4. Edit the Source step, and then modify the file path to use the file share, as follows: \\DATA-
AI\Data\ProductCost.xlsx
You can copy the file share path from the MySettings.txt file.
21. In the Power BI service for the instructor, from the Navigation pane, refresh the Sales Analysis
dataset.
22. When the refresh completes, point out how the dashboard tile December 2020 column appears,
and that the refresh time is NOW.
Add a role
10. In Report view, open Manage Roles, and then create a role named Manager.
11. In the role, filter the ManagerCategory table Email address column as follows:
DAX
[Email] = USERPRINCIPALNAME()