Skip to main content

Pivot table

The Pivot table shows totals by rows and columns. For example, how much was purchased from each supplier in each product category ("Purchase cost: supplier × category"): suppliers as rows, categories as columns, with a sum in each cell and totals on the right and at the bottom.

In the widget catalog it is in the Digits group. For how to add a widget to a screen and select data for it, see the "Custom screen" section.

The video shows purchase totals by suppliers and categories: rows are Supplier, columns are Category, and each cell contains the Total of Purchase cost.

What to display​

SettingWhat to selectRequired
Rows by fieldwhat becomes rows: a list field or radio buttons ("Supplier"), a text field, or a dateyes
Columns by fieldwhat becomes columns — a field of the same kinds, e.g. "Category"no
Valuewhat to calculate in each cell: Number of records, Total, Average, Minimum, or Maximum. For everything except number of records, select a numeric field in By which field belowno — without it, the number of records is counted

For example, "Purchase cost: supplier × category" means rows by the "Supplier" field, columns by the "Category" field, Value set to Total by the "Purchase cost" field.

If rows or columns use a date, a date step selector appears below the field, e.g. Date step: Rows by field: Day, Week, or Month. When the page period contains more than 31 steps, the step becomes coarser: weeks for a quarter, months for a year.

How to read​

Above the table is a label showing what the cells calculate, e.g. "Total: Purchase cost".

WhereWhat it shows
cellthe total for records whose row value and column value both match
Total column on the rightthe total for the entire row
Total row at the bottomthe total for the entire column; the corner cell shows the grand total

Without Columns by field, the table has a single value column and a Total row at the bottom.

Totals are calculated from the records themselves, not by summing cells. This means they are correct for averages, minimums, and maximums, and also when a single record appears in multiple cells (for example, if a list field allows selecting several values).

For a list field used in rows or columns, all its options appear in order, even those with no records. Records without a value are collected into the last row or column, No value. An empty cell shows 0 for number of records and "—" for other totals.

A wide table scrolls inside the widget. With a keyboard: move focus to the table with Tab and scroll with arrow keys.

Period and filters​

Cells and totals are calculated from all records that fall within the period and match the page filters, not just those loaded on screen. If a page filter narrows the same field that rows or columns are built on, only the values selected in the filter remain. For details, see the "Period and page filters" section.

When there is nothing to show, the widget displays "No records". If there are too many groups, only a portion is shown and a message below the table reads "Showing N of M groups".