Skip to main content

Pivot table tools

A pivot table is a panel in the viewer that groups report data into rows and columns and summarizes the values where a row meets a column. This page explains everything that appears when you select a pivot table panel: the Tools tab, the field and filter lists, the right-click menus, the four windows, and the chart that attaches to the table. For a step-by-step guide to building and analysing a pivot table, see Build and analyse a pivot table.

Opening the tools​

  1. Open a report in the report viewer and go to a page that has a pivot table. Some reports come with ready pivot tables. You can add one to any report that supports analysis from Analysis > Insert > Pivot Table. See the insert window.
  2. Click the panel to select it. The ribbon moves to the Tools tab by itself and shows the pivot table groups.
  3. Click a value cell to enable most buttons. The groups Clipboard, Field, Calculations, Insert and Layout stay disabled until you select a value cell, because their commands work on the field that the cell belongs to.

The Tools tab for a pivot table with the groups Clipboard, Field, Calculations, Data, Insert, Layout and Show

Every change you make here changes the page in the viewer and leaves the original report as it is. Save the new layout with Save (Ctrl+S) so the report opens with it next time. See Report workspaces.

The Tools tab for a pivot table​

Clipboard group​

ButtonWhat it does
CopyCopies the selected cells to the Windows clipboard together with the field values that describe each row and column, so you can paste them into Excel or a document.

Field group​

ButtonWhat it does
Field SettingsOpens the Field Settings window for the field of the selected cell.
Drill DownOpens the Drill Down window with the original rows that make up the value of the selected cell. Double-clicking a cell opens the window for that cell directly.

Calculations group​

These buttons change how the value is calculated for the field of the selected cell. They apply to all cells of that field.

ButtonWhat it does
Summarize byA menu of summary functions. A check mark shows the current one. In order: Sum, Count, Average, Max, Min, then StdDev and StdDevp, then Var and Varp.
Show asA menu of ways to show the value. They are explained below.
Running TotalOpens the Running Total window.
note

In this menu, the item Varp applies Var. To apply Varp, choose it from the right-click menu of the cell or in the Field Settings window.

Ways to show values​

WayWhat the cell shows
No CalculationThe value itself. This is the default.
Absolute VariationThe difference between the value and the value of the previous cell.
Percent VariationThe same difference as a percentage.
% of Column TotalThe value as a percentage of the total of its column.
% of Column Grand TotalThe value as a percentage of the grand total of its column.
% of Row TotalThe value as a percentage of the total of its row.
% of Row Grand TotalThe value as a percentage of the grand total of its row.
% of Grand TotalThe value as a percentage of the grand total of the table.
Rank in Column Largest to Smallest and Rank in Column Smallest to LargestThe rank of the value among the values of its column.
Rank in Row Largest to Smallest and Rank in Row Smallest to LargestThe rank of the value among the values of its row.
IndexAn index that compares the weight of the cell with the weight of its row, its column and the grand total.

When you choose from the ribbon menu or the right-click menu, the program also sets the number format of the cells: a percentage for the percentage ways, a whole number for the rank ways, and the original field format for No Calculation, Absolute Variation and Index. The Field Settings window changes the calculation and leaves the number format as it is.

Data group​

ButtonWhat it does
Manage Calculated FieldsOpens the calculated fields window for the pivot table. It needs no selected cell. See Calculated fields in a pivot table.
FilterOpens the filter editor for the pivot table. The arrow next to it lists the filters you applied recently, so you can apply one again by clicking it, and then Manage Filters.... The button is disabled until you select a value cell. See Report filters.
Filter ToolsA menu that decides when the filter bar appears under the table: Default (when a filter exists), Show Always or Never.

Manage Filters... is disabled if you have not applied a filter yet and the list of recent filters is empty.

Calculated fields in a pivot table​

The windows Add Calculated Field and Edit Calculated Field are those of an ordinary table (see Add a calculated field), with these differences:

  • They have one more list, Data Source: Data Values, Summarized Values and Custom(Use Aggregate Functions).
  • The function list does not offer SumOf and the other aggregate functions. They appear only with the third choice.
  • The expression editor lists the fields of the pivot table.
  • After Ok nothing appears in the table: the new field is hidden. Drag it from the Field List to the Values area.
  • Delete Field also works for the calculated fields you added.

