Chapter 6
Using pivot charts and other visualizations

In this chapter, you will:

What is a pivot chart…really?

When sharing your analyses with others, you will quickly find that there is no getting around the fact that people want charts. Pivot tables are nice, but they show a lot of pesky numbers that take time to absorb. Charts, on the other hand, enable users to make split-second determinations about what the data is actually revealing. Charts offer instant gratification, allowing users to immediately see relationships, point out differences, and observe trends. The bottom line is that managers today want to absorb data as fast as possible, and nothing delivers that capability faster than a chart. This is where pivot charts come into play. Whereas pivot tables offer the analytical, pivot charts offer the visual.

A common definition of a pivot chart is a graphical representation of the data in a pivot table. Although this definition is technically correct, it somehow misses the mark on what a pivot chart truly does.

When you create a standard chart from data that is not in a pivot table, you feed the chart a range made up of individual cells holding individual pieces of data. Each cell is an individual object with its own piece of data, so your chart treats each cell as an individual data point and thus charts each one separately.

However, the data in a pivot table is part of a larger object. The pieces of data you see inside a pivot table are not individual pieces of data that occupy individual cells. Rather, they are items inside a larger pivot table object that is occupying space on your worksheet.

When you create a chart from a pivot table, you are not feeding it individual pieces of data inside individual cells; you are feeding it the entire pivot table layout. Indeed, a pivot chart is a chart that uses a PivotLayout object to view and control the data in a pivot table.

Using the PivotLayout object allows you to interactively add, remove, filter, and refresh data fields inside a pivot chart just like in a pivot table. The result of all this action is a graphical representation of the data you see in a pivot table.

Creating a pivot chart

Based on the rather complicated definition just provided, you might get the impression that creating a pivot chart is difficult. The reality is that it’s quite a simple task, as you’ll see in this section.

The pivot table in Figure 6-1 provides for a simple view of revenue by market. The Business_Segment field in the report filter area lets you parse out revenue by line of business.

Note: The pivot table in Figure 6-1 is shown in Tabular layout. The Sum Of Sales_Amount heading in B3 has been replaced by typing Sales Amount in B3.

A pivot table with Market in the row area, Sales Amount in the Values area, and Business Segment in the Filter area. The report is currently filtered to (All).
FIGURE 6-1 This basic pivot table shows revenue by market and allows for filtering by line of business.

Creating a pivot chart from this data would not only allow for an instant view of the performance of each market but would also permit you to retain the ability to filter by line of business.

To start the process, place your cursor anywhere inside the pivot table and click the Insert tab on the ribbon. On the Insert tab, you can see the Charts group displaying the various types of charts you can create. Here, you can choose the chart type you would like to use for your pivot chart. For this example, click the Column chart icon and select the first 2-D column chart, as shown in Figure 6-2.

Select one cell in your pivot table and use the chart icons on the Insert tab.
FIGURE 6-2 Select the chart type you want to use.

Figure 6-3 shows the chart Excel creates after you choose a chart type.

The Market field from the rows area of the pivot table appears along the X-axis of the chart.
FIGURE 6-3 Excel creates your pivot chart on the same sheet as your pivot table.

Image Tip

Notice that pivot charts are now, by default, placed on the same sheet as the source pivot table. If you long for the days when pivot charts were located on their own chart sheets, you are in luck. All you have to do is place your cursor inside a pivot table and then press F11 to create a pivot chart on its own sheet.

You can easily change the location of a pivot chart by right-clicking the chart (outside the plot area) and selecting Move Chart. This activates the Move Chart dialog box, in which you can specify the new location.

You now have a chart that is a visual representation of your pivot table. More than that, because the pivot chart is tied to the underlying pivot table, changing the pivot table in any way changes the chart. For example, as Figure 6-4 illustrates, adding the Region field to the pivot table adds a region dimension to your chart.

With Region as a new outer row field, the chart is showing a hierarchy along the X-axis: both Region and Market are shown.
FIGURE 6-4 The pivot chart displays the same fields that the underlying pivot table displays.

