Lab 3 - Data Visualization A4
Lab 3 - Data Visualization A4
Dashboard in a Day
Lab 3
Introduction
Version: 6.30.2022 Copyright 2022 Microsoft 2 |Page
Maintained by: Microsoft Corporation
This document is lab three out of five total labs.
Please continue to use your file after completing Lab 2. If you are joining the DIAD at this point or
were unable to complete previous labs, please start this lab with the provided Lab 2 solution.pbix file
found in the Reports folder.
At the end of this lab, you will have completed a full report that is ready to be published to the Power
BI Service. In the report, you will have learned how to do conditional formatting, add a logo to the
manufacturer filter, import a custom visual, and apply a custom theme to the report. By the end of
this lab, you will have also learned how to add bookmarks to tell a story about the report.
The flow of this document includes screenshots to provide a visual aid for the users and a text
description of the steps the user needs to follow. In the screenshots, sections are highlighted with red
or orange boxes to indicate the action or area on which a user needs to focus.
NOTE: This lab uses real, anonymized data provided by ObviEnce, LLC. Visit their site to learn about
their services: www.obvience.com. This data is the property of ObviEnce, LLC and has been shared to
demonstrate Power BI functionality with industry sample data. Any use of this data must include this
attribution to ObviEnce, LLC.
Now let’s get started, we will pick up where we left off at the end of Lab 2.
1. With the Matrix visual selected, navigate to the Values section and click the arrow next to %
Growth.
2. Click Conditional Formatting and then click Background color. The Background color dialog
box opens. This dialog provides options to format the report background color using either
rules or diverging colors.
5. From the ribbon, click Home and then click Transform Data. The Power Query Editor window
opens.
6. Click the filter button on the Date column.
7. Click Clear filter to remove the 3-year filter.
8. Click Home and then click Close & Apply to load the data.
This time all the data will be loaded. It might take a couple of minutes as we are loading approximately
seven million rows.
Make sure the report is filtered by VanArsdel using the Manufacturer slicer. Remove all other filters.
9. Enable drill down mode on the Revenue by Country visual
15. In the Visualizations panel, click the paint roller icon. This opens the formatting options
available for a visual.
16. To expand the General section, click Horizontal in the Orientation drop-down menu.
17. Notice the Slicer visual is updated. You can resize the visual, so all the manufacturers are listed
horizontally.
Note: Notice there is an option to enable the Select All option in the visual. There is also an option to
make the slicer multi-select. Feel free to explore other formatting options.
Now it would be nice to add logos of the manufacturer to the slicer. Let’s do it.
20. From the Fields section, click the Logo field in the Manufacturer table
21. From the ribbon, click Column tools, click Data Category and then click Image URL. Setting the
data category to Image URL helps Power BI understand that it is a URL so it can access the
data.
29. Now let’s click the Revenue Card visual so we can change it to a Gauge visual.
30. From the Visualizations panel, click the Gauge visual.
32. Resize the visual as needed. Now we can compare Revenue with the target.
39. From the ribbon, click View, click Themes, and then click Browse for themes.
40. A file browser dialog box opens. Navigate to the Data folder then the Theme folder
(/Data/Theme).
41. Click the DIADTheme2 file and then click Open.
42. Once the theme is imported, a success dialog box opens. Click Close.
Notice colors on all the visuals are updated. Your report should look like the screenshot at this point.
This theme looks good. Now, most of the visuals are blue, so let’s add some contrast.
Notice that there a lot of formatting options. For example, a visual title can be changed and formatted,
or you can add a border and background to the visual. Feel free to explore the options.
63. Let’s move to another visual, click the Revenue and % Growth by Year visual.
64. From the Visualizations panel, click the paint roller icon.
81. Uncheck the Show Gridlines and Snap to Grid options to disable these features.
82. Right-click the page name in the lower-left corner and then click Rename Page.
83. Rename the page to Manufacturer.
Notice we have a template which has a place for header and slots for images.
92. Resize and arrange the visuals as shown in the screenshot
Note: The logo is transparent. You need to place it on the blue background to see it.
Now let’s change the font color of the report title.
100. Highlight Manufacturer Analysis.
101. Click the arrow next to the A for the font color. Select the white color.
102. Change the size of the font to 24
Out of the box, Power BI has a large selection of visuals. However, there may be a use-case when you
need a custom visual. To meet this requirement, the visualization engine is open-sourced. The Power
BI community contributes visuals in the marketplace. You can add and use these visuals in your
reports.
There is also an option to create your own visual and import it into Power BI Desktop.
Now let’s add a custom visual.
106. From Visualizations section, click the ellipse in the last row of visuals.
107. Click Get more visuals.
Note: Notice the checkmark in the blue star. This image is used to identify certified custom visuals.
Custom visuals that meet Power BI teams coding requirements are certified. Certified custom visuals
support features like export to PowerPoint and the ability to display in subscription emails which are
not supported by non-certified custom visuals.
110. The import custom visual dialog opens. Click Get it now
121. Click on Add in the Bookmarks pane. This will add the current state of the visual to the
bookmark.
122. Click the ellipse next to the newly created Bookmark 1.
123. Click Rename and change the name to Initial State.
124. In the Revenue by Country visual, click the USA column.
125. Hover over the Revenue by Country visual and click the ellipse on the top right corner.
126. Click Spotlight.
127. In the Bookmarks pane, click Add. This will add a new bookmark with the current state
of the report.
128. Change the bookmark name to USA Revenue
135. From the Bookmarks pane, click Exit to exit the Bookmarks slide show mode.
If time permits, feel free to explore other options available with Bookmarks, such as Selected Visuals,
as you continue to build your story.
136. From the ribbon, click View.
137. Uncheck the Bookmarks Pane.
138. Collapse the Visualizations and Filters pane by clicking on the arrows
4. Click on the heading Fill and change the Fill color to a light blue and set Transparency to 40
Your report should look as shown in the figure below. Now let’s finish up by saving the file.
Here are a few more resources that will help you with your next steps with Power BI.
• Getting started: http://powerbi.com
• Power BI Desktop: https://powerbi.microsoft.com/desktop
• Power BI Mobile: https://powerbi.microsoft.com/mobile
• Community site https://community.powerbi.com/
• Power BI Getting started support page:
https://support.powerbi.com/knowledgebase/articles/430814-get-started-with-power-bi
• Support site https://support.powerbi.com/
• Feature requests https://ideas.powerbi.com/forums/265200-power-bi-ideas
• New ideas for using Power BI https://aka.ms/PBI_Comm_Ideas
• Power BI Courses http://aka.ms/pbi-create-reports
• Power Platform https://powerplatform.microsoft.com/en-us/instructor-led-training/
• Power Apps Business Apps | Microsoft Power Apps
• Power Automate Power Automate | Microsoft Power Platform
• Dataverse What is Microsoft Dataverse? - Power Apps | Microsoft Docs
© 2022 Microsoft Corporation. All rights reserved.
By using this demo/lab, you agree to the following terms:
The technology/functionality described in this demo/lab is provided by Microsoft Corporation for purposes of
obtaining your feedback and to provide you with a learning experience. You may only use the demo/lab to
evaluate such technology features and functionality and provide feedback to Microsoft. You may not use it for
any other purpose. You may not modify, copy, distribute, transmit, display, perform, reproduce, publish, license,
create derivative works from, transfer, or sell this demo/lab or any portion thereof.
COPYING OR REPRODUCTION OF THE DEMO/LAB (OR ANY PORTION OF IT) TO ANY OTHER SERVER OR LOCATION
FOR FURTHER REPRODUCTION OR REDISTRIBUTION IS EXPRESSLY PROHIBITED.
FEEDBACK. If you give feedback about the technology features, functionality and/or concepts described in this
demo/lab to Microsoft, you give to Microsoft, without charge, the right to use, share and commercialize your
feedback in any way and for any purpose. You also give to third parties, without charge, any patent rights
needed for their products, technologies and services to use or interface with any specific parts of a Microsoft
software or service that includes the feedback. You will not give feedback that is subject to a license that
requires Microsoft to license its software or documentation to third parties because we include your feedback in
them. These rights survive this agreement.
MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS WITH REGARD TO THE
DEMO/LAB, INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS,
IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. MICROSOFT
DOES NOT MAKE ANY ASSURANCES OR REPRESENTATIONS WITH REGARD TO THE ACCURACY OF THE RESULTS,
OUTPUT THAT DERIVES FROM USE OF DEMO/ LAB, OR SUITABILITY OF THE INFORMATION CONTAINED IN THE
DEMO/LAB FOR ANY PURPOSE.
DISCLAIMER
This demo/lab contains only a portion of new features and enhancements in Microsoft Power BI. Some of the
features might change in future releases of the product. In this demo/lab, you will learn about some, but not all,
new features.