Insert group​

ButtonWhat it does
ChartAdds to the page a chart that shows the data of the pivot table and attaches it to the table. Clicking the button itself uses Vertical Layout (under the table). The arrow lists Horizontal Layout (beside the table) and Vertical Layout. The button is disabled when the table already has a chart. See Pivot chart.

Layout group​

ButtonWhat it does
Best FitSizes the columns to fit their content. Clicking the button itself fits the columns and the rows. The arrow lists Best Fit Columns, Best Fit Rows and Best Fit All.
Values AreaWhere the titles of the value fields go when the table has more than one value field: None, Column Area or Row Area.
Column TotalsWhere the subtotals of columns appear: Do Not Show, Show at Left of Group or Show at Right of Group.
Row TotalsWhere the subtotals of rows appear: Do Not Show, Show at Top of Group, Show at Bottom of Group or Show as Tree.
Grand TotalsOff for Rows and Columns, On for Columns and Rows, On for Columns Only or On for Rows Only.

Show group​

Four check boxes show or hide the field title bars around the table: Column Header Area, Row Header Area, Filter Header Area and Data Header Area. Hiding a bar does not remove its fields from the table.

Field List​

The Field List appears when you open it from Home > View or from the status bar. For a pivot table it lists the data fields with check boxes, and under them four areas:

The Field List of a pivot table with the fields and the Filters, Columns, Rows and Values areas

AreaWhat you put in it
FiltersFields you filter the table by without showing them as rows or columns.
ColumnsFields that become the columns of the table.
RowsFields that become the rows of the table.
ValuesFields whose values are summarized where a row meets a column.
  • Drag a field from the list to an area, from one area to another, or out of the areas to remove it from the table.
  • The Values area accepts numeric fields only. If you drop a non-numeric field there, the table does not accept it and shows no message.
  • Some fields come from tables linked to the report. When you add a field whose data was not read yet, the program reads it from the database in the background and completes the table when it arrives.
  • The list has no filter buttons on its fields. To filter the values of a field, use the Filter button or the Filter List.

Filter List​

The Filter List shows visual filter elements for the pivot table. Each element has a title and a control that suits the field type (a checked list, a range, a calendar and others). The toolbar at its top:

ButtonWhat it does
EditOpens the window where you choose the elements, their types and titles. See Report filters. After Ok, the list is built again.
Sort button (A-Z icon)A menu for the order of the element values: No Sort or Popular First. Disabled while the list has no elements.
Expand and collapse buttons (two icons)Expand or collapse all filter elements.
Clear button (eraser icon)Clears the filter condition applied to the table. Disabled when the table has no condition.

When the list is empty, a short text explains it and ends with "To begin click Edit button." The sort order you choose applies to all elements of the list.

The three menus hold the usual pivot table commands, such as sort, expand and collapse, followed by the commands that the program adds, which the tables below explain. In the field header menu the program removes the usual commands for refreshing data, field order, hiding the field, showing and hiding the field list, and showing and hiding the prefilter, and replaces them with its own.

Value cell menu​

Right-click a value cell. If the cell is outside the current selection, the program selects the cell first.

The right-click menu of a value cell in a pivot table

CommandWhat it does
CopySame as Copy on the ribbon.
Duplicate FieldAsks for a title in a small window with the prompt "Enter field title:" and suggests a unique title based on the field title. After Ok it creates a new copy of the field in the same area. A copy lets you show the same field with another summary, such as the sum and the percentage together.
Hide FieldHides the field from the table. The field stays in the Field List.
RenameAlso hides the field, like Hide Field. To rename a field, use the field header menu or the Field Settings window.
Delete FieldDeletes the field from the table for good. It works for the copies you added with Duplicate Field and for the calculated fields you added, and is disabled for the original report fields. It does not ask for confirmation.
Summarize byA submenu with the nine summary functions, as on the ribbon, with a check mark on the current one. It applies Varp correctly.
Show asA submenu with the thirteen ways to show values. See Ways to show values.
Field SettingsOpens the Field Settings window.
Drill DownOpens the Drill Down window with the rows of the cell you right-clicked.

Double-clicking a value cell also opens Drill Down.

Field header menu​

Right-click the title of a field in one of the title bars.

