Build and analyse a pivot table
A pivot table rearranges a report result. You choose a field for the rows, a field for the columns and a field for the values, and the program totals the values where each row meets a column. Use it to answer questions that the original layout of the report does not answer, without changing the report.
Before you begin
- Open a report that shows an Analysis tab in the ribbon. The tab does not appear for reports that do not support analysis.
- Run the report with the conditions you want and wait for the result. The pivot table is built from the current result. If you change the report conditions later, click Refresh (
F5) so the program reads the data again, after you save the workspace. - A pivot table does not change accounting entries or stock. It is a view of the data that was read.
Steps
Add the table
- Click Analysis > Insert > Pivot Table. A window titled "Insert Pivot Table" opens.
- Leave Location on New Page to put the table on a page of its own. Change Name and Page title if you want, and choose the Data source. The insert window explains every field.
- Click Ok. A new page appears with an empty pivot table panel, and the program opens the Page List and the Field List. The table is empty because all fields are hidden at this stage.

Arrange the fields
- In the Field List, drag a text field to the Rows area. In the Trial Balance, drag Account Name. Its values appear as rows.
- Drag a date field or another text field to the Columns area to split the values by period or category. In the example, drag Currency.
- Drag a numeric field to the Values area. In the example, drag Debit balance. The table fills with its values, and the program totals them with Sum. This area accepts numeric fields only.
- Optionally drag a field to the Filters area to filter the table by it, or open the Filter List for visual filtering.

The picture shows a row for each account, a column for each currency ($ and ر.س.) and a Grand Total column. For example, the account 1102-Alwaha Bank has 90,000.00 in riyals, and 1103-Alwaha Bank USD has 3,750.00 in dollars.
To group a date into periods, right-click the date field title and choose Group Interval, then Month-Year, Quarter or another period. Pivot table tools lists all periods.
Change how values are calculated
- Click a value cell to enable the ribbon buttons. The groups appear in the Tools tab.
- Click Tools > Calculations > Summarize by and choose the function, such as Average, Count or Max. All cells of the field change.
- Click Tools > Calculations > Show as and choose, for example, % of Grand Total to see the share of each cell in the whole table. The cells turn into percentages. Choose No Calculation to return to the original value.
- To show the same field in two ways at once, right-click the value cell and choose Duplicate Field, enter a title for the copy, and then change Show as for the copy. You get the value and its percentage side by side.
- To accumulate values along a field, click Tools > Calculations > Running Total, select the field in the window, and click Ok. For example, select the month field to get a total that builds up from the start of the period.
These commands change the view and the summary. They do not change the data.
To add a field from your own formula, click Tools > Data > Manage Calculated Fields. The new field is hidden: drag it from the Field List to Values. See Calculated fields in a pivot table.
Show the top values
- Right-click a value in the rows area, such as an account name, and choose Show Top 10.
- In the window choose Top or Bottom in the first list, enter the count, choose Values or Percent, and choose the value field in by. Click Ok.
- The table shows only the requested values, ranked by the value field. Show other values is selected the first time, so the remaining values appear totalled in one row. Clear it if you do not want that row.
- To cancel the condition, right-click the field and choose Show All Values.
Open the rows behind a number
- Double-click a value cell, such as
9,450.00in the row1241-Finished Goods Inventory. The Drill Down window opens. - The window shows the original rows that make up the value of that cell, here one row for the account
1241-Finished Goods Inventory. Use Group Panel and Search when you need them.

- Close the window. The program keeps the order of its columns, so it opens in the same shape next time.
Add totals and a chart
- Click Tools > Layout > Grand Totals and choose what to show, such as On for Columns and Rows. Use Column Totals and Row Totals to place the subtotals.
- Click Tools > Insert > Chart to add a chart under the table; the arrow of the button offers Horizontal Layout to put it beside the table. The chart shows the table data and changes with it. At first it draws only the selected cells, so clear Selection Only on the Design tab to draw all rows. Its tools are in Pivot table tools.
Save the layout
Press Ctrl+S to save the new page and the field arrangement in the workspace. If you close the report without saving, the program asks whether to save the changes. See Save and reuse a report layout (workspace).
Save the workspace before you click Refresh or Apply. After either of them, Save writes nothing to the workspace and shows no message; use Save As.
Result
The pivot table appears on a page of the report and shows its data arranged by the fields you chose. The original report stays as it was. The new page appears in the Page List, and it stays for you in later sessions if you save the workspace. The table changes no entries and no balances.
If something goes wrong
| Message or situation | Why it appears | What to do |
|---|---|---|
| The Analysis tab does not appear | The report does not support analysis, or it has a ready pivot result. | Use the report as it is. |
| This report does not support analysis. | You clicked Pivot Table and the report has no visible results. | Run the report with conditions that return a result and try again. |
| A pivot table cannot be created according to the selected options | You built the table from a panel whose fields depend on data values. | Clear Use selected page control properties in the insert window and try again. |
| The table does not accept the field you dropped in Values | The field is not numeric. | Drag a numeric field to Values, or use the text field in Rows or Columns. |
| The buttons of the Calculations and Field groups are disabled | No value cell is selected. | Click a value cell. |
| You chose Varp on the ribbon and Var was applied | The ribbon item applies Var. | Choose it from the right-click menu of the cell or in Field Settings. |
| The chart came back after Remove Chart | You went to another page and returned to the pivot table page. | Remove it again. The program does not keep the removal when you move between pages. |
| The field disappeared after you chose Rename from the cell menu | In the cell menu, this command hides the field. | Show the field again from the Field List, and rename it from the field header menu or in Field Settings. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.