This article explains how to summarise a report result in Teamso instead of exporting it and building a summary table in Excel by hand. The Summary view answers questions such as "employees per department" or "total overtime per branch" with one choice: it shows the record count of every group, adds up the number columns and picks a suitable chart. You use it in the Result step of the wizard and when you open a saved report.
Before you start
To open a saved report you need View Report List; to build a report and save it with its summary you need Add Report List (Reports module overview).
The report needs a column to group by (for example Employee › Department, Branch › Name, Leave › Leave Type). For totals, also select a number column (for example leave days or overtime hours).
Step by step
Run a report (Creating a custom report) or open a saved one in My Reports (Running a saved report).
Above the result, select the Summary tab next to List.
In Summarise by, choose the column to group by. Teamso first picks a column such as department, branch or position itself; choose another one from the list to change it. Columns show the table they belong to, for example Name (Branch), so an employee's name and a branch name are not mixed up.
The table shows one line per group: Records and the chosen calculation of the number columns. The last line is the Grand total; it always equals the total of the rows in the list.
Rows with an empty value are grouped under (Empty).
If there are number columns, choose which ones to calculate in Calculated columns and the calculation in Calculation: Total, Average, Lowest, Highest or Distinct values.
To split the rows by a second field as well, choose a column in Second field (pivot) (for example departments as rows and branches as columns). The table becomes a pivot table; in Value, choose what the cells show (Records, or a number column and its calculation). Row and column totals show in Grand total. To go back to one field, select the cross in the second field.
In Chart, choose the chart type. With Automatic, Teamso shows a pie chart for a few groups, a line chart when you group by a date column and a bar chart otherwise. Bar, Line and Pie choose it yourself; No chart hides the chart. With several values, choose the one the chart shows in the list at the top right of the chart; the image icon downloads the chart as a PNG.
To see the rows of a group, select the group name in the table (in a pivot table, the number in a cell) or its bar in the chart. The List opens with only that group's records and the chosen group above it. Back to summary returns to the summary.
Choose Excel file in the Download menu. With the summary open, the file has two sheets: Summary with the summary table and Details with the rows. Both are made from the same rows; if you narrowed the result with the search, both hold the rows that match it.
In the wizard, save the report with Save Report. With the summary open, the grouping, calculation and chart you chose are saved with the report; a report saved in the List view is saved without a summary.
Result
A report saved with a summary opens in My Reports with the same summary and chart every time, with current data. Switch to List to see the rows.
When the report is e-mailed on a schedule, the Excel attachment has a Summary and a Details sheet and the PDF attachment has the summary table before the rows. CSV is one table and carries the rows only.
The summary shows at most 1000 groups; with more groups a note says so and the Details sheet of the Excel file has every row.
Common issues
Symptom: There is no Summary tab.
Cause: The result is empty, or the report has no column to group by (only number columns are selected).
Fix: Loosen the conditions, or add a column such as department or branch in the Columns step.
Symptom: The identity number or the phone is not in the Summarise by list.
Cause: These columns are masked for you, and a masked column can never be a grouping or pivot field. A summary saved by these columns opens without the summary for someone who may not see them, and their scheduled e-mail has no summary sheet either.
Fix: Group by a column such as department or branch.
Symptom: A number column is missing from the calculated columns, or its total is lower than expected.
Cause: Values masked for you (for example the salary in an attachment sent outside the company) and empty cells are not calculated; code list fields (for example Gender) are used as groups, not as numbers.
Fix: Check the permission of the person who should see the value; choose a code list field in Summarise by.
Symptom: The same employee is counted more than once.
Cause: When you select more than one table, a record repeats once for every matching row (for example, each leave of an employee is a separate row).
Fix: For a head count, select only the employee table; if you also need a table such as leave, keep in mind that the count is then the number of leave records.


