Create Subgroups
In addition to creating parent-child structures by linking two datasets, you can also group elements in the same dataset by other elements.
Creating subgroups might be helpful if your query returns data that has header data repeated for each detail row. By creating a subgroup you can shape the XML data for better, more efficient document generation.