Lab 3 - Data Visualization
Lab 3 - Data Visualization
Dashboard in a Day
Lab 3
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
Once data is loaded, notice Revenue by Year visual. You will see columns for years 2013 through 2020.
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.
25. Click the VanArsdel logo to filter all the other visuals.
26. Click the Revenue by Year visual.
27. From Visualizations panel, click the Line and clustered column chart to change the visual type.
28. From the Fields section, drag and drop the % Growth field from the Sales table to the Line values.
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.
31. From the Fields section, drag and drop the PY Sales field to the Target value.
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.
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.
Note: Here you can save and add your custom themes.
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.
62. Let’s move to another visual, click the Revenue and % Growth by Year visual.
63. From the Visualizations panel, click the paint roller icon.
64. Expand the Data colors section.
65. Select the black color for % Growth.
66. Select a light shade of gray as the Default color.
76. Uncheck the Show Gridlines and Snap to Grid options to disable these features.
77. Right-click the page name in the lower-left corner and then click Rename Page.
78. Rename the page to Manufacturer.
We can also use a background image to format the reports. Let’s try it.
79. Click the white space in the canvas.
80. From the Visualizations panel, click the paint roller icon.
81. Expand the Page Background section.
82. Click the Add Image button.
83. A File browser dialog box opens. Browse to the DIAD folder then the Data folder (/DIAD/Data).
84. Click the Background file.
85. Click Open.
Notice we have a template which has a place for header and slots for images.
88. 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.
96. Highlight Manufacturer Analysis.
97. Click the arrow next to the A for the font color. Select the white color.
98. 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.
102. From Visualizations section, click the ellipse in the last row of visuals.
103. 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.
106. The import custom visual dialog opens. Click Get it now
117. Click on Add in the Bookmarks pane. This will add the current state of the visual to the
bookmark.
118. Click the ellipse next to the newly created Bookmark 1.
119. Click Rename and change the name to Initial State.
120. In the Revenue by Country visual, click the USA column.
121. Hover over the Revenue by Country visual and click the ellipse on the top right corner.
122. Click Spotlight.
127. From the Bookmarks pane, click View. You are now in Bookmarks slide show mode. You
will be in the first bookmark, which we called Initial State. Notice on the bottom of the report
pane there is an option to navigate between bookmarks.
128. You can use the arrows to navigate between bookmarks and tell your story.
129. From the Bookmarks pane, click Exit to exit the Bookmarks slide show mode.
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
© 2021 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.