# Group

## Content

The group property allows you to group data in template.
**Value:** Enum
*G=Normal*: The group by field(s) value is not repeated for the corresponding records in the column; instead they are printed once per data group.
*G=Merge* (default value): The same behavior as for the normal parameter, except that it merges the cells in the group by field(s) for each group set.
*G=Repeat*: The group by field(s) value is repeated for the corresponding records.
*G=List*: The field(s) values are listed independently for the corresponding records.
**Example**
{{ds.field(G=repeat)}}
{{ds.field(G=list)}}
The below image shows how to apply 'merge' grouping on repeating data. You can also download the [Excel template layout](https://cdn.mescius.io/document-site-files/images/e333ad47-35da-43f9-a389-25433765f491/templates/setgrouptype%5Btemplate%5D.xlsx) used in below example.

![DsExcel template and generated report showing repeated data merged into groups with the G=Merge template property.](https://cdn.mescius.io/document-site-files/images/e333ad47-35da-43f9-a389-25433765f491/images/group.png)