Linq Reporting Multi Nested table with dynamic Columns

Hi, I am trying to generate nested table with dynamic columns
such as below linq reporting


outputting table like

However, I want to output (R2, R21), (R4, R41) and (R6, R61) as columns instead of rows. When I changed my Word foreach of nested table <<foreach [r in d.Rears] -horz >><<[r.Name]>> and add -horz it fails and throws exception

> ## InvalidOperationException: Tag 'foreach' is not well-formed. A data band or conditional block affecting table columns cannot be in a nested table if the table is in a cell occupied by another data band or conditional block affecting table columns.

@murtaza.dhari

Unfortunately, you have encountered the current limitation of the feature and the exception literally says what is the reason. Maybe, it is possible to use another way of representing data with less nested tables?

Hi @ivan.lyagin I am working on complex table structure and need to build table like below. The no block width and depth are unknown so needs to be generated dynamically.

Do you have any suggestions?

@murtaza.dhari

As far as I see, there is no need to nest one table with a column data band into another table with a column data band (which is the reason of the exception) and the template you shared in the first comment should provide an expected result. Is something else expected?