The "keep together" functionality of SSRS applies to the whole control, be it a table, matrix or list. That's a bit counter-intuitive when what you want is to keep groups together.
You can still do it, though, by embedding your table in a list.
Add a list to the report and set its Detail Group to the same group option as the top level group of your table. Then drop the table into the list and check the table's "keep together" option.
This way you don't have a single table control, but several - one for each top level group - and the "keep together" option of each will give you the desired effect.
Main Topics
Browse All Topics





by: expertsoulPosted on 2009-01-22 at 13:23:28ID: 23443804
Not sure if it is what you need. But, it is something similar, which I though you may be able to fit into your requirement.
We have NTILE Function in SQL Server 2005.
I have attached an example below which you can run on adventureworks. Here ..If total count is greater than 200 it will divide the total rows into two equal columns. You will get final resultset with last column as 1 or 2, which you can map to your columns in display.
Order will be maintained based on ORDER By clause in NTILE statement.
Select allOpen in new window