Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email

CONTROLLING THE NUMBER OF ROWS PER PAGE IN REPORTING SERVICES

Part one of a four-part series of blogs

Unfortunately, Reporting Services doesn't have a simple setting that allows you to control the number of rows you see on each page. However, you can control this using a clever combination of an expression with a grouping level. Read this blog to find out how!

  1. Controlling the Number of Rows in Reporting Services (this article)
  2. Using Groups to Choose the Number of Rows per Page
  3. How the Ceiling and RowNumber Functions Work
  4. Using Parameters to Control the Number of Rows
Posted by Andrew Gould on 11 May 2012 | 3 comments

Controlling the Number of Rows in Reporting Services

In Reporting Services when you add a table to a report you have no direct control over the number of records that appear on each page.

Rows per page

In this table of films we get 48 rows on the first page of the report.

Changing the Page Size of a Report

The number of records you see on each page is determined by the size of the page the report uses.  You can change the page size of a report by choosing Report > Report Properties... from the menu.

Choosing page size.

On the Page Setup tab of the dialog box you can change the Paper size: option to alter the number of records per page.

 

 

Although changing the page size of the report affects the number of records you see, if you really want to control the number of rows per page you need to use a more sophisticated approach.  The next part of this blog series explains how you can use grouping and expressions to set a precise number of records per page.

CONTROLLING THE NUMBER OF ROWS PER PAGE IN REPORTING SERVICES

Part one of a four-part series of blogs

Unfortunately, Reporting Services doesn't have a simple setting that allows you to control the number of rows you see on each page. However, you can control this using a clever combination of an expression with a grouping level. Read this blog to find out how!

  1. Controlling the Number of Rows in Reporting Services (this article)
  2. Using Groups to Choose the Number of Rows per Page
  3. How the Ceiling and RowNumber Functions Work
  4. Using Parameters to Control the Number of Rows

Comments on this blog

This blog has 3 comments:

Comment added by on 07 November 2012 at 08:15 GMT

i have tried parameter to control no of rows its working by using parent group but in case if i dont need these parent group so what should do for that?

means i need only row column(i want to skip paraent group column) .....i have tried on deatil group but it is not showing proper output.

 regards

tejas

Reply from Andrew Gould (blog author)

Hi,

You can happily delete the column which displays the parent group information - there's no need to display it in the table.  I've included it in the screenshots just to make it more clear what's happening.

 
Comment added by John on 14 November 2012 at 07:25 GMT
Hi, 

after following your steps, my grouping still doesn't work. Suppose the report should display 5 rows per page, however, it does not behaves that way. Any idea what's wrong?
Reply from Andrew Gould (blog author)

Hi,

Without seeing what you've done it's a bit difficult for me to guess what might have gone wrong.  When this happens to me I always find it best to start again in a fresh report and follow each step carefully.

 
Comment added by mohammad on 02 January 2013 at 08:35 GMT

hi

go to the group properties and then page breaks and checked the "Between each instance of group"

Good luck

All content copyright Wise Owl Business Solutions Ltd 2013. All rights reserved.