I have the same problem and after searching a lot I could do it this way, I have to repeat and display a product label based on a number, for example in my table label that I have:
ItemId | Barcode | CustName | LabelQty
001 | 123abc | Jhon | 3
So in this case I need to repeat the same label 3 times.
I achieved this by grouping the table by a value that count the number of times to be repeated.
ItemId | Barcode | CustName | LabelQty | Counter
001 | 123abc | Jhon | 3 | 1
001 | 123abc | Jhon | 3 | 2
001 | 123abc | Jhon | 3 | 3
In my case the 3 labels are the same so I fill only the first row with label data in order to reduce the data to process, like this:
ItemId | Barcode | CustName | LabelQty | Counter
001 | 123abc | Jhon | 3 | 1
null | null | null | null | 2
null | null | null | null | 3
in the field expresion I use =first(field.value, 'datasource')
to find the row with data.
if you have to repeat different values I suppose that you have to fill all rows.
hope this helps.
sorry for bad english.