I'm getting more than 200 records (for example, however, the number of records are dynamic) in a single table column in SSRS. I would like to do a line break after 25 records.
ReportTable result (Just an example):
Value
-----
jklsa
dfv
b
grt
trj
h
muik
rg
kuu
wd
gb
nm
wef
Final Rrport table desired output:
Values
-----------------
jklsa |muik | wef
dfv |rg |
b |kuu |
grt |wd |
trj |gb |
h |nm |
That is, after introducing line break, the records has to be moved to the "right side".
So, in this case instead of single column with 200 records, It should be 8 columns [column name can be same] each having 25 records.
This is what I have tried :
=IIF(CountRows(Fields!Request_Number.Value) > 25,vbCrLf,Fields!Request_Number.Value)
and
=IIF(CountRows(Fields!Request_Number.Value) > 25,Fields!Request_Number.Value, "") & vbCrLf
However, it throws error:
"The value of expression has a scope parameter that is not valid for an aggregate function"
Hope I have explained this correctly. What am I doing wrong? how to get the correct result? Thanks