What is a Cross Table?


A cross table is a two-way table consisting of columns and rows. It is also known as a pivot table or a multi-dimensional table. Its greatest strength is its ability to structure, summarize and display large amounts of data. You can also use the cross table to determine whether there is a relation between the row variable and the column variable.

The values displayed in the cross table cells are aggregated values, for example, sums or averages, or results from custom expressions.

You can change the appearance of the cross table. For example, headers can be displayed horizontally or vertically, and the horizontal as well as the vertical alignment of the header texts can be specified.  

Example

Below is a cross table showing the sum of sales for different types of fruits and vegetables.

The same data displayed in a regular table takes up far more space and it is much more difficult to get an overview:

Totals

You can display grand totals for columns and rows (the example above shows grand totals for columns as well as rows). It is also possible to display column subtotals, if the vertical axis is hierarchically structured.

Totals are calculated using the same aggregation or expression as is used for calculating the cell values, and they are not based on the aggregated values shown in the cross table cells; they are by default based on the underlying data table rows. For example, if 'Average' is used as aggregation method, the Grand total average of the column is not the average of the cell values; it is the average of all the underlying data rows.

Note: There is an option to base a total on the already aggregated cell values in the cross table. If you use this option, the total will be calculated as the sum of the cell values, no matter what expression is used for the calculation of the cell values. Note that if rows have been hidden using the setting 'Show only the first number of rows' on the Sorting page in the Properties dialog, then the hidden values will be added to the total sum as well.

Images in the cross table

Cross tables can also be configured to show images in axis labels, provided that one of the following is fulfilled:

See also:

How to Use the Cross Table

Cross Table Properties