Pivot Table

From LibreOffice Help
Jump to: navigation, search

Specify the layout of the table that is generated by the pivot table.

Choose Insert - Pivot Table, in the Select Source dialog choose the option Current selection.

Choose Insert - Pivot Table, in the Select Source dialog choose the option Data source registered in LibreOffice, click OK to see Select Data Source dialog.

Pivot Table

The pivot table displays data fields as buttons which you can drag and drop to define the pivot table.

Layout

To define the layout of a pivot table, drag and drop data field buttons onto the Page Fields, Row Fields, Column Fields, and Data Fields areas. You can also use drag and drop to rearrange the data fields on a pivot table.

LibreOffice automatically adds a caption to buttons that are dragged into the Data Fields area. The caption contains the name of the data field as well as the formula that created the data.

To change the function that is used by a data field, double-click a button in the Data Fields area to open the Data Field dialog. You can also double-click buttons in the Row Fields or Column Fields areas.

More

Displays or hides additional options for defining the pivot table.

Result

Specify the settings for displaying the results of the pivot table.

Selection from

Select the area that contains the data for the current pivot table.

Results to

Select the area where you want to display the results of the pivot table.

Shrink / Maximize

Click the Shrink icon to reduce the dialog to the size of the input field. It is then easier to mark the required reference in the sheet. The icons then automatically convert to the Maximize icon. Click it to restore the dialog to its original size.

The dialog is automatically minimized when you click into a sheet with the mouse. As soon as you release the mouse button, the dialog is restored and the reference range defined with the mouse is highlighted in the document by a blue frame.

Icon
Shrink
Icon
Maximize
Warning.png If the selected area contains data, the pivot table overwrites the data. To prevent the loss of existing data, let the pivot table automatically select the area to display the results.

Ignore empty rows

Ignores empty fields in the data source.

Identify categories

Automatically assigns rows without labels to the category of the row above.

Total columns

Calculates and displays the grand total of the column calculation.

Total rows

Calculates and displays the grand total of the row calculation.

Add filter

Adds a Filter button to pivot tables that are based on spreadsheet data.

Opens the Filter dialog.

Enable drill to details

Select this check box and double-click an item label in the table to show or hide details for the item. Clear this check box and double-click a cell in the table to edit the contents of the cell.

To examine details inside a pivot table

Do one of the following:

  • Select a range of cells and choose Data - Group and Outline - Show Details.
  • Double-click a field in the table.

If you double-click a field which has adjacent fields at the same level, the Show Detail dialog opens:

Show Detail

Choose the field that you want to view the details for.


Related Topics

Pivot table shortcut keys