---
title: "Report fields"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/reporting/report-fields/
type: reference
application: platform
last_updated: 2026-10-18
commit: 12d1e9ae1b18
---


This reference lists the fields of a report definition, grouped by the part of the form they appear in. Use it while you follow [Create a report](page:reporting/create-a-report).

## General

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Name | String | No | | The report's name, for example "Active SLAs by group". |
| Description | String | No | | A longer description of the report. |
| Title | String | No | | The title shown when the report is on a dashboard. |

## Primary table tab

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Primary table | Table | No | | The table the report runs on, for example Incident. |
| Primary query | Condition | No | | Filters the primary table's records, for example Closed is false. |

## Secondary table tab

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Use secondary table | Boolean | No | When on, the other fields on this tab appear. | Joins a second table, for example to group SLAs by the incident's assignment group. |
| Secondary table | Table | No | | The table joined to the primary table. |
| Secondary query | Condition | No | | Filters the secondary table's records, for example Active is true. |
| Primary join field | Field | No | Must match **Secondary join field**. | The primary table field used for the join, for example ID. |
| Secondary join field | Field | No | Must match **Primary join field**. | The secondary table field used for the join, for example Parent. |

## Grouping and aggregation

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Use group by from primary table | Boolean | No | Defaults to on. On shows **Primary group by**, off shows **Secondary group by**. | Chooses which table the grouping field comes from. |
| Primary group by | Field | No | | The primary table field that groups the results, for example Assignment group. |
| Secondary group by | Field | No | | The secondary table field that groups the results. |
| Group by full range | Boolean | No | Applies to choice and boolean fields. | Shows every value of the field, even values with no records. |
| Use stack by from primary table | Boolean | No | Defaults to on. On shows **Primary stack by**, off shows **Secondary stack by**. | Chooses which table the stacking field comes from. |
| Primary stack by | Field | No | | The primary table field that stacks the results, for example Priority. |
| Secondary stack by | Field | No | | The secondary table field that stacks the results. |
| Stack by full range | Boolean | No | Applies to choice and boolean fields. | Shows every value of the stacking field, even values with no records. |
| Use aggregation field from primary table | Boolean | No | Defaults to on. On shows **Primary aggregation field**, off shows **Secondary aggregation field**. | Chooses which table the aggregated field comes from. |
| Primary aggregation field | Field | No | | The primary table field to aggregate. |
| Secondary aggregation field | Field | No | | The secondary table field to aggregate. |
| Aggregation type | Choice: Average, Sum, Min, Count, Max | No | | How the results are aggregated. |
| Duration type | Choice: Milliseconds to Years | No | Applies when the aggregation field is a duration. | The unit a duration is shown in. |
| Decimal places | Choice: 0, 1, 2 | No | Applies when the aggregation field is a duration. | How many decimal places a duration is rounded to. |
| Period type | Choice: None, Hour, Day, Week, Month, Year | No | Applies to date and date-time grouping or stacking fields. | The period records are grouped or stacked by. |
| Record limit | Choice: None, 5 to 10000 | No | Defaults to None. | The maximum number of records returned. Set it on large tables to keep the report fast. |
| Aggregation order | Choice: None, Ascending, Descending | No | Defaults to None. | The order of the aggregated results. |
| Disable drill down | Boolean | No | When on, the report loads faster. | Stops users opening the records behind the report. |

## Appearance

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Template category | Choice | No | | The type of chart to render, for example Column. |
| Template | Reference (Report template) | No | | The rendering variation of the chart type, for example a stacked column. You can create your own. |
| Theme | Reference (Report theme) | No | Optional. | Styling for the chosen template, for example Dark. |
| Effects type | Choice: 3D | No | Optional. | An extra styling effect. |
| Post processing | Boolean | No | Only administrators can read or edit it. When on, **Configuration** appears. | Turns on the post-processing script. |
| Configuration | Code | No | Only administrators can read or edit it. | A script that changes the chart options generated from the template and theme. |

## Security

| Field | Type | Required | Behaviour | Purpose |
| --- | --- | --- | --- | --- |
| Private | Boolean | No | Defaults to on. Only users with `report_editor` can change it. | When on, only the creator and administrators see the report. When off, the report is shared, subject to the fields below. |
| Roles | Multiple reference (Role) | No | | Limits the report to users with one of the roles. |
| Groups | Multiple reference (Group) | No | | Limits the report to members of one of the groups. |
| EntitlementScript | Code | No | Only administrators can read or edit it. | A script for more complex restrictions on who sees the report. |

## Related

- [Create a report](page:reporting/create-a-report)
- [Report rendering customisation](page:reporting/customise-rendering)
- [Build a dashboard](page:reporting/dashboards)