CommandWhat it does
Duplicate FieldCreates a copy of the field with a title you enter, as in the cell menu.
Hide FieldAppears when the field is visible. Hides the field from the table.
RenameChanges the title of the field in the table.
Delete FieldAppears for non-text fields. It works for the copies and calculated fields you added and is disabled for original fields.
Group IntervalAppears for date fields only. Groups the values by the period you choose. The list is explained below.
Show Top 10Opens the Top 10 window for the field.
Show All ValuesAppears when the field shows only its top values. It cancels the top count, so all values appear again.
Group FieldsAppears when the area holds more than one field and they are not grouped yet. Puts all fields of the area into one hierarchical group.
Ungroup FieldsAppears when the fields of the area are grouped. It dissolves the group if all its fields are expanded, and does nothing otherwise.

For a field that is not visible, only Duplicate Field, Rename and Delete Field (non-text fields) show; the other commands are for visible fields.

Group Interval​

Lines separate the periods into sections. A check mark shows the current one. The sections in order:

SectionPeriods
GeneralDefault.
Time (date and time fields only)Date, Second, Minute, Hour, Date Hour, Date Hour Minute, Date Hour Minute Second.
DayDay of Week, Day, Day of Year.
WeekWeek of Month, Week of Year.
MonthMonth, Month-Year.
QuarterQuarter, Quarter-Year.
YearYear.
AgeAge (n days), Age (n weeks), Age (n months), Age (n years), where n is the current interval length.

When you choose an age period, a window titled "Group Interval" appears with a number field labelled "Enter the length of the interval:". Enter a whole number such as 7 and click Ok. The program applies the period even if you cancel the window, using the previous length.

Row and column value menu​

Right-click a value inside the rows area or the columns area, such as an account name in a row.

CommandWhat it does
Show Top 10Opens the Top 10 window for the field. Appears for row and column fields.
Show All ValuesAppears when the field shows only its top values, and shows all values again.
Best FitSizes the columns of the table if you clicked a column value, and its rows if you clicked a row value.

The pivot table library adds the expand, collapse and sort commands to this menu.

Field Settings window​

It opens when you click Field Settings on the ribbon or in the cell menu. Its title is "Field Settings". It works on the field of the selected cell.

The Field Settings window with the field name and the tabs Summarize by and Show as

FieldDescriptionRequiredValues and rules
Field nameThe title shown for the field in the table.YesOk is disabled while it is empty.
Summarize by tabThe list of summary functions.YesNine functions: Sum, Count, Average, Max, Min, StdDev, StdDevp, Var, Varp. The current one is selected.
Show as tabThe list of ways to show values.YesThe thirteen ways in Ways to show values. The current one is selected.
ButtonWhat it does
OkApplies the name, the function and the way to show values to the field.
CancelCloses the window without changing anything.

Running Total window​

It opens when you click Running Total. Its title is "Running Total". The total accumulates along the fields you select: each cell becomes its own sum plus the sums of the cells before it along the field.

The Running Total window with the field list and the Allow Cross Group Variation box

FieldDescriptionRequiredValues and rules
Field listCheck boxes for all the non-numeric fields of the table, whether they are in the rows, in the columns or in neither (in the picture: Account Name, Account Code, the dates, Currency and Reconciled), with (Select All) first.NoSelect the fields along which the total accumulates. Fields that were already running totals appear selected. Clear a field to stop accumulating along it.
Allow Cross Group VariationLets the running total or variation calculation continue across group boundaries.NoStarts with the current value of the table.
ButtonWhat it does
OkApplies the selection to all fields of the table: the selected fields become running totals and the others do not.
CancelCloses the window without changing anything.

Top 10 window​

It opens when you choose Show Top 10 from the field header menu or the value menu. Its title is "Top 10 Filter (field name)". It limits the field to its highest or lowest values, ranked by a value field you choose.

The Top 10 Filter window for the Account Name field with Top, 10, Values and by Debit balance, and Show other values cleared

FieldDescriptionRequiredValues and rules
ShowThe first list in the row. Sets the direction of the ranking.YesTop (descending order) or Bottom (ascending order).
CountThe number box after Show.YesA whole number from 1. It starts at 10 if the field has no earlier count.
Count typeThe list after the count.YesValues (number of values) or Percent (a percentage of the values).
byThe value field that ranks the values of this field.YesThe list of fields in the values area of the table.
Show other valuesCheck box.NoAdds a row or column that totals the values outside the top. It appears selected the first time for each field; it is cleared in the picture.
ButtonWhat it does
OkApplies the condition and sorts the field by the value field.
CancelCloses the window without changing anything.

