Create a Microsoft Power BI desktop solution
Objective
You will learn how to:
- Create a Power BI Desktop solution
- Create queries based on a variety of data sources
- Prepare a model for reporting
- Create an interactive dashboard layout consisting of several data visualizations
- Download and import a visual from the Power BI Visuals Gallery
Scenario
This lab is based upon the sales activities of the fictitious Tailspin Toys company.
The Tailspin Toys company:
- Represents a specialist toy sales business that sells model airplanes and helicopters to global markets
- Accumulates core sales data in a SQL Server database, and is interested to explore and discover deeper insight from this data
You are required to create a Power BI Desktop solution to enable the reporting and analysis of US sales activity.
Virtual Machines
- PowerBI-DC
- PowerBI
Exercise 1 : Create Queries
In this exercise, you will create five Power BI Desktop queries. Four queries will source data from SQL Server, an Excel workbook and a CSV file. A fifth query will generate date data without requiring a data source.
Note that in this version of the product, sometimes Power BI Desktop dialog windows do not fully display. If this happens during this lab, you can:
Press Enter, if the dialog window requires to you to agree to continue, or Press Escape to close the dialog window, and then repeat the task instruction.
If you cannot overcome this issue, please request the assistance of a lab proctor.
Note that in this version of the product, sometimes Power BI Desktop dialog windows do not fully display. If this happens during this lab, you can:
Press Enter, if the dialog window requires to you to agree to continue, or Press Escape to close the dialog window, and then repeat the task instruction.
If you cannot overcome this issue, please request the assistance of a lab proctor.
- Open Power BI DesktopTo open the Power BI Desktop, on the taskbar, click the Microsoft Power BI Desktop shortcut.Note that in this hosted lab environment, sometimes Power BI Desktop dialog windows do not fully display. If this happens during this lab, you can:
- Press Enter, if the dialog window requires to you to agree to continue, or
- Press Escape to close the dialog window, and then repeat the task instruction
- Close Startup ScreenTo close the startup screen, at the top-right corner, click X.
- Save Power BI Desktop FileTo save the file, click the File tab, and then select Save As.
In the Save As window, in the File Name box, enter D:\PowerBI\Lab02\US Sales Analysis, and then click Save.
Tip: For your convenience, you can click inside the File Name box, and then click Type Text.D:\PowerBI\Lab02\US Sales Analysis
- Import SQL Server DataOn the Home ribbon, from inside the External Data group, click the Get Data dropdown, and then select SQL Server.
- Enter Database SettingsIn the SQL Server Database dialog window, in the Server box, enter POWERBI.
In the Database box, enter TailspinToys-US. - Notice Import SettingNotice that the default option is to import (cache) the data.
Click OK.It is also possible to connect directly to the SQL Server data source by using DirectQuery. In this mode, no data is imported or copied into Power BI Desktop. The selected tables and columns appear in your Power BI Desktop Fields list. As you create or interact with a visualization, Power BI Desktop queries the underlying data source, which means you’re always viewing current data. - Connect to Database ServerWhen prompted to authenticate, to use your Windows credentials, click Connect.
When prompted to confirm the use of an unencrypted connection, click OK. - Select Sales TableIn the Navigator dialog window, check the Sales table.
- Review SQL Server DataReview the data in the preview pane (located at the right), horizontally scrolling to the right.
The data represents the US retail sales operations, including the last two columns which are foreign key columns that relate to the Product and State tables.In this lab, you will develop the query by introducing columns from these related tables, and by defining friendly names for the columns. - Edit QueryTo develop the query, click Edit.
Notice that the Query Editor window opens, and that this window has its own ribbon.
This window is used to define query steps to transform data, and to also preview the query result. - Name QueryIn the Query Settings pane (located at the right), in the Name box, notice that the query name was derived from the selected source table: Sales.
- Notice Foreign Key ColumnsIn the data pane (the large pane containing the data grid), notice that the Product and State columns (the last two columns) contain Value links, enabling the introduction of columns from related tables.These columns were added automatically because the CustomerStateID and ProductID columns of the Sales table are foreign key columns.
- Introduce Related ColumnsTo introduce columns from the Product table, in the Product column header, click the Expand button (located in the column header).
Uncheck (Select All Columns), and then check only the five columns as shown in the screenshot. - Uncheck Original Column NameUncheck the Use Original Column Name as Prefix checkbox.
Click OK. - Include State ColumnsExpand the State column to include only the StateName and Region columns.
- Include Region ColumnExpand the Region column to include only the RegionName column.
The Region column represents an additional table, related to the State table. - Remove Unnecessary ColumnsTo remove unnecessary columns, first select the OrderNumber column header, and then while pressing the Control key, select also the ShipDate, CustomerStateID, ProductID, DiscountAmount, and PromotionCode column headers.
Right-click the column selection, and then select Remove Columns. - Rename ColumnTo rename the column, right-click the UnitPrice header column, and then select Rename.
Modify the name to Unit Price (includes a space), and then press Enter.
Defining concise—yet friendly—names ensures that data visualization captions are easy to understand.In addition, while it is possible to name a column the same name as the table it belongs to, it is important to use column names that differ. This will avoid ambiguity when using Q&A (natural language querying) once the Power BI Desktop file is published to the Power BI service. - Rename Additional ColumnsRename also the nine columns as shown in the screenshot (you can open the screenshot in a new, separate window).
- Review Applied StepsIn the Query Settings pane, notice the applied steps that define the logic to source and transform the query result.
Later in this exercise, you will combine the result of this query with another query to enable profit analysis. - Import Excel DataIn the Query Editor window, on the Home ribbon, from inside the New Query group, click the New Source dropdown, and then select Excel.
- Select Excel WorkbookIn the Open window, navigate to the D:\PowerBI\Lab02\Assets folder.
Select the ProductCost.xlsx file, and then click Open. - Select ProductCost WorksheetIn the Navigator dialog window, check the ProductCost worksheet.
- Review Excel DataReview the data in the preview pane.
The data represents the cost of each product. Product cost data is stored externally from the SQL Server sales database, and will be integrated with the Sales query to enable the calculation of profit. - Load QueryTo load the query, click OK.
In the Query Editor window, in the Query Settings pane, in the Applied Steps list, notice that four steps exist, applying default transformations to the Excel data. - Remove Product ColumnRemove the Product column.
The Product column is not required as this data has already been retrieved by the Sales query. - Combine QueriesIn the Queries pane (located at the left), select the Sales query.
On the Home ribbon, from inside the Combine group, click Merge Queries. - Configure Query MergeIn the Merge dialog window, in the data grid, select the Product SKU column header.
In the dropdown list, select the ProductCost query.
In the lower data grid, select the SKU column header. - Configure Privacy LevelsIn the Privacy Levels dialog window, for the powerbi data connection, in the adjacent dropdown list, select Organizational.
Configure the privacy level for the d:\ file location to Organizational also.
As it now stands, the Sales query can be combined with the ProductCost query.A privacy level specify an isolation level that defines the degree that one data source will be isolated from other data sources. An Organizational data source limits the visibility of a data source to a trusted group of people, and includes other organizational data sources. - Save Privacy LevelsIn the Privacy Levels dialog window, click Save.
- Review Matched RowsLocated at the bottom-left corner of the Merge dialog window, notice that all rows have matched.
Click OK. - Add ProductCost ColumnIn the data pane, at the end of the columns, notice the addition of a new column named NewColumn.
Expand the NewColumn column to include only the ProductCost column. - Multiply Two ColumnsTo calculate the cost of each sales order, first select the Quantity column header, and the while pressing the Control key, select the ProductCost column header.
On the Add Column ribbon, from inside the From Number group, click Standard, and then select Multiply. - Rename Multiply ColumnRename the Inserted Multiplication column (last column) as Cost.
- Remove ProductCost ColumnRemove the ProductCost column.
- Importing Additional SQL Server DataOn the Home ribbon, from inside the New Query group, click Recent Sources, and then select POWERBI: TailspinToys-US.
- Select the Region TableIn the Navigator dialog window, check the Region table.
- Review SQL Server DataReview the data in the preview pane.
The data represents all sales regions, and this data will used to add a query that will support a many-to-many relationship between sales managers (who can be jointly responsible for multiple sales regions) and sales. The manager data will be loaded later in this exercise. - Load SQL Server QueryTo load the query, click OK.
- Remove ColumnsRight-click the RegionName column header, and then select Remove Other Columns.
- Rename ColumnRename the RegionName column as Region Name.
- Importing CSV DataIn the Query Editor window, on the Home ribbon, from inside the New Query group, click the New Source dropdown, and then select CSV.
- Connect to CSV FileIn the Open window, navigate to the D:\PowerBI\Lab02\Assets folder.
Select the Manager.csv file, and then click Open.
The data represents sales managers and their assignment to one, or possibly more, sales regions. - Review CSV File StructureIn the Manager.csv dialog window, notice that the first data row contains the column names.
You will promote these row values as column names in the next task.
Click OK. - Promote First Rows to HeadersTo promote the first row values as column headers, on the Home ribbon, from inside the Transform group, click Use First Row as Headers.
- Rename ColumnsRename the columns as Region Name, and Manager Name.
Notice that some sales managers have two regions assigned, for example Ananya Kumar is assigned to both the Midwest and Southern sales regions.Analyzing sales statistics by sales manager will be achieved by a many-to-many relationship that you will configure in the next exercise. - Create Blank QueryIn the Query Editor window, on the Home ribbon, from inside the New Query group, click the New Source dropdown, and then select Blank Query.
- Set Query NameIn the Query Editor window, in the Query Settings pane, in the Name box, replace the text with DateFunction, and then press Enter.
- Open Advanced EditorTo define the query, on the Home ribbon, from inside the Query group, click Advanced Editor.
- Remove Existing QueryIn the Advanced Editor window, to remove all text from inside the query box, click inside the box, press Control+A, and then press the Delete key.
- Open Query ScriptUse Notepad to open the D:\PowerBI\Lab02\Assets\DateFunctionScript.txt file, and then copy-and-paste the entire content inside the query box.
Click Done.The script defines a function that accepts start and end dates, and an optional culture. When invoked, this function will produce a query result defining date data.
The script has been adapted from a blog post published by Matt Masson titled Creating a Date Dimension with a Power Query Script. - Enter Parameter ValuesIn the Enter Parameters region, enter the values as shown in the screenshot.The date values must be entered in US format (mm/dd/yyyy) as the lab virtual machine regional settings are set to United States.The culture value can be set to any valid culture (e.g. fr, fr-FR, es-ES, etc.) and is used to produce localized month names. You may enter the culture code for your region. Culture names are documented at MSDN within the National Language Support (NLS) API Reference.
- Invoke FunctionTo invoke the function, click Invoke.
- Rename QueryRename the new query as Date.
- Verify QueriesVerify that you now have defined six queries, as shown in the screenshot.
- Close Query EditorTo close the Query Editor window, on the File menu, select Close.
In Power BI Desktop, notice the warning describing that the new queries have not been applied. - Apply ChangesClick Apply Changes.
Applying changes will load data and detect relationships. Data will only be loaded if the data has not already been loaded, or a query definition has been changed.
In this exercise, you created five Power BI Desktop queries. Four queries sourced data from SQL Server, an Excel workbook and a CSV file. A fifth query generated date data without requiring a data source.
Click Continue to proceed to the next exercise.
Click Continue to proceed to the next exercise.
Exercise 2 : Prepare Model for Reporting
In this exercise, you will configure the model relationships to connect all five queries, hide tables and columns that are not appropriate to use in reports. In addition, you will sort columns, and create a calculated column and two measures to enable profit analysis.
- Switch to Relationship ViewTo switch to Relationships view, at the left side, click Relationships.
Notice that two relationships were automatically detected and created.Relationships can be automatically detected when column names match, and also their data types. The two relationships enable many-to-many analysis between sales managers and sales. - Arrange TablesResize and reposition the tables to enable a clearer understanding of the model as shown in the screenshot.
- Create RelationshipTo create a relationship between the Sales and Date tables, from inside the Sales table, drag the OrderDate column, and then drop it onto the Date column of the Date table.
Tip: It is a good practice to drag from the many-side to the one-side. - Review RelationshipNotice the addition of the relationship line, and the indicators describing the many side (*), one side (1), and the cross filter direction.
The cross filter direction describes how filters are propagated. In this case, a filter applied to the Date table, for example for a particular year, would filter the rows in the Sales table with an order date in that year. - Review Autodetected RelationshipsNotice then, that the automatically detected relationships between the Sales, Region and Manager tables, define a many-to-many relationship, with the Region table as the intermediary table, and with cross-filters defined in both directions.
- Review Table InformationIn the Date table, notice that four columns are adorned with the sigma ( ∑ ) symbol.
These four columns contain numeric data, and the symbol means that the column values may be summarized in reports.As these four columns contain key values used to configure the chronological sorting of date label columns, it is not appropriate for these columns to be available for users to access. These columns will be hidden later in this exercise. - Switch to Data ViewSwitch to Data view.
Notice the Fields pane (located at the right), which allows the selection of a table to view its data. - Expand Date TableIn the Fields pane, expand the Date table.
In the Date table, notice the four “key” fields.
The “key” fields enable sorting related fields in the table. It is not appropriate that these fields are used in reports, and so each will be hidden. - Hide ColumnsFrom inside the Date table, right-click the DateKey field, and then select Hide in Report View.
Repeat the last step to hide the remaining three visible “key” fields in the Date table. - Review Hidden ColumnsIn the Fields pane and the data grid, notice that the header text of the hidden columns is now displayed differently.
- Hide Additional ColumnsExpand the Sales table, and then hide the OrderDate and Region Name fields.
These fields can be hidden as they are available in related tables. - Hide TablesTo hide the ProductCost table, right-click the table, and then select Hide in Report View.
Hide also the Region table. - Switch to Relationships ViewSwitch to Relationships view, and notice that hidden tables and fields are grayed out.
Tip: It is also possible to hide tables and columns in Relationships view by right-clicking a table or column. - Verify Relationship DiagramVerify that the relationship diagram matches the screenshot.
- Switch to Data ViewSwitch back to Data view.
- Sort Date ColumnIn the Fields pane, from inside the Date table, select the Day field.
On the Modeling ribbon, from inside the Sort group, click the Sort by Column, and then select DateKey. - Sort Month ColumnSort the Month column by the MonthKey column.
It is not necessary to configure the sort column for the Quarter and Year columns, as the text sort order is the same as the chronological sort order. - Review Default SummarizationIn the Fields pane, from inside the Sales table, select the Quantity field.
On the Modeling ribbon, from inside the Properties group, in the Default Summarization dropdown list, notice that Sum is selected.When the query was imported into the model, numeric columns were configured to summarize by default. The Sum function is the most commonly used function to summarize numeric values. This property is the default, and it is possible in the report design for a user to switch to a different summarization function. - Set Unit Price SummarizationIn the Fields pane, from inside the Sales table, select the Unit Price field.
Set the Default Summarization property to Average.It does not make sense to sum rates like unit prices, and so the updated default summarization will now provide a meaningful aggregation, i.e. the average of unit prices.
Default summarization can be set for numeric, date and text fields, with the latter two types only allowing count summarization. - Configure Column CategorizationIn the Fields pane, from inside the Sales table, select the State Name field.
On the Modeling ribbon, from inside the Properties group, in the Data Category dropdown list, select State or Province.
This configuration will enable default spatial reporting by using map visualizations. - Review State Name FieldIn the Fields pane, notice that the State Name field is now adorned with the spatial icon.
- Create Calculated ColumnIn the Fields pane, right-click the Sales table, and then select New Column.
Notice that the focus is set to the formula bar, and that the column name defaults to Column, and is selected.
Tip: You can also create calculations by using the ribbon commands. - Rename Calculated ColumnTo rename the column, replace the text Column with Revenue.
- Enter Calculated Column FormulaOn the right side of the equals sign, use the assistance of IntelliSense to enter this DAX formula: [Quantity] * [Unit Price]
Tip: For your convenience, you can also click to the right of the equals sign, and then click Type Text.Press Enter.This column could also have been implemented as a new column in a query, as either approach produces the same outcome. The appropriate approach will often be determined by the skillset of the analyst, and whether the M language (used by queries) or DAX (used for model calculations) best achieves the requirement.[Quantity] * [Unit Price]
- Review Calculated ColumnIn the Fields pane, notice the addition of the new field.
- Format Calculated ColumnTo format the column, in the Fields pane, ensure that the Revenue field is selected.
On the Modeling ribbon, from inside the Formatting group, configure the format properties based on the screenshot.Note: If the formatting controls are not enabled, in the Field list, select another field, and then select the Revenue field.For consistency in this lab, you will configure all monetary amounts with the same formatting settings. - Format Quantity ColumnFormat the Quantity column with the thousands separator.
- Format Unit Price ColumnSet the format for the Unit Price column to Decimal Number, with the thousands separator and two decimal places.
- Format Cost ColumnFormat the Cost column as a whole number and with the thousands separator.
- Create Profit MeasureIn the Fields pane, right-click the Sales table, and then select New Measure.
In the formula bar, replace the text Measure with Profit. - Enter Profit Measure FormulaOn the right side of the equals sign, enter this DAX formula: SUM(Sales[Revenue]) - SUM(Sales[Cost])
Tip: For your convenience, you can click to the right of the equals sign, and then click Type Text.
Press Enter.Unlike calculated columns, measures involve the aggregation of values in columns. Also, unlike calculated columns, measures do not store their results in the model.SUM(Sales[Revenue]) - SUM(Sales[Cost])
- Format Profit MeasureFormat the Profit measure as a whole number and with the thousands separator.
- Create Profitability MeasureAdd a second measure to the Sales table named Profitability.
- Enter Profitability Measure FormulaOn the right side of the equals sign, enter this DAX formula: DIVIDE([Profit], SUM(Sales[Revenue]))
Tip: For your convenience, you can click to the right of the equals sign, and then click Type Text.
Press Enter.The DIVIDE() function divides two expressions, providing that the second argument results in a non-zero number. If the second argument results in zero or blank (missing), then the function will return blank.DIVIDE([Profit], SUM(Sales[Revenue]))
- Format Profitability MeasureFormat the new measure as Percentage and two decimal places.
- Review Sales TableSwitch to Relationships view, and in the Sales table, notice that the three calculations are adorned with different icons.
In this exercise, you configured the model relationships to connect all five queries, hid tables and columns that were not appropriate to use in reports. In addition, you sorted columns, and created a calculated column and two measures to enable profit analysis.
Click Continue to proceed to the next exercise.
Click Continue to proceed to the next exercise.
Exercise 3 : Create Report Pages
In this exercise, you will create two report pages. The first report page will consist of five visualizations to report on and analyze regional sales and profitability. The second report page will use an imported custom visual to analyze revenue by manager and sales region.
- Preview Report PageIn the following tasks of this exercise, you will create the report page as shown in the screenshot.
- Review Report CanvasSwitch to Report view.
In the Fields pane, notice that only three tables are available.
In Report view, only visible tables and fields are available for use in reports. - Locate Page Navigation ControlAt the bottom left corner, notice the page navigation control.
- Rename PageTo rename the page, double-click Page 1.
Replace the text with Summary, and then press Enter.
A report can consist of multiple pages. You will develop two report pages in this lab. - Insert ImageTo insert an image, on the Home ribbon, from inside the Insert group, click Image.
In the Open window, select the D:\PowerBI\Lab02\Assets\TailspinToysLogo.png file, and then click Open.
Tip: For your convenience, you can click inside the File Name box, and then click Type Text.If your intention is to pin this image to a Power BI dashboard, for best results use a rectangular image with a 13:9 aspect ratio, or a white background. If the image is not exactly of a 13:9 ratio, Power BI will add white padding around the edges as needed.D:\PowerBI\Lab02\Assets\TailspinToysLogo.png
- Arrange ImageTo resize the image, ensure that it is selected to reveal the border guides.
Drag the border guides to resize the image to create a smaller sized tile, and then reposition it as shown in the screenshot. - Insert Text BoxTo insert a text box, on the Home ribbon, from inside the Insert group, click Text Box.
Inside the text box, enter US Sales Analysis. - Arrange Text BoxSelect the entire text, and then use the text format bar to increase the font size to 60.
Resize the text box to a smaller size, and then reposition it as shown in the screenshot. - Create VisualizationTo create a visual based on a field, in the Fields pane, expand the Date table, and then drag the Year field and drop it on a blank area of the canvas.
Notice that the field was used to create a table visual. - Switch to SlicerTo switch the visual to a slicer, in the Visualizations pane, click the Slicer icon.
Tip: Hovering over a visualization type icon will reveal a tooltip that describes the visualization type. - Arrange SlicerResize the slicer, and then reposition it as shown in the screenshot.
- Apply Slicer FilterIn the slicer, select CY2015.
All data visualizations on the page will now be filtered by CY2015. - Create Additional VisualizationIn the Fields pane, from inside the Sales table, drag the Revenue field and drop it on a blank area of the canvas.
Resize and then reposition the visualization as shown in the screenshot. - Add Additional FieldsDrag and drop the following two fields inside the chart visual:
- Sales | Cost- Date | Month - Review Sort OrderOn the horizontal axis, notice that the columns are sorted in descending revenue order.
- Modify Sort OrderTo modify the sort order, first click the ellipsis located at the top-right corner of the visualization.
Select Sort by Month.
To sort by month ascending, click the ellipsis again, and then click Sort by Month again. - Switch to Clustered Column ChartModify the visual to Line and Clustered Column Chart.
- Add Profitability FieldIn the Fields pane, from inside the Sales table, drag the Profitability field and drop it in the Visualizations pane, inside the Line Values well.
- Format ChartTo modify the visualization style, switch to Format view, and then expand Data Colors.
Select appropriate colors for the three fields (suggesting dark gray for Profitability, blue for Revenue, and purple for Cost). - Verify Chart FormatVerify that the visualization matches the screenshot.
- Review Chart ScalesNotice the different values and scales on the left and right sides of the chart.
- Create TableIn the Fields pane, from inside the Manager table, drag the Region Name field and drop it on a blank area of the canvas.
Add the Unit Price field to the new visualization.
Resize and then reposition the visualization as shown in the screenshot. - Verify Table DesignVerify that the table matches the screenshot.
Notice that the Unit Price values, including the total, are average prices.
The unit price values are average summaries because you configured the default summarization in the previous exercise. - Remove Unit Price ColumnTo remove the Unit Price column, in the Values well, for the Unit Price field, click X.
- Add Revenue FieldAdd the Revenue field to the table.
To sort the table rows by descending revenue, click the Revenue column header. - Verify Table DesignVerify that the table matches the screenshot.
- Create Second TableRepeat the steps in this task to create a second table to display revenue, but this time by using the Manager Name field.
Tip: It is possible to copy and paste a visualization, and then modify the settings of the copy.
Resize and then reposition the visualization as shown in the screenshot. - Sort TableSort the table by descending revenue.
Verify that the table matches the screenshot.
At a glance, notice that the sum of the individual manager revenue values easily exceeds the $42.27M table total.The many-to-many relationship results in duplication of revenue values, as multiple managers are assigned to a single region. The total of second table is correct, as can be verified against the total of the first table. - Create Fill MapIn the Fields pane, from inside the Sales table, create a new visualization based on the State Name field.
Resize and then reposition the visualization as shown in the screenshot. - Add Profitability FieldDrag the Profitability field and drop it into the map, and notice that it is added to the Size well.
- Modify Visualization to Fill MapModify the visualization to Filled Map.
- Filter Fill MapTo display only the contiguous US states, in the Filters section, click State Name (All) to expand the filter list.
Check Select All, and then uncheck Alaska and Hawaii. - Verify Fill Map DesignVerify that the fill map matches the screenshot.
- Verify Report DesignVerify that the report page matches the screenshot.
- Filter Page by YearIn the slicer, select CY2016.
- Filter Page by MonthTo filter by a particular month, in the combo chart, hover the cursor over any one of the Revenue columns, and then take note of the value.
Click the column, and notice that all of the report page visualizations filter by that month. (You can verify this by comparing the table totals to the noted value.) - Clear Month FilterTo clear the month filter, click in a blank area of the combo chart.
- Review State ProfitabilityTo determine the profitability for California, hover the cursor over the state, and read the informative tooltip.
- Filter Page by StateClick California, and notice that all of the report page visualizations filter by that state.
- Clear State FilterTo clear the filter, either click California again, or click outside a state region on the map.
- Create New Report PageTo add a report page, click the New Page command.
- Preview Report PageIn the following tasks of this exercise, you will create the report page as shown in the screenshot.
- Rename Report PageRename the new report page to Regional Product Item Sales.
Tip: For your convenience, you can select the text of new page name, and then click Type Text.Regional Product Item Sales
- Copy Existing SlicerTo add a slicer, return to the Summary report page, and then select the Year slicer.
On the Home ribbon, from inside the Clipboard group, click Copy. - Paste SlicerReturn to the Regional Product Item Sales report page, and then on the Home ribbon, from inside the Clipboard group, click Paste.
- Arrange SlicerReposition the visual as shown in the screenshot.
- Open Internet ExplorerTo open Internet Explorer, on the taskbar, right-click the Internet Explorer program shortcut.
- Browse to Visuals GalleryYou will now download a custom visual.
In Internet Explorer, navigate to https://app.powerbi.com/visuals.
Tip: You can also use the Power BI Visuals Gallery Internet Explorer favorite.The Visuals Gallery allows discovering and downloading visuals created by the Power BI community. You can download and use these visuals in Power BI Desktop solutions. You can even submit one of your own for others to use. - Select Chord VisualLocate, and then select the Chord visual.
- Download VisualIn the dialog window, review the description, and then click Download Visual.
When prompted, if you agree with the terms of use, click I Agree.
When prompted by Internet Explorer to download the visual, save the visual to the D:\PowerBI\Lab02 folder. - Return to Power BI DesktopReturn to Power BI Desktop.
- Import Custom VisualIn the Visualizations pane, click the ellipsis, and then select Import a Custom Visual.
- Open Custom VisualIn the dialog window, click Import.
In the Open window, navigate to the D:\PowerBI\Lab02 folder, select the downloaded visual file, and then select Open.
When the visual is successfully imported, click OK. - Verify Visual ImportVerify that the visual has been added to the Visualizations pane.
- Add Chord VisualTo add a chord visual to the report page, first ensure that the slicer is not selected, and then in the Visualizations pane, click the Chord visual.
Resize and then reposition the visual as shown in the screenshot. - Configure Chord VisualFrom the Fields pane, from inside the Sales table, drag the Product Item Group field into the chord visual.
From inside the Manager table, drag the Region Name field into the chord visual.
Ignore the error which will soon be resolved in the next task when a field is added to the Values well. - Add Revenue FieldFrom inside the Sales table, drag the Revenue field into the chord visual.
- Verify Page LayoutVerify that the report page matches the screenshot.
- Interact with Report PageModify the slicer values, and notice how the chord animates to reflect updated values.
Hover the cursor over the circle segments (representing total value) and also the chords, to reveal informative tooltips. - Save Power BI DesktopTo save the file, click the File tab, and then select Save.
In this exercise, you created two report pages. The first report page consisted of five visualizations to report on and analyze regional sales and profitability. The second report page used an imported custom visual to analyze revenue by manager and sales region.
Click Continue to complete the lab.
Click Continue to complete the lab.
4 comments:
I read this it's really good and I have learn something from this blog, please keep share more content on MSBI Online Training Hyderabad
Informative blog and it was up to the point describing the information very effectively. Thanks to blog author for a wonderful and informative post...
Microsoft Power BI Online Training
Wow, that is a very good article.
Power BI Training In Hyderabad
Power BI Training
Power BI Online Training
Power BI Training Online
Nice blog,Thanks for sharing.
Power Bi Online Training
Power Bi Online Training in usa
power Bi Online Training in Uk
best Power Bi Online Training
Power Bi Online Training with job Support
Post a Comment