Creating Employee Reports with Department Grouping

Published: June 16, 2025
Reading Time: 8 minutes
Author: The Informa Designer Team

Organizing employee data by department is a common reporting need for HR departments and managers. In this tutorial, we’ll create a professional employee report that automatically groups employees by their department, making it easy to see team structures and departmental information at a glance.

What We’ll Build

By the end of this tutorial, you’ll have created an employee report that: - Groups employees by department automatically - Shows department headers with clear visual separation - Lists employee details (name, email, salary) in an organized table - Includes page numbering for multi-page reports - Looks professional and print-ready

Employee Group Report

Prerequisites

  • An Informa Designer account (free tier is perfect)
  • A MongoDB database with employee data
  • Basic familiarity with the Informa Designer interface

Step 1: Create a New Report Template

Let’s start by creating a new report in your dashboard.

Create New Report

  1. Click “Create New Report” in your dashboard
  2. In the designer, click on the “New Report” link
  3. Name it: “Employee Group Report”
  4. Description: “Employee report grouped by department”
  5. Click “Save Changes”

Employee Group Report dialog

Step 2: Connect to Your Employee Data

Before designing, we need to connect to your employee collection.

Data Source Add Button

  1. In the Data Sources section, click “Add Data Source”
  2. Configure the connection:
    • Name: “Employees”
    • Type: MongoDB
    • Collection: “employees”
    • Query: {} (fetches all employees)
  3. Click “Test Connection” to be sure the connection is valid

Employees Data Source modal

  1. Click “Save” to add the data source
  2. Click the refresh button (🔄) to discover fields

Employees Data Source Fields

Step 3: Header Section

  1. Click on the Header Section on the canvas
  2. Set the properties:
    • Height: 100
    • Visible: Yes

Employees Group Report Header Section

Step 4: Design the Report Header

Let’s create an eye-catching header for our report.

Tools Text

  1. Select the Text tool (📝) from the Tools panel
  2. Draw a text element at the top of the canvas
  3. Set the properties:
    • X: 83
    • Y: 0
    • Width: 550
    • Height: 60
    • Text: “Employee Group Report”
    • Font Size: 48px
    • Font Family: Arial
    • Align: Center

Employees Group Report Header

Step 5: Create the Department Group Header

This is the key feature - creating a section that repeats for each department.

Sections Group Header button

  1. Click “Group Header” in the Sections panel
  2. In the modal that appears:
    • Select “department” as the grouping field
    • Click “Create Group Header”

Employees Group Report Add Group Header

Now let’s design the department header:

Group Header Section

  1. Click on the Group Header Section on the canvas
  2. Set the properties:
    • Height: 90
    • Visible: Yes

Employee Group Report Group Header Section

Add Department Name

Tools Text

  1. Add a Text element to the group header
  2. Set the Text to: Department: {{ group.value }}
  3. Set the properties:
    • X: 10
    • Y: 0
    • Width: 350
    • Height: 35
    • Font Size: 24
    • Align: Left

Employee Group Report Group Header Text

Step 6: Create the Detail Section

Now, let’s add a detail section.

  1. Click on the Detail button in the Sections part of the toolbar
  2. Set the properties:
    • Height: 40
  3. Click the Save button

Employee Group Report Detail Section

Step 7: Design the Employee Detail Section

Now, we’ll create the repeating section for individual employees.

Employees Data Source Fields

  1. Make sure you’re in the Detail section
  2. Drag these fields from the Data Sources panel:

Employee Name

  • Drag “name” field to X: 30, Y: 0
  • Font Size: 12px

Employee Email

  • Drag “email” field to X: 298, Y: 0
  • Font Size: 12px

Employee Salary

  • Drag “salary” field to X: 550, Y: 0
  • Font Size: 12px
  • Align: Right
  • Text: ${{ record.salary }} (adds dollar sign)

Employee Group Report Detail Fields

Create Column Headers

Sections Generate Headers

  1. Click on the Generate Headers button under the sections toolbar. This will generate the column headers for each item added to the details section.

  2. Make sure all three column headers have:

    • Font Weight: Bold
    • Font Size: 14px
    • Align Bottom?: Yes
  3. Ensure salary:

    • Align: Right

Employee Group Report Group Column Headers

Add Separator Line

Tools Line

  1. Select the Line tool (➖)
  2. Draw a horizontal line below the headers
  3. Properties:
    • X: 8
    • Width: 700
    • Height: 2
    • Align Bottom?: Yes

Employee Group Report Group Header Line

Let’s add page numbering to handle multi-page reports.

Sections Footer

  1. Click “Footer” in the Sections panel
  2. Click “Save” to save your progress
  3. Add a Text element
  4. Set content to: Page {{ page_num }} of {{ total_pages }}
  5. Set the properties:
    • X: 283
    • Y: 10
    • Font Size: 12px
    • Align: Center

Employee Group Report Footer Text

Step 9: Fine-Tune the Layout

Now let’s make sure everything is perfectly aligned.

Grid Settings

  1. Enable the grid view (⊞) for precise alignment
  2. Turn on snap-to-grid (🧲)
  3. Adjust spacing between sections if needed
  4. Ensure all columns are properly aligned

Pro Tips: - Keep consistent spacing between elements - Make sure field widths in the detail section match header widths - Use the preview frequently to check alignment

Step 10: Preview Your Report

Time to see your grouped report in action!

Report Preview Button

  1. Click the “Preview” button (👁️)
  2. You should see the report layout with placeholders for rendering

Employee Group Report Preview

Step 11: Save and Generate

Report Save and Generate Buttons

  1. Click “Save” (💾) to save your template
  2. Click “Generate” (📄) to create a PDF

Employee Group Report Completed

Understanding Grouping

The power of grouping in Informa Designer: - Automatic Organization: Data is automatically organized by your chosen field - Group Headers: Repeat for each unique value (each department) - Visual Hierarchy: Creates clear sections in your report - Scalability: Works with any number of departments

Advanced Techniques

Adding Department Summaries

You could add a group footer to show: - Total employees per department - Average salary per department - Department contact information

Multi-Level Grouping

Group by department, then by job title for more detailed organization.

Conditional Formatting

Highlight high-performers or salary ranges using conditional expressions:

{{ record.salary > 100000 ? 'high-salary' : '' }}

Dynamic Styling

Apply different colors to different departments using expressions in your styles.

Common Use Cases

This grouping pattern works great for: - Sales Reports: Group by region or salesperson - Inventory Reports: Group by category or warehouse - Student Reports: Group by class or grade level - Project Reports: Group by status or team - Financial Reports: Group by account type or period

Troubleshooting

Issue: Groups not appearing - Verify your data has the grouping field - Check that the field name matches exactly - Ensure data source is properly connected

Issue: Misaligned columns - Use snap-to-grid for precise positioning - Check that detail fields match header positions - Preview frequently during design

Conclusion

You’ve successfully created a professional employee report with automatic department grouping! This fundamental technique opens up countless possibilities for organizing and presenting your data clearly.

The visual report designer makes it easy to create complex grouped reports without writing code, while the template engine handles all the grouping logic automatically.

Next Steps

  • Explore Group Footers: Add summary information for each department
  • Try Nested Groups: Create multi-level grouping hierarchies
  • Add Charts: Include department statistics visualizations
  • Customize Styling: Apply your company’s branding

Ready to create more sophisticated reports? Check out our other tutorials or dive into the template library for inspiration!


Need help with your reports? Join our community or contact support - we’re here to help you succeed!