Pivot

Pivot tables are one of the most useful widgets for visualizing data. They enable you to quickly summarize and analyze large amounts of data.

Adding Data

Select the data to appear in the Pivot.

  1. In the Rows panel, click Add + to select the field(s) whose values will be placed in the rows of the Pivot table.

    When more than one Row is selected, the Rows are broken into sub-rows (groups). For example, the following shows Condition added as a second Row:
  2. In the Columns panel, click Add + to select the field(s) whose values will be placed in the columns of the Pivot table.
    You can drag and drop the fields that you added to Columns to the Rows area and vice versa.
  3. In the Values panel, select a field whose values will appear in the Rows and Columns of the Pivot table.
    Tip: Right-click the value to add data bars to your pivot table.

Subtotals

You can add subtotals to one or more rows, and define how to calculate subtotals.

To add subtotals to rows:

To define how to calculate the subtotals:

The default option is Auto, which aggregates all the data. The other custom options (Sum, Min, Max, etc.) calculate only the values in the rows above the subtotal.

Look at the following example:

In the top example, using the Auto option, the subtotal for average revenue aggregates all the sales and revenue data, thus representing a true subtotal of the average revenue for the Asia region.

In the bottom example, Average is used to calculate the subtotal, and therefore calculates the average of all the average revenue values in the rows above the subtotal.

Grand Totals

Grand totals aggregate the rows in the pivot table.

To add grand totals:

Grand totals is effected by subtotals if defined. In the following example, the Grand total for Average Sales is 10, representing the average sales for two regions (Asia and Europe). In the example below, Average Sales has a subtotal (see above) set to Sum, and therefore the Grand total is the total of the rows above.

Designing the Pivot Table

Fine-tune the appearance of the PIVOT table, using the following tools.

Exception Highlighting

Conditional formatting can be used for exception highlighting in a Pivot table. For example, as shown below:

See Defining Conditional Coloring – Condition for more information.

Note: For more styling options, including font style and colors, see this article.