Custom Reports: Grouping Methods

Custom Reports: Grouping Methods

Custom Reports Grouping methods

Grouping Methods Overview

Group Headers 

Within the Reports Designer, the group header function is used to consolidate the data by a set value. In the example provided later, the report is grouping by the employee and then by the date, so we want to see the details of the report consolidated by user and by date. 

Group Footers

The group footer is a continuation of the header, however this allows us to display totals and other values by employee and then by date. In the example later on, we’ve selected total hours for that employee, as well as by the date specifically worked.

Inserting a Grouping Method

  1. Right-click in the Report Designer screen and selecting the Insert Band dropdown.
  2. Choose either “GroupHeader” or “GroupFooter.”

Group headers Layout

  1. Group Header – Displays the value when the report is run.
  2. Group Fields – This section indicates what is being used to group by and in what order 
  3. Example: In the image below, we are grouping by "Employee.Code,” then by “Employee.FullName,” and then by “Employee.Id.”
  4. Plus and Minus Icons – Select to insert or remove a group field.
    Note: ID is needed in most cases to identify the user or job within WorkMax. 



Group footers Layout

  1. Day Group Footer.
  2. Employee Group Footer.
  3. Level – Located in the Behavior section, this determines what level of grouping the totals will display. 
    Example: While the total calculations are the same in both the Employee and Day group footers (for example,
    sumSum([RegularTotal]), the difference is in how they are grouped. The totals are calculated based on either the date or the “Employee.Id” selected in the Group Header. The group level determines this behavior — in the band properties, the “0” input for the Level field corresponds to Day Total row, and the “1” input corresponds to Employee Total row.