Amazon QuickSight
User Guide

Using Pivot Tables

Use pivot tables to show measure values for the intersection of two dimensions.

Heat maps and pivot tables display data in a similar tabular fashion. Use a heat map if you want to identify trends and outliers, because the use of color makes these easier to spot. Use a pivot table if you want to analyze data on the visual.

To create a pivot table, choose at least one field of any data type, and choose the pivot table icon. Amazon QuickSight creates the table and populates the cell values with the count of the column value for the intersecting row value. Typically, you choose a measure and two dimensions measurable by that measure.

Pivot tables support infinite scroll down and right. You can add up to 20 fields as rows and 20 fields as columns.

Using a pivot table, you can do the following:

  • Specify multiple measures to populate the cell values of the table, so that you can see a range of data

  • Cluster pivot table columns and rows to show values for subcategories grouped by related dimension

  • Change row sort order

  • Apply statistical functions

  • Add totals and subtotals to rows and columns

  • Use infinite scroll

  • Transpose fields used by rows and columns

To easily transpose the fields used by the rows and columns of the pivot table, choose the orientation icon ( ) near the top right of the visual. To see options for showing and hiding totals and subtotals, formatting the visual, or exporting data to a CSV file, choose the V-shaped icon at top right.

As with all visual types, you can add and remove fields. You can also change the field associated with a visual element, change field aggregation, and change date field granularity. In addition, you can focus on or exclude rows or columns. For more information about how to make these changes to a pivot table, see Changing the Fields Used by a Visual in Amazon QuickSight.

For information on formatting pivot tables, see Formatting a Visual in Amazon QuickSight.

The icon for a pivot table is as follows.

Pivot Table Features

Pivot tables don't display a legend.

To understand the features supported by pivot tables, use the following table.

Feature Supported? Comments For More Information
Changing the legend display No Customizing the Visual Legend
Changing the title display Yes Customizing a Visual Title
Changing the axis range Not applicable Changing the Visual Scale with the Axis Range
Changing the visual colors No Changing Visual Colors in Amazon QuickSight
Focusing on or excluding elements Yes, with exceptions You can focus on or exclude any column or row, except when you are using a date field as one of the dimensions. In that case, you can only focus on the column or row that uses the date dimension, not exclude it.

Focusing on Visual Elements

Excluding Visual Elements

Sorting Yes You can sort by the field that you choose for the columns.

Sorting Visual Data in Amazon QuickSight

Sorting Pivot Tables

Performing field aggregation Yes

You must apply aggregation to the field or fields you choose for the value. You can't apply aggregation to the fields that you choose for the rows or columns.

If you choose to create a multi-measure pivot table, you can apply different types of aggregation to the different measures. For example, you can show the sum of the sales amount and the maximum discount amount.

Changing Field Aggregation
Adding drill-downs No Adding Drill-Downs to Visual Data in Amazon QuickSight
Showing and hiding totals and subtotals Yes

You can show or hide totals and subtotals for rows and columns.

Metrics automatically roll up to show subtotals when you collapse a row or column. If you use a table calculation, use aggregates to display roll-ups.

Exporting or copying data Yes

You can export all of the data to a CSV file.

You can select and copy the content of the cells.

Exporting Data from an Amazon QuickSight Visual to a CSV File

Topics

    On this page: