Be able to use Document Generation to produce a report that has "header" information, then a number of rows that relate to the header.
Currently it is possible to query a table to get the header information, then "Loop for each" to do a second query on a related table to get the rows of 'detail' per header (second query will be many to one relationship with the first query).
However it is not possible to use the detail data in the second query as repeating rows PER header, within Document Generation.
Help documentation says this is currently not supported: https://help.nintex.com/en-us/nwc/content/Designer/Actions/GenerateDocument-RepeatDataMSWord.htm