- Get data from a text file.
- Get data from an Excel workbook.
- Merge queries.
- Add a custom column in Power Query.
- Get data in Power Pivot from Microsoft Access.
- Create a measure and a KPI in a Power Pivot table.
- Use the data model to create a PivotTable.
- Create and format PivotTables.
- Build a dashboard.
- Create a new workbook and save it as [your initials] Excel 10-1.
- Get data from a text file.
- Click the From Text/CSV button [Data tab, Get & Transform Data group].
- Find and select txtWearEver-10.txt from your student data files and click Import. The Navigator displays the file name and previews the data.
- Click Transform Data to launch Power Query. The query displays all columns. Handbag products display “null” in the Size column.
- Click the Close & Load button [Home tab, Close group]. In the Excel table “null” displays as a blank cell.
- Name the sheet txtWearEver-10 if necessary. (The sheet is named automatically in subscription versions of Excel.)
- Get data from an Excel workbook.
- Click the Get Data button [Data tab, Get & Transform Data group], choose From File, and From Workbook.
- Find and select the WearEver-10 workbook from your student data files and click Import. The Navigator displays the sheet name and the table name.
- Click Current Stock. The preview includes two label rows at the top, and the icon replicates a worksheet tab.
- Click Inventory. This is the named table in the workbook.
- Click Transform Data to launch Power Query. This adds the table to the data model. (Click Refresh if prompted.)
- Click the Close & Load button [Home tab, Close group].
- Name the sheet Inventory if necessary. The Queries & Connections pane shows both data source names.
- Merge queries into a new query.
- Point to the Inventory name in the Queries & Connections pane to display the pop-up window.
- Click Edit to return to Power Query.
- Expand the Navigator Pane if necessary to see both query names.
- Click the Merge Queries drop-down arrow [Home tab, Combine group] and select Merge Queries as New (Figure 10-66).
- Verify or select Inventory as the table name in the top entry box.
- Click the Product ID column.
- Click the drop-down list for the second entry box and choose txtWearEver-10.
- Select its Product ID column as the matching field. The text file is a list of orders.
- Click the drop-down list for Join Kind and choose Right Outer. A right outer join displays all the records from the orders list and matches each to a corresponding record in the inventory data.
- Click OK. The new query is named Merge1.
- Manipulate data in a query.
- Scroll the window to see the txtWearEver-10 column heading at the right.
- Click the Expand/Aggregate button for the heading, confirm that all field names are selected, that the Expand button is selected, and click OK (Figure 10-67).
- Select the Product ID, Product, Color, Size, and Retail fields that are prefaced with txtWearEver.
- Click the Remove Columns button [Home tab, Manage Columns group]. The Date and Sold columns remain.
- Add a custom column in a query.
- Click the Custom Column button [Add Column tab, General group].
- Type Revenue as the New column name.
- Click after the = sign in the Custom column formula box.
- Double-click Retail in the Available columns list, type * to multiply, double-click txtWearEver-10.Sold in the Available columns list, and click OK (Figure 10-68).
- Click the Close & Load button [Home tab, Close group]. The new sheet displays in the workbook.
- Name the sheet Merge1 if necessary.
- Build a PivotTable from the merged query.
- Select cell A2 on the Merge1 sheet and click the Summarize with PivotTable button [Table Design tab, Tools group].
- Verify that the range is Merge1 and that New Worksheet is selected.
- Select the Add this data to the Data Model box and click OK. A blank PivotTable layout displays.
- Display the PivotTable Fields pane if necessary and expand the Merge1 field list.
- Select the Product ID, Product, txtWearEver-10.Sold, and Revenue boxes in that order.
- Format a PivotTable.
- Select cell B3 and change the label to Pairs/Items Sold.
- Change the label in cell C3 to Revenue.
- Select cell C3 and click the Field Settings button [PivotTable Analyze tab, Active Field group].
- Format the values as Currency with two decimal places.
- Click the Report Layout button [Design tab, Layout group] and choose Show in Compact Form. (If your report is already in compact form, you will not see a change.)
- Place the Product field before the Product ID field in the Rows area (Figure 10-69).
- Click the PivotTable Name box [PivotTable Analyze tab, PivotTable group] and name the PivotTable as pvtRevenue.
- Name the worksheet as RevPivot.
- Get Microsoft Access data in a Power Pivot table.
- Click the Manage Data Model button [Data tab, Data Tools group] to start Power Pivot. (The ScreenTip for the button is Go to the Power Pivot Window. Click Enable if prompted to install the add-in). The Merge1 query displays in the data model.
- Click the From Database button [Home tab, Get External Data group] in the Power Pivot window and select From Access. The Table Import Wizard starts.
- Click Browse, find and select Database-10 from your student data files, and click Open. The database name and file path display.
- Click Next in the Table Import Wizard dialog box (Figure 10-70).
- Verify or choose the Select from a list of tables and views to choose the data to import button and click Next.
- Select the box for tblSurvey and click Finish. There are 36 records in tblSurvey.
- Click Close in the Success box. The table displays on its own tab and is added to the data model.
- Create a calculated column in Power Pivot.
- Click the first blank cell below the Add Column header.
- Type =( to start a formula and insert the left parenthesis in the Formula bar.
- Click the first value in the “Comfort” column to insert its reference in the formula.
- Type + for addition.
- Click the first value in the “Fit” column and type + for addition.
- Click the first value in the “Style” column.
- Type )/3 to insert the closing parenthesis, a division symbol, and “3” to calculate an average of the three characteristics. The DAX expression displays in the Formula bar (Figure 10-71).
- Press Enter to complete the column.
- Double-click the Calculated Column 1 header; it should be highlighted in blue.
- Type Average Rating and press Enter.
- Create a measure and a KPI in Power Pivot.
- Select the Average Rating column if necessary.
- Click the AutoSum drop-down arrow [Home tab, Calculations group] and choose Max. The measure appears below the “Average Rating” column and calculates the maximum average (9.666666…), which is the value in row 36.
- Scroll the window to see row 36 and point to the measure to see its value in the ScreenTip.
- Select the Maximum of Average Rating measure at the bottom of the column.
- Click the Create KPI button [Home tab, Calculations group].
- Click the Absolute value button and enter 10 in the box and press Tab. A value of 10 is the highest possible rating for WearEver products.
- Select the second icon set, three ellipses with an X, an exclamation point, and a check mark.
- Drag the high range marker to a value of 7.5 or type 7.5 in the entry box (Figure 10-72).
- Click OK. A KPI icon displays with the Maximum of Average Rating measure at the bottom of the column.
- Select the first cell in the “Order ID” column.
- Create a PivotTable from the data model.
- Click the PivotTable button [Home tab].
- Select New Worksheet and click OK. A blank PivotTable layout displays in the workbook.
- Display the PivotTable Fields pane if necessary.
- Expand the Inventory field list in the PivotTable Fields pane.
- Select the Retail box. A single result cell displays in the PivotTable.
- Create a relationship in a PivotTable.
- Expand the tblSurvey field list and select the Order ID box. The table expands but the data is inaccurate.
- Click the Auto-Detect button. No relationship is detected because the common field names (Product ID and Order ID) do not match (Figure 10-73).
- Select Manage Relationships in the message box and click New.
- Click the drop-down list for Table and choose Data Model Table: Inventory.
- Click the drop-down list for Column: (Foreign) and choose Product ID.
- Click the drop-down list for Related Table and choose Data Model Table: tblSurvey.
- Click the drop-down list for Related Column: (Primary) and choose Order ID. The field names are different but the data type and content matches (Figure 10-74).
- Click OK and then click Close. The Retail column refreshes and displays accurate data.
- Edit data in a PivotTable.
- Expand the tblSurvey list in the PivotTable Fields pane and add the Comfort, Fit, and Style fields to the PivotTable.
- Select cell C3 and change the heading to Retail.
- Edit each heading in cells D3, E3, and F3 to delete “Sum of.”
- Place a KPI in a PivotTable.
- Expand the tblSurvey field list in the PivotTable Fields pane if necessary.
- Click the Maximum of Average Rating KPI line to expand its options.
- Select the Status box to display the icons in the PivotTable. Note that the calculated field in Power Pivot named Average Rating is not displayed in the PivotTable; it is used to build the measure and its KPI. (If you see values instead of icons, deselect the Status box in the PivotTable Fields pane and select it again.)
- Edit the label in cell G3 to Our Measure.
- Select column G, apply Center alignment, and AutoFit the column.
- Format and filter the PivotTable.
- Click the Grand Totals button [Design tab, Layout group] and choose Off for Rows and Columns.
- Right-click Retail in cell C3 and select Value Field Settings.
- Format the values as Currency with two decimal positions.
- Adjust the zoom size or scroll the window so that you can see rows 40:50.
- Click the Row Labels drop-down list. Because handbag products were not included in the satisfaction survey, the data is aggregated or grouped as (blank) at the bottom of the column. (If you do not see Row Labels, click the Report Layout button [Design tab, Layout group] and choose Show in Compact Form.)
- Scroll to the bottom of the list, deselect the (blank) box, and click OK (Figure 10-75).
- Click the Select button [PivotTable Analyze tab, Actions group] and choose Entire PivotTable.
- Apply All Borders (Figure 10-76).
- Select a cell in the PivotTable and click the PivotTable Name box [PivotTable Analyze tab, PivotTable group].
- Name the table pvtKPI.
- Rename the worksheet as KPI_Pivot.
- Copy PivotTables to a dashboard sheet.
- Insert a new sheet and name it Dashboard.
- Select the RevPivot worksheet tab and click cell A3.
- Click the Select button [PivotTable Analyze tab, Actions group] and choose Entire PivotTable.
- Press Ctrl+C to copy and click the Dashboard sheet tab.
- Select cell B4 and press Ctrl+V.
- Select cell F4 and press Ctrl+V again.
- Select cell B4 and name the PivotTable as pvtRev.
- Select cell F4 and name the PivotTable as pvtTotals.
- Display the PivotTable Fields pane for pvtTotals if necessary.
- Expand the Merge1 field list and deselect the boxes for Product ID and txtWearEver-10.Sold.
- Format PivotTables on a dashboard.
- Apply White, PivotStyle Light 1 to pvtTotals.
- Apply All Borders to pvtTotals.
- Apply the same style and borders to pvtRev.
- AutoFit columns B:C.
- Click a cell in pvtRev. Do not show Grand Totals or Subtotals [Design tab, Layout group].
- Insert and connect a slicer on a dashboard.
- Set the width of column A to 30.
- Click cell B4 and click the Insert Slicer button [PivotTable Analyze tab, Filter group].
- Select the Product box in the Merge1 list and click OK.
- Position the slicer window to start in row 4 centered in the column as well as possible.
- Size the slicer window to display all items.
- Apply White, Slicer Style Dark 3.
- Click the Report Connections button [Slicer tab, Slicer group].
- Select the pvtTotals box and click OK.
- Click Chunky Heel Boots in the slicer window.
- Press Ctrl and click Monroe Tote in the slicer window.
- Complete labels for the dashboard.
- Select rows 1:2 and set the height to 40.
- Select cell A1 and type WearEver Accessories.
- Format the font as Calibri 36 pt. italic.
- Select cell A2 and type Last Period Sales Data.
- Format the font as Calibri 28 pt. italic.
- Insert a blank row at row 1 and a blank column at column A.
- Hide the Gridlines [View tab].
- Turn off the Formula Bar and the Headings displays.
- Save and close the workbook (Figure 10-77).
- Uninstall Power Pivot if instructed to do so.
- Select the Options command [File tab] and click Add-Ins in the left pane.
- Click the Manage drop-down list, choose COM Add-ins, and click Go.
- Deselect the Microsoft Power Pivot for Excel box and click OK.
Do you need help with this assignment or any other? We got you! Place your order and leave the rest to our experts.
