4

enter image description here

A dynamic list (name, page number) need to be generated to RDLC report. But I need to wrap it to three columns like this. Any solution for this?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
aiyagaze
  • 884
  • 2
  • 8
  • 14

1 Answers1

8

I would set up a matrix like this:

enter image description here

The Row Group is based on the expression:

=Ceiling(RowNumber(Nothing) / 3)

The Column Group is based on the expression:

=(RowNumber(Nothing) - 1) Mod 3

i.e. we're grouping based on the row number of each row.

This gives the required results for your data:

enter image description here

Ian Preston
  • 38,816
  • 8
  • 95
  • 92