Image Note

The pivot chart in Figure 6-4 does not display the subtotals shown in the pivot table. When creating a pivot chart, Excel ignores subtotals and grand totals.

In addition, filtering a business segment not only filters the pivot table, but also the pivot chart. All this behavior comes from the fact that pivot charts use the same pivot cache and pivot layout as their corresponding pivot tables. This means that if you add or remove data from the data source and refresh the pivot table, the pivot chart updates to reflect the changes.

Take a moment to think about the possibilities. You can essentially create a fairly robust interactive reporting tool on the power of one pivot table and one pivot chart—no programming necessary.

Understanding pivot field buttons

In Figure 6-4, notice the gray buttons and drop-downs on the pivot chart. These are called pivot field buttons. By using these buttons, you can dynamically rearrange the chart and apply filters to the underlying pivot table.

An Expand Entire Field (+) and Collapse Entire Field (-) buttons are automatically added to any pivot chart that contains nested fields. Figure 6-4 shows these buttons in the lower-right corner of the chart.

Clicking Collapse Entire Field (-) on the chart collapses the data series and aggregates the data points. For example, Figure 6-5 shows the same chart collapsed to the Region level. You can click Expand Entire Field (+) to drill back down to the Market level. These new buttons enable customers to interactively drill down or roll up the data shown in pivot charts.

Click the Collapse Entire Field button in the pivot chart and you will have a chart with only the four regions: West, Midwest, North, and South.
FIGURE 6-5 The new Expand Entire Field (+) and Collapse Entire Field (-) buttons allow for dynamic drill down and grouping of chart series.

Image Tip

Keep in mind that pivot field buttons are visible when you print a pivot table. If you aren’t too keen on showing the pivot field buttons directly on your pivot charts, you can remove them by clicking your chart and then selecting the Analyze tab. On the Analyze tab, you can use the Field Buttons drop-down menu to hide some or all of the pivot field buttons.

Image Tip

Did you know you can also use slicers with pivot charts? Simply click a pivot chart, select the Analyze tab, and then click the Insert Slicer icon to take advantage of all the benefits of slicers with your pivot chart!

Image Note

See “Using slicers” in Chapter 2, “Creating a basic pivot table,” to get a quick refresher on slicers.

Creating a Pivot Chart from Scratch

You don’t have to build a pivot table before creating a pivot chart. You can go straight from raw data to a pivot chart. Simply click any single cell in your data source and select the Insert tab. Look on the far-right side of the Charts group. Select the PivotChart drop-down menu and then choose PivotChart. This activates the Create PivotChart dialog box. At this point, you go through the same steps you would take if you were building a pivot table.

Image Note

In Chapter 9, “Using cube formulas with the Data Model or OLAP data,” you will find out how to create pivot charts that are completely de coupled from any pivot table.

Keeping pivot chart rules in mind

As with other aspects of pivot table technology, pivot charts come with their own set of rules and limitations. The following sections give you a better understanding of the boundaries and restrictions of pivot charts.

Changes in the underlying pivot table affect a pivot chart

The primary rule you should always be cognizant of is that a pivot chart that is based on a pivot table is merely an extension of the pivot table. If you refresh, move a field, add a field, remove a field, hide a data item, show a data item, or apply a filter, the pivot chart reflects your changes.

Placement of data fields in a pivot table might not be best suited for a pivot chart

One common mistake people make when using pivot charts is assuming that Excel places the values in the column area of the pivot table in the x-axis of the pivot chart.

For instance, the pivot table in Figure 6-6 is in a format that is easy to read and comprehend. The structure chosen shows Sales_Period in the column area and Region in the row area. This structure works fine in the pivot table view.

Sales periods stretch across the top of this report, with regions down the side.
FIGURE 6-6 The placement of the data fields works for a pivot table view.

