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
- 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.
- Click the panel to select it. The ribbon moves to the Tools tab by itself and shows the pivot table groups.
- 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.

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
| Button | What it does |
|---|---|
| Copy | Copies 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
| Button | What it does |
|---|---|
| Field Settings | Opens the Field Settings window for the field of the selected cell. |
| Drill Down | Opens 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.
| Button | What it does |
|---|---|
| Summarize by | A 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 as | A menu of ways to show the value. They are explained below. |
| Running Total | Opens the Running Total window. |
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
| Way | What the cell shows |
|---|---|
| No Calculation | The value itself. This is the default. |
| Absolute Variation | The difference between the value and the value of the previous cell. |
| Percent Variation | The same difference as a percentage. |
| % of Column Total | The value as a percentage of the total of its column. |
| % of Column Grand Total | The value as a percentage of the grand total of its column. |
| % of Row Total | The value as a percentage of the total of its row. |
| % of Row Grand Total | The value as a percentage of the grand total of its row. |
| % of Grand Total | The value as a percentage of the grand total of the table. |
| Rank in Column Largest to Smallest and Rank in Column Smallest to Largest | The rank of the value among the values of its column. |
| Rank in Row Largest to Smallest and Rank in Row Smallest to Largest | The rank of the value among the values of its row. |
| Index | An 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
| Button | What it does |
|---|---|
| Manage Calculated Fields | Opens the calculated fields window for the pivot table. It needs no selected cell. See Calculated fields in a pivot table. |
| Filter | Opens 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 Tools | A 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
SumOfand 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
| Button | What it does |
|---|---|
| Chart | Adds 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
| Button | What it does |
|---|---|
| Best Fit | Sizes 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 Area | Where the titles of the value fields go when the table has more than one value field: None, Column Area or Row Area. |
| Column Totals | Where the subtotals of columns appear: Do Not Show, Show at Left of Group or Show at Right of Group. |
| Row Totals | Where the subtotals of rows appear: Do Not Show, Show at Top of Group, Show at Bottom of Group or Show as Tree. |
| Grand Totals | Off 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:

| Area | What you put in it |
|---|---|
| Filters | Fields you filter the table by without showing them as rows or columns. |
| Columns | Fields that become the columns of the table. |
| Rows | Fields that become the rows of the table. |
| Values | Fields 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:
| Button | What it does |
|---|---|
| Edit | Opens 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.
Right-click menus
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.

| Command | What it does |
|---|---|
| Copy | Same as Copy on the ribbon. |
| Duplicate Field | Asks 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 Field | Hides the field from the table. The field stays in the Field List. |
| Rename | Also hides the field, like Hide Field. To rename a field, use the field header menu or the Field Settings window. |
| Delete Field | Deletes 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 by | A submenu with the nine summary functions, as on the ribbon, with a check mark on the current one. It applies Varp correctly. |
| Show as | A submenu with the thirteen ways to show values. See Ways to show values. |
| Field Settings | Opens the Field Settings window. |
| Drill Down | Opens 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.
| Command | What it does |
|---|---|
| Duplicate Field | Creates a copy of the field with a title you enter, as in the cell menu. |
| Hide Field | Appears when the field is visible. Hides the field from the table. |
| Rename | Changes the title of the field in the table. |
| Delete Field | Appears for non-text fields. It works for the copies and calculated fields you added and is disabled for original fields. |
| Group Interval | Appears for date fields only. Groups the values by the period you choose. The list is explained below. |
| Show Top 10 | Opens the Top 10 window for the field. |
| Show All Values | Appears when the field shows only its top values. It cancels the top count, so all values appear again. |
| Group Fields | Appears 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 Fields | Appears 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:
| Section | Periods |
|---|---|
| General | Default. |
| Time (date and time fields only) | Date, Second, Minute, Hour, Date Hour, Date Hour Minute, Date Hour Minute Second. |
| Day | Day of Week, Day, Day of Year. |
| Week | Week of Month, Week of Year. |
| Month | Month, Month-Year. |
| Quarter | Quarter, Quarter-Year. |
| Year | Year. |
| Age | Age (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.
| Command | What it does |
|---|---|
| Show Top 10 | Opens the Top 10 window for the field. Appears for row and column fields. |
| Show All Values | Appears when the field shows only its top values, and shows all values again. |
| Best Fit | Sizes 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.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| Field name | The title shown for the field in the table. | Yes | Ok is disabled while it is empty. |
| Summarize by tab | The list of summary functions. | Yes | Nine functions: Sum, Count, Average, Max, Min, StdDev, StdDevp, Var, Varp. The current one is selected. |
| Show as tab | The list of ways to show values. | Yes | The thirteen ways in Ways to show values. The current one is selected. |
| Button | What it does |
|---|---|
| Ok | Applies the name, the function and the way to show values to the field. |
| Cancel | Closes 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.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| Field list | Check 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. | No | Select 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 Variation | Lets the running total or variation calculation continue across group boundaries. | No | Starts with the current value of the table. |
| Button | What it does |
|---|---|
| Ok | Applies the selection to all fields of the table: the selected fields become running totals and the others do not. |
| Cancel | Closes 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.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| Show | The first list in the row. Sets the direction of the ranking. | Yes | Top (descending order) or Bottom (ascending order). |
| Count | The number box after Show. | Yes | A whole number from 1. It starts at 10 if the field has no earlier count. |
| Count type | The list after the count. | Yes | Values (number of values) or Percent (a percentage of the values). |
| by | The value field that ranks the values of this field. | Yes | The list of fields in the values area of the table. |
| Show other values | Check box. | No | Adds 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. |
| Button | What it does |
|---|---|
| Ok | Applies the condition and sorts the field by the value field. |
| Cancel | Closes 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.

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.
| Button | What it does |
|---|---|
| Column Chooser | Check box. Shows the list of columns so you can choose which ones appear. |
| Group Panel | Check box. Shows a panel where you drag headers to group. |
| Ungroup | Cancels the current grouping. |
| Expand All | Expands all groups. |
| Collapse | Collapses all groups. |
| Best Fit | Sizes the columns to fit their content. |
| Search | Check 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.

| Group | Item | What it does |
|---|---|---|
| Type | Change Chart Type | The gallery of chart types. It is the same gallery described in Chart tools, without the two bubble types. |
| Appearance | Change Colors | Lists the ready color palettes. |
| Change Style | Appears for column types (except 3-D Clustered Column), bars, pies and doughnuts, and for Point and 3-D Point. Lists the ready drawing styles. | |
| View | Data Labels | Check box. Shows the values on the chart parts. When it is on, the crosshair is off. |
| Gridlines | A 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 Shading | A menu: Horizontal Banded Shading and Vertical Banded Shading. It works only with the two-dimensional types that have axes. | |
| Options | Series Source | Generate Series From Columns or Generate Series From Rows: whether the columns or the rows of the table become the series of the chart. |
| Scale Breaks | A 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 Totals | Four check boxes: Column Totals, Column Grand Totals, Row Totals and Row Grand Totals. They decide which totals enter the chart. | |
| Empty Values | Check box. Adds the empty cells to the chart. | |
| Selection Only | Check 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. | |
| Close | Remove Chart | Removes 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
| Message | Why it appears | What 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. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.