Use the Group By dialog in the Table Layout tab to insert the context and the path/field to use for grouping.
If you want to merge the content with the first row of the table, check the "Merge content with first row" option.

See the How To section for a dynamic data grouping example.