Suppose you decide to create a pivot chart from this pivot table. You would instinctively expect to see fiscal periods across the x-axis and lines of business along the y-axis. However, as you can see in Figure 6-7, the pivot chart comes out with Region on the x-axis and Sales_Period on the y-axis.

Instead of showing sales periods going across, this chart has the sales periods in the legend area.
FIGURE 6-7 Creating a pivot chart from your nicely structured pivot table does not yield the results you were expecting.

So why does the structure in the pivot table not translate to a clean pivot chart? The answer has to do with the way pivot charts handle the different areas of a pivot table.

In a pivot chart, both the x-axis and y-axis correspond to specific areas in your pivot table:

  • y-axis—Corresponds to the column area in a pivot table and makes up the y-axis of a pivot chart.

  • x-axis—Corresponds to the row area in a pivot table and makes up the x-axis of a pivot chart.

Given this information, look again at the pivot table in Figure 6-6. This structure says that the Sales_Period field will be treated as the y-axis because it is in the column area. Meanwhile, the Region field will be treated as the x-axis because it is in the row area.

Now suppose you were to rearrange the pivot table to show fiscal periods in the row area and lines of business in the column area, as shown in Figure 6-8.

Rearrange the pivot table with periods in the row area and regions in the column area.
FIGURE 6-8 This format makes for slightly more difficult reading in a pivot table view but allows a pivot chart to give you the effect you are looking for.

This arrangement generates the pivot chart shown in Figure 6-9.

This figure shows a line chart with periods across the x-axis and four regions in the legend.
FIGURE 6-9 With the new arrangement in your pivot table, you get a pivot chart that makes sense.

A few formatting limitations still exist in Excel 2019

With versions of Excel prior to Excel 2007, many users avoided using pivot charts because of their many formatting limitations. These limitations included the inability to resize or move key components of the pivot chart, the loss of formatting when underlying pivot tables were changed, and the inability to use certain chart types. Because of these limitations, most users viewed pivot charts as being too clunky and impractical to use.

Over the last few versions of Excel, Microsoft introduced substantial improvements to the pivot chart functionality. Today, the pivot charts in Excel 2019 look and behave very much like standard charts. However, a few limitations persist in this version of Excel that you should keep in mind:

  • You still cannot use XY (scatter) charts, bubble charts, stock charts, and custom visuals when creating a pivot chart. This includes the new sunburst and waterfall chart types introduced in Excel 2016.

  • Applied trend lines can be lost when you add or remove fields in the underlying pivot table.

  • The chart titles in the pivot chart cannot be resized.

Image Tip

Although you cannot resize the chart titles in a pivot chart, you can make the font bigger or smaller to indirectly resize a chart title. Alternatively, you can opt to create your own chart title by simply adding a text box that will serve as the title for your chart. To add a text box, select the Text Box command on the Insert tab and then click on your pivot chart. The resulting text box will be fully customizable to suit your needs.

Examining alternatives to using pivot charts

There are generally two reasons you would need an alternative to using pivot charts:

  • You do not want the overhead that comes with a pivot chart.

  • You want to avoid some of the formatting limitations of pivot charts.

In fact, sometimes you might create a pivot table simply to summarize and shape data in preparation for charting. In these situations, you don’t plan on keeping the source data, and you definitely don’t want a pivot cache taking up memory and file space.

The example in Figure 6-17 shows a pivot table that summarizes revenue by quarter for each product.

Products down the side, and quarters across the top.
FIGURE 6-17 This pivot table was created to summarize and chart revenue by quarter for each product.

Keep in mind that you need this pivot table only to summarize and shape data for charting. You don’t want to keep the source data, nor do you want to keep the pivot table, with all its overhead.

Image Caution

If you try to create a chart using the data in the pivot table, you’ll inevitably create a pivot chart. This effectively means you have all the overhead of the pivot table looming in the background. Of course, this could be problematic if you do not want to share your source data with end users or if you don’t want to inundate them with unnecessarily large files.