To remove the condition, click Show All Values in the field menu.

Drill Down window​

It opens when you double-click a value cell, click Drill Down, or choose the command in the cell menu. Its title is "Drill Down". It shows, in an ordinary table, the original rows that make up the value of the cell you clicked or selected. You can maximize the window. It has no Ok or Cancel buttons.

The Drill Down window after clicking the cell 9,450.00, with a toolbar and one row, 1241-Finished Goods Inventory, in the columns Account Name, Debit balance, Credit balance and Reconciled

In the picture the cell 9,450.00 of the account 1241-Finished Goods Inventory was clicked. The window shows one row: debit balance 9,450.00 and credit balance 0.00, because the cell adds up one row of the report. A cell that adds up several rows shows all of them.

ButtonWhat it does
Column ChooserCheck box. Shows the list of columns so you can choose which ones appear.
Group PanelCheck box. Shows a panel where you drag headers to group.
UngroupCancels the current grouping.
Expand AllExpands all groups.
CollapseCollapses all groups.
Best FitSizes the columns to fit their content.
SearchCheck box. Shows a search panel above the table. The panel searches as you type and highlights the results, and only the matching rows stay.

Sort and filter from the column headers, and drag them to change the order. The Tools tab doesn't work on this table, and its cells have no right-click menu. When you close the window, the program keeps the column order, visibility and widths, the grouping and the sorting, so the next Drill Down window of this pivot table opens in that shape.

Pivot chart​

When you click Chart in the Insert group, a chart appears attached to the pivot table, under it or beside it according to the layout you chose, with a splitter you drag to resize. The chart builds its data from the pivot table itself, so it changes when the table fields and filters change.

While the selected pivot table has a chart, the Chart Tools tab group shows with a Design tab. You do not need to click the chart.

The pivot chart under the table and the Design tab of Chart Tools, with Selection Only cleared so the chart draws all rows

GroupItemWhat it does
TypeChange Chart TypeThe gallery of chart types. It is the same gallery described in Chart tools, without the two bubble types.
AppearanceChange ColorsLists the ready color palettes.
Change StyleAppears for column types (except 3-D Clustered Column), bars, pies and doughnuts, and for Point and 3-D Point. Lists the ready drawing styles.
ViewData LabelsCheck box. Shows the values on the chart parts. When it is on, the crosshair is off.
GridlinesA menu of four check boxes: Major Horizontal, Major Vertical, Minor Horizontal and Minor Vertical. It works only with the two-dimensional types that have axes (column, bar, area, line and scatter).
Banded ShadingA menu: Horizontal Banded Shading and Vertical Banded Shading. It works only with the two-dimensional types that have axes.
OptionsSeries SourceGenerate Series From Columns or Generate Series From Rows: whether the columns or the rows of the table become the series of the chart.
Scale BreaksA check box that turns on breaks in the vertical axis when values differ a lot, and an arrow to choose the break shape: Straight, Ragged or Waved. It works only with the two-dimensional types that have axes.
Show TotalsFour check boxes: Column Totals, Column Grand Totals, Row Totals and Row Grand Totals. They decide which totals enter the chart.
Empty ValuesCheck box. Adds the empty cells to the chart.
Selection OnlyCheck box. Limits the chart to the cells selected in the table. It is selected when the chart is inserted, so the chart draws only the cell you clicked. Clear it to draw all rows of the table, as in the picture.
CloseRemove ChartRemoves the chart from the page at once, without a question, and returns the ribbon to the pivot table tools. If you go to another page and come back to the pivot table page, the chart and its tools are there again.

This chart does not open the element windows (axes, titles, series) described in Chart tools, because those belong to the separate chart panel.

Messages​

MessageWhy it appearsWhat to do
Enter field title:You clicked Duplicate Field.Enter a title for the copy and click Ok.
Enter the length of the interval:You chose an Age period in Group Interval.Enter a whole number and click Ok.

This page applies to alameen ERP 10, version 10.1.79.764.