This article explains how to report on your department and team hierarchies in Analytics. If your company has sub-departments or sub-teams, you can report on each level of that structure. For example, you can compare headcount across the sub-departments of one department.
Each level of your hierarchy is called a layer. For example, if Sales contains EMEA, and EMEA contains Enterprise, then Sales is layer 1, EMEA is layer 2, and Enterprise is layer 3. You can have up to 10 layers for departments and up to 10 for teams.
Each layer is an attribute that shows one level of your hierarchy. For example, a report grouped by layer 2 shows your results for each layer 2 group. The Department and Team attributes work as before, and saved reports that use them stay unchanged.
Before you start
- Set up your department and team hierarchy. Layers appear in reports only if your company has one. Learn how to set up departments and teams.
- Required permissions: Administrators can build reports. Other employees need an employee role with edit access to Configuration > Reports and access to the relevant employee attribute data. Learn how to grant employees permission to create reports.
Add layers to a report
Add layers to a report to compare headcount across sub-departments or sub-teams. For example, you can see how many employees work in each area of a large department.
In the attribute picker, each layer appears with its name followed by its number, for example, Department Layer 1. The number next to Department layers shows how many layers your company has.
- Go to Analytics.
- Create a new report or open an existing report. Learn how to create a report.
- In the Data section of the Chart configuration panel, click Add.
- Expand Department layers and select the layers you want to include. To report on teams, expand Team layers instead.
- Click Add to confirm.
- Select the date range above the table.
- Save the report.
Understand Unassigned and deleted values
Two values in layer reports can look like errors, but they are expected: Unassigned and (deleted).
Unassigned appears when an employee has no value for a layer. This happens when some groups have fewer levels than others. For example, an employee who has a layer 1 value but no layer 2 value shows as Unassigned in a report on layer 2. This keeps your totals complete.
(deleted) appears after a name when you delete a department or team but report on a period when employees were still assigned to it. For example, if you delete a layer 2 group in June and report on the full year, the months before June show its name followed by (deleted).
The following table shows a headcount report grouped by layer 1 and layer 2. The Unassigned row counts employees who have a layer 1 value but no layer 2 value.
| Department Layer 1 | Department Layer 2 | Headcount |
| Sales | Solution Eng | 25 |
| Sales | Unassigned | 2 |
| Sales | Account Management | 100 |
| Marketing | Brand | 55 |
Filter by layers
Filter by a layer to focus a report on one part of your organization. For example, filter by layer 2 to see only the employees in a specific layer 2 group.
- Open the report.
- Click Filter above the table.
- In the Filter by window, expand Department layers and select a layer, for example, Department Layer 1.
- Select an operator and enter the value to filter by.
- Click Add rule or Add group to combine more conditions. Choose how they combine, for example, Matches all of.
After you apply a filter, the Filter button shows the filter name. Click the X icon next to it to remove the filter.
A filter on a layer includes all employees in that layer and in the layers below it, so counts can be higher than you expect.
Segment by layers
Segment a report by a layer to split your results into groups. For example, segment headcount by layer 2 to compare the layer 2 groups side by side.
- Open the report.
- In the Segment by section of the Chart configuration panel, click Add.
- Expand Department layers and select a layer.
- Click Add to confirm.
Drill down to employee data
Drill down to see which employees make up a number in your report. For example, check who is counted in the headcount for a sub-department.
- Open a report that uses layers.
- Select the data point you want to review.
- Review the employees included in that number.
Track employee moves between layers
Use an employee change report to see when an employee moved to a different layer.
- Go to Analytics.
- Click Create report and select Employee change blank report, or open an existing employee change report. Learn more about creating reports.
- Select a department layer or team layer as the change attribute.
- Review the old value, the new value, and the effective date of each change.
Access layer data through the API
API access for layer attributes is available only through V2. Learn how to use the Report API v2.