数据透视表

指定由透视表生成的表格的布局。

要访问此命令...

From the menu bar:

Choose Insert - Pivot Table, in the Select Source dialog choose the option Current selection or Named Range in the drop-down list.

选择「插入 - 数据透视表在「选择数据来源」」对话框中选择选项 「LibreOffice 中注册的数据源」,点击「确定」,此时会打开「选择数据源」对话框。

From the tabbed interface:

Place the cursor inside the pivot table and select Data - Pivot Table.

From the context menu:

Place the cursor inside the pivot table and select Properties.

From toolbars:

Icon Pivot Table

Pivot Table


数据透视表

透视表以按钮的形式显示数据字段,您可以通过拖放这些按钮来定义透视表。

版式

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 Fieldsarea. The caption contains the name of the data field as well as the formula that created the data.

要修改数据字段使用的函数,请双击「数据字段」区域中的按钮以打开数据字段对话框。也可以双击「行字段」或「列字段」区域中的按钮。

Options

显示或隐藏用于定义透视表的附加选项。

忽略空行

忽略数据源中的空字段。

识别类别

将无标签的行自动指定给上面行的类别。

Show totals column

计算并显示列计算的总计。

Show totals row

计算并显示行计算的总计。

添加过滤器

向基于电子表格数据的透视表中添加一个「过滤器」按钮。

打开「过滤器」对话框。

显示明细数据

选中此复选框并在表格中双击某项目的标签,可显示或隐藏该项目的明细数据。清除此复选框并在表格中双击某单元格,可编辑该单元格的内容。

To examine details inside a pivot table, do one of the following:

如果您双击在同一平面上拥有相邻字段的字段,则会打开「显示明细数据」对话框:

Show expand / collapse buttons

Shows outline buttons to expand and collapse, to make the pivot table with the compact layout more usable.

Source and Destination

设置透视表结果的显示。

Source

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

Named Range: selects the named range from the drop-down list.

Selection: selects the area that contains the data of the pivot table.

Destination

选择一个区域,用来显示透视表的结果。

New sheet: creates a sheet in the document to receive the pivot table.

Named Range: selects the named range from the drop-down list.

Selection: selects the top left cell of the created pivot table.

warning

If the selected area contains data, the pivot table overwrites the data. To prevent the loss of existing data, choose New Sheet.


Shrink / Expand

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 Expand icon. Click it to restore the dialog to its original size.

当您在工作表中点击鼠标按钮并拖动一个区域时,对话框自动缩小。一旦您放开鼠标按钮,对话框便重新用完整大小显示,而用鼠标定义的区域引用在文档中用一个蓝色的边框被突出强调出来。

Icon shrink

缩小

Icon Expand

Expand

请支持我们!