Contents

# Pivot Table

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

To access this command...

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

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

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 Filters, 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 dialogue box. 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 / Expand

Click the Shrink icon to reduce the dialogue box 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 Expand icon. Click it to restore the dialogue box to its original size.

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

Shrink

Expand

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 dialogue box.

## Enable drill to details

Mark this check box and double-click an item label in the table to show or hide details of the item. Unmark 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 dialogue box opens:

## Show Detail

Choose the field for which you want to view details.

Related Topics

Pivot table shortcut keys