The good news is you can use a few simple techniques to create a chart from a pivot table but not end up with a pivot chart. Any one of the following four methods does the trick:

  • Turn the pivot table into hard values.

  • Delete the underlying pivot table.

  • Distribute a picture of the pivot table.

  • Use cells linked back to the pivot table as the source data for the chart.

Details about how to use each of these methods are discussed in the next sections.

Method 1: Turn the pivot table into hard values

After you have created and structured a pivot table appropriately, select the entire pivot table and copy it. Then select Paste Values from the Insert tab, as demonstrated in Figure 6-18. This action essentially deletes your pivot table, leaving you with the last values that were displayed in the pivot table. You can subsequently use these values to create a standard chart.

Image Note

This technique effectively disables the dynamic functionality of your pivot chart—that is, the pivot chart becomes a standard chart that cannot be interactively filtered or refreshed. This is also true with method 2 and method 3, which are outlined in the following sections.

The bottom half of the Paste icon on the Home tab is a drop-down menu. Paste Values is the first icon in the third row.
FIGURE 6-18 The Paste Values functionality is useful when you want to create hard-coded values from pivot tables.

Method 2: Delete the underlying pivot table

If you have already created a pivot chart, you can turn it into a standard chart by simply deleting the underlying pivot table. To do this, select the entire pivot table and press the Delete key on the keyboard. Keep in mind that with this method, unlike with method 1, you are left with none of the values that made up the source data for the chart. In other words, if anyone asks for the data that feeds the chart, you will not have it.

Image Tip

Here is a handy tip to keep in the back of your mind: If you ever find yourself in a situation where you have a chart, but the data source is not available, activate the chart’s data table. One quick way is to select the chart, click the Plus icon at the top-right corner of the chart, and select Data Table. The data table lets you see the data values that feed each series in the chart.

Method 3: Distribute a picture of the pivot chart

Now, it might seem strange to distribute pictures of a pivot chart, but this is an entirely viable method of distributing your analysis without a lot of overhead. In addition to very small file sizes, you also get the added benefit of controlling what your clients can see.

To use this method, simply copy a pivot chart by right-clicking the chart itself (outside the plot area) and selecting Copy. Then open a new workbook. Right-click anywhere in the new workbook, select Paste Special, and then select the picture format you prefer. A picture of your pivot chart is placed in the new workbook.

Image Caution

If you have pivot field buttons on your chart, they will also show up in the copied picture. This will not only be unsightly but might leave your audience confused because the buttons don’t work. Be sure to hide all pivot field buttons before copying a pivot chart as a picture. You can remove them by clicking on your chart and then selecting the Analyze tab. On the Analyze tab, you can use the Field Buttons drop-down menu and choose Hide All.

Method 4: Use cells linked back to the pivot table as the source data for the chart

Many Excel users shy away from using pivot charts solely based on the formatting restrictions and issues they encounter when working with them. Often these users give up the functionality of a pivot table to avoid the limitations of pivot charts.

However, if you want to retain key functionality in your pivot table, such as report filters and top 10 ranking, you can link a standard chart to your pivot table without creating a pivot chart.

In the example in Figure 6-19, a pivot table shows the top 10 markets by contracted hours, along with their total revenue. Notice that the report filter area allows you to filter by business segment so you can see the top 10 markets segment.

A pivot table has Market in the columns area and two fields in the Values area: Contracted Hours and Sales_Amount.
FIGURE 6-19 This pivot table allows you to filter by business segment to see the top 10 markets by total contracted hours and revenue.

Suppose you want to turn this view into an XY scatter chart to be able to point out the relationship between the contracted hours and revenues.

Well, a pivot chart is definitely out because you can’t build pivot charts with XY scatter charts. The techniques outlined in methods 1, 2, and 3 are also out because those methods disable the interactivity you need.

So what’s the solution? Use the cells around the pivot table to link back to the data you need, and then chart those cells. In other words, you can build a mini data set that feeds your standard chart. This data set links back to the data items in your pivot table, so when your pivot table changes, so does your data set.

