Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS - Prevent pagebreak in the middle of a row group

I have an SSRS report that gets exported to PDF and then printed on to paper. The problem I am having is that I am getting page breaks in the middle of a group.

I have MetricGroup - MetricSubGroup and Details. Those are my Row Groups.

I have several different MetricGroups in the report.

I need to make it so that my report will not break in the middle of a MetricGroup.

So right now I get lets say 2 metric groups and half of the 3rd metric group on page 1. Page 2 contains the second half of the 3rd metric group and so on.

I need SSRS to push a metric group to the next page if the metric group does not fit entirely on the current page.

Is this possible to accomplish?

like image 340
Juan Velez Avatar asked Mar 11 '23 20:03

Juan Velez


1 Answers

You need to use the KeepTogether option - but bear in mind this is a "best endeavours" process - for instance, you couldn't keep two thousand rows together on one page.

Another approach is to force page breaks and certain parts of the report.

like image 112
BIDeveloper Avatar answered Mar 19 '23 11:03

BIDeveloper