Pivot Tables

Pivot tables in Analytical Designer can have up to 20 attribute rows and 20 attribute columns to refine data in your insight. The data is then merged according to the attribute order in the Rows/Columns sections. Rows or columns with aggregated data can be generated for tables of up to 1,000 values.

Tables are generated depending on whether you add attributes to the Rows or Columns section. If you only add them to Rows, the resulting table is oriented vertically. If you only add them to Columns, it is oriented horizontally.

Pivot tables have the following sections: Metrics, Rows, Columns, and Configuration.

Pivot tables can also:

  • Display the values as a percentage.

  • Compare your data to the previous period or same period of the previous year. For details, see Time over Time Comparison.

  • Group data when sorted by the first item in the Rows section.

For information about common characteristics and settings of all insights, see Insight Types.

Column width

Tables automatically adjust the width of all the columns according to the cell content. The size is calculated according to the content in the header of the column that represents the lowest level of the grouped attributes.

You can also resize each column manually by dragging the edge of the column in a header.

  • To resize all columns in your insight at once, hold the Windows/Command button while dragging.
  • To resize all columns of one metric at once, hold the Alt/Option button while dragging.
  • Double-click the edge of the column to resize to the default size of the column.

Multiple date attributes

Pivot tables support multiple date attributes. For each date attribute, you can select a different date dimension to analyze your data with various date contexts.

For example, you can display when individual customers ordered your products and when the invoices were paid.

When you filter the whole insight by date, you can select any dimension that is available.

Aggregate data

You can generate a row or column with aggregated metrics data (specified by individual attributes) using the following functions:

  • Sum

  • Max

  • Min

  • Avg

  • Median

  • Rollup (Total) For information about the rollup function, see Aggregate Table Data.



  1. Create a pivot table in Analytical Designer. For details, see Create Insights.

  2. Hover the mouse over a column header. A burger icon displays on the left side of the header. 

  3. Click the burger icon and select a function from the menu. Depending on the selected function, a new row or column with the function name and appropriate values is displayed.

  4. You can add functions for all columns or for individual attributes or metrics. Hover your mouse over column headers to display the burger icon. The following image shows the Sum function added in the Year attribute and the Avg function added in the Checkouts metric.

  1. If you have multiple items in the Rows section, you can apply the function to all rows (grand total) or to individual attributes from the Rows section (subtotals). The same applies to Columns in horizontally oriented tables.

  1. To delete a function, click the burger icon and click an already-selected function (with a tick sign) to hide the function row.

Rollup (Total)

Rollup totals are “smart” aggregations.

They are useful for tables that display metrics representing average values, for example, to avoid aggregations like averages of averages.

See the following examples:

  • For the Won metric, the rollup represents the sum of all regions' won amounts.  Sum and Rollup (Total) are equal. 
  • For the Avg. Won metric, rather than take the average of the row’s values (which are already averages), the rollup averages the original underlying data—before it was aggregated by the Won metric and broken into the East Coast and West Coast regions by the Region attribute.  The value of the Avg (an average of averages) differs from the Rollup (Total) average (an average based on the original data).