Click your cursor in a cell next to your pivot table, as demonstrated in Figure 6-20, and reference the first data item that you need to create the range you will feed to your standard chart.

When you build the formula in E4, make sure to type =B4 without using the mouse or arrow keys to point to B4. If you use the mouse or arrow keys, Excel will insert the GETPIVOTDATA function instead of your formula.

Now copy the formula you just entered and paste that formula down and across to create your complete data set. At this point, you should have a data set that looks like the one shown in Figure 6-21.

Go outside the pivot table and build a formula that points to the first number in the pivot table.
FIGURE 6-20 Start your linked data set by referencing the first data item you need to capture.
Copy the formula to the correct number of rows and columns to make a regular Excel range that mirrors the numbers in the pivot table.
FIGURE 6-21 Copy the formula and paste it down and across to create your complete data set.

When your linked data set is complete, you can use it to create a standard chart. In this example, you are creating an XY scatter chart with this data. You could never do this with a pivot chart.

Figure 6-22 demonstrates how this solution offers the best of both worlds. You can filter out a particular business segment using the page field, and you also have all the formatting freedom of a standard chart without any of the issues related to using a pivot chart.

A scatter chart compares Revenue to Contracted Hours.
FIGURE 6-22 This solution allows you to continue using the functionality of your pivot table without any of the formatting limitations you would have with a pivot chart.

Using conditional formatting with pivot tables

In the next sections, you’ll learn how to leverage the magic combination of pivot tables and conditional formatting to create interactive visualizations that serve as an alternative to pivot charts.

An example of using conditional formatting

To start the first example, create the pivot table shown in Figure 6-23.

A pivot table with Market down the side, and Sales Amount twice in the Values area.
FIGURE 6-23 Create this pivot table.

Suppose you want to create a report that enables your managers to see the performance of each sales period graphically. You could build a pivot chart, but you decide to use conditional formatting. In this example, you’ll go the easy route and quickly apply some data bars.

Select all the Sum Of Sales_Amount2 values in the Values area. After you have highlighted the revenue for each Sales_Period, click the Home tab and select Conditional Formatting in the Styles group. Then select Data Bars and select one of the Solid Fill options, as shown in Figure 6-24.

You immediately see data bars in your pivot table, along with the values in the Sum Of Sales_Amount2 field. You want to hide the actual value and show only the data bar. To do this, follow these steps:

  1. Click the Conditional Formatting drop-down menu on the Home tab and select Manage Rules.

  2. In the Rules Manager dialog box, select the data bar rule you just created and select Edit Rule.

  3. Select the Show Bar Only check box (see Figure 6-25).

Add Conditional Formatting Data Bars to the second sales column.
FIGURE 6-24 Apply data bars to the values in your pivot table.

As you can see in Figure 6-26, you now have a set of bars that correspond to the values in your pivot table. This visualization looks like a sideways chart, doesn’t it? What’s more impressive is that as you filter the markets in the report filter area, the data bars dynamically update to correspond with the data for the selected market.

In the Editing Formatting Rule dialog box, you can choose to Show Bar Only.
Figure 6-25 Check the Show Bar Only option to get a clean view of just the data bars.
This looks like a two-column pivot table with a bunch of in-cell bar charts in column C. Most people would never guess that the data bars in column C are part of the pivot table.
FIGURE 6-26 You have applied conditional data bars with just three easy clicks!

Preprogrammed scenarios for condition levels

In the previous example, you did not have to trudge through a dialog box to define the condition levels. How can that be? Excel 2019 has a handful of preprogrammed scenarios that you can leverage when you want to spend less time configuring your conditional formatting and more time analyzing your data.

For example, to create the data bars you’ve just employed, Excel uses a predefined algorithm that takes the largest and smallest values in the selected range and calculates the condition level for each bar.

Other examples of preprogrammed scenarios include the following:

  • Top Nth Items

  • Top Nth %

  • Bottom Nth Items

  • Bottom Nth %

  • Above Average

  • Below Average

