Adding grouping to reports with tables is easy. To do that, we need to put the group header band before the table component and the group footer band after the table. Grouping criteria are specified in the Group Header component. Place a text component that outputs the grouping criteria in the Loop Header band. Group the table according to the specified criteria. Below is a grouped table.
The image below shows a report with groupings and tables.