Grouping records
Learn how to group records in NocoDB.

Grouping records in NocoDB helps you organize data by categories using Groups and Subgroups. You can group records by up to three levels, making it easier to analyze and navigate complex datasets.
Add or edit groups
- Click Group By in the toolbar.
- Select the field to group records by.
- (Optional) Sort the groups in ascending or descending order.
- (Optional) Use
+ New Subgroupto create a subgroup within the selected group.

You can add up to three levels of grouping to further refine your data view.
Enable or disable a group
You can switch a grouping off without removing it, then turn it back on later with the same settings intact.
- Click Group By in the toolbar.
- Use the checkbox next to a group to enable or disable it.

A disabled grouping keeps its field and sort configuration, so it is handy for temporarily flattening the view or comparing grouped and ungrouped layouts without rebuilding the setup.
Delete groups
- Click Group By in the toolbar.
- Click the 🗑 icon next to the group you want to remove.
To return to the standard grid view, remove all configured groups.

Group level field aggregations
You can perform aggregations on fields at each group level. This allows you to summarize data within each group, such as calculating totals or averages.