As you can see, Excel 2019 makes an effort to offer the conditions that are most commonly used in data analysis.

Image Note

To remove the applied conditional formatting, place your cursor inside the pivot table, click the Home tab, and select Conditional Formatting in the Styles group. From there, select Clear Rules and then select Clear Rules From This PivotTable.

Creating custom conditional formatting rules

It’s important to note that you are by no means limited to the preprogrammed scenarios mentioned in the previous section. You can still create your own custom conditions.

To see how this works, you need to begin by creating the pivot table shown in Figure 6-27.

This pivot table has Sales Amount in B, Contracted Hours in C, and Dollars Per Hour in D.
FIGURE 6-27 This pivot table shows Sales_Amount, Contracted_Hours, and a calculated field that calculates Dollars Per Hour.

In this scenario, you want to evaluate the relationship between total revenue and dollars per hour. The idea is that some strategically applied conditional formatting helps identify opportunities for improvement.

Place your cursor in the Sales_Amount column. Click the Home tab and select Conditional Formatting, and then select New Rule. This activates the New Formatting Rule dialog box, shown in Figure 6-28. In this dialog box, you need to identify the cells where the conditional formatting will be applied, specify the rule type to use, and define the details of the conditional formatting.

First, you must identify the cells where your conditional formatting will be applied. You have three choices:

  • Selected Cells—This selection applies conditional formatting to only the selected cells.

  • All Cells Showing “Sales_Amount” Values—This selection applies conditional formatting to all values in the Sales_Amount column, including all subtotals and grand totals. This selection is ideal for use in analyses using averages, percentages, or other calculations where a single conditional formatting rule makes sense for all levels of analysis.

  • All Cells Showing “Sales_Amount” Values for “Market”—This selection applies conditional formatting to all values in the Sales_Amount column at the Market level only. (It excludes subtotals and grand totals.) This selection is ideal for use in analyses using calculations that make sense only within the context of the level being measured.

When you apply conditional formatting to a pivot table, three extra choices appear at the top of the New Formatting Rule dialog box.
FIGURE 6-28 The New Formatting Rule dialog box.

Image Note

The words Sales_Amount and Market are not permanent fixtures of the New Formatting Rule dialog box. These words change to reflect the fields in your pivot table. Sales_Amount is used here because the cursor is in that column. Market is used because the active data items in the pivot table are in the Market field.

In this example, the third selection (All Cells Showing “Sales_Amount” Values for “Market”) makes the most sense, so click that radio button, as shown in Figure 6-29.

Next, in the Select A Rule Type section, you must specify the rule type you want to use for the conditional format. You can select one of five rule types:

  • Format All Cells Based On Their Values—This selection enables you to apply conditional formatting based on some comparison of the actual values of the selected range; that is, the values in the selected range are measured against each other. This selection is ideal when you want to identify general anomalies in your data set.

  • Format Only Cells That Contain—This selection enables you to apply conditional formatting to cells that meet specific criteria you define. Keep in mind that the values in your range are not measured against each other when you use this rule type. This selection is useful when you are comparing your values against a predefined benchmark.

  • Format Only Top Or Bottom Ranked Values—This selection enables you to apply conditional formatting to cells that are ranked in the top or bottom Nth number or percentage of all the values in the range.

Change the New Formatting Rule dialog box to select All Cells Showing Sales_Amount values for Market.
FIGURE 6-29 Click the radio button next to All Cells Showing “Sales_Amount” Values for “Market.”
  • Format Only Values That Are Above Or Below Average—This selection enables you to apply conditional formatting to values that are mathematically above or below the average of all values in the selected range.

  • Use A Formula To Determine Which Cells To Format—This selection enables you to specify your own formula and evaluate each value in the selected range against that formula. If the values evaluate to true, the conditional formatting is applied. This selection comes in handy when you are applying conditions based on the results of an advanced formula or mathematical operation.

Image Note

