Introduction to Grouping
Grouping provides the ability to calculate, group and format attributes in a row or column data segment.
A grouping may only contain one data row segment, you can optionally include one or more formula, text and/or separator segments. These non-data segments can be before and/or after the data segment. For example, you can add a SUM formula segment after the data segment to calculate subtotals for each attribute combination; you can also add a text segment before the data segment with a text function to display the Attribute or alias for the current attribute in the grouping.
You can add a grouping if there are at least two attributes in the columns.