# 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/dd59ea42-cd61-4fa6-a018-6231c2a9c598/templates/setgrouptype%5Btemplate%5D.xlsx) used in below example. ![Group](https://cdn.mescius.io/document-site-files/images/dd59ea42-cd61-4fa6-a018-6231c2a9c598/images/group.png)