You can use data bars, color scales, and icon sets only when the selected cells are formatted based on their values. This means that if you want to use data bars, color scales, and icon sets, you must select the Format All Cells Based On Their Values rule type.

In this scenario, you want to identify problem areas using icon sets; therefore, you want to format the cells based on their values, so select Format All Cells Based On Their Values.

Finally, you need to define the details of the conditional formatting in the Edit The Rule Description section. Again, you want to identify problem areas using the slick icon sets that are offered by Excel 2019. Therefore, select Icon Sets from the Format Style drop-down box.

After selecting Icon Sets, select a style appropriate to your analysis. The style selected in Figure 6-30 is ideal in situations in which your pivot tables cannot always be viewed in color.

In the New Formatting Rule dialog box, choose Format All Cells Based On Their Values as the Rule Type and then choose Icon Sets at the Format Style. The Icon Style in this figure is three symbols: a circle, triangle, and diamond.
FIGURE 6-30 Select Icon Sets from the Format Style drop-down box.

With this configuration, Excel applies the sign icons based on the percentile bands >=67, >=33, and <33. Keep in mind that you can change the actual percentile bands based on your needs. In this scenario, the default percentile bands are sufficient.

Click the OK button to apply the conditional formatting. As you can see in Figure 6-31, you now have icons that enable you to quickly determine where each market falls in relation to other markets in terms of revenue.

Now apply the same conditional formatting to the Dollars Per Hour field. When you are done, your pivot table should look like the one shown in Figure 6-32.

Take a moment to analyze what you have here. With this view, a manager can analyze the relationship between total revenue and dollars per hour. For example, the Dallas market manager can see that he is in the bottom percentile for revenue but in the top percentile for dollars per hour. With this information, he immediately sees that his dollars per hour rates might be too high for his market. Conversely, the New York market manager can see that she is in the top percentile for revenue but in the bottom percentile for dollars per hour. This tells her that her dollars per hour rates might be too low for her market.

Remember that this in an interactive report. Each manager can view the same analysis by product by simply filtering the report filter area!

Icon sets appear next to each Sales Amount.
FIGURE 6-31 You have applied your first custom conditional formatting!
The finished report has separate icons in Sales_Amount and Dollars Per Hour.
FIGURE 6-32 You have successfully created an interactive visualization.

Using Power BI Custom Visuals in Excel

Office 365 customers will soon have the chance to add Power BI Custom Visuals to Excel. These visual will not support data in a pivot table. To use a custom visual such as the Word Cloud shown in Figure 6-33, you will have to copy the data outside of a pivot table.

The process of installing a custom visualization has not been defined yet. Currently, while the feature is in development, you have to use a sidecar method described at http://mrx.cl/trycustomvisuals.

After installing the Word Cloud add-in, you can follow these steps:

  1. Copy some text to Excel.

  2. Use Data, Text to Columns, Delimited By A Space to break the phrases into words.

  3. Copy all of the words into a single column.

  4. Use a pivot table to count the number of occurrences of each word. The pivot table should have Word in the first column and Volume in the second column.

  5. Use formulas to copy the data from the pivot table to a regular Excel range.

  6. Select this data.

  7. Use the Plus icon in the Charts group and select More Custom Visuals….

  8. Select the Word Cloud visualization.

  9. When the visualization appears, select Chart Tools Design, Format. A Charts panel will appear on the right side of the screen.

  10. Clear the check box for Stop Words.

  11. Under Rotate Text, choose from -70 to 70. Choose up to seven orientations.

Word cloud of the words in the Table of Contents of this book.
Figure 6-33 The word cloud shows hundreds of words, but frequently used words appear larger: Pivot, Data, Using, and Table.

Image Caution

As this book goes to print, the Custom Visuals feature is available only to those using the Insiders channel of Office 365.

Next steps

In Chapter 7, “Analyzing disparate data sources with pivot tables,” you will find out how to bring together disparate data sources into one pivot table. You will create a pivot table from multiple data sets and learn the basics of creating pivot tables from other pivot tables.