|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, May 31, 2012 7:14 AM
Points: 22,
Visits: 152
|
|
| I am trying in Ssrs 2008 but when i used Ceiling(Rownumber(Nothing)/10) it displayed only one row in the report am i doing anything wrong(i have 12 rows)
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, June 10, 2010 12:22 AM
Points: 10,
Visits: 26
|
|
| I am trying the same expression as suggested int he forum to restrict number of records per page to 20. But it does not work. Still it displays 55 records per page.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 08, 2010 4:35 PM
Points: 1,
Visits: 6
|
|
I am using the following as you suggested successfully.
Floor((RowNumber(Nothing) - 1) / Parameters!RowsPerPage.Value)
However, adding this grouping broke the interactive sort that we had in place. The sort currently only sorts those records within each page.
Any suggestions?
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Thursday, October 18, 2012 12:27 AM
Points: 83,
Visits: 473
|
|
Hey it's great to restrict the number of rows per page
I have one problem.i need to restrict the number of pages for report.
I have 100 pages report but my client want only first 20pages, for some reports he want last 20 pages. how can do that???????????
thanks in advance sank
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Friday, May 17, 2013 12:22 PM
Points: 10,571,
Visits: 11,871
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 9:40 AM
Points: 358,
Visits: 2,775
|
|
Hi friends,
I have tried the expression as mentioned above
= Ceiling(Rownumber(nothing)/10)) this worked perfectly in SSRS 2005.
But can some please let me know how to do it in SSRS 2008? There when I right lick the table, it is showing column group and row group separately.
Thanks & Regards, MC
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 9:40 AM
Points: 358,
Visits: 2,775
|
|
Hi All,
I have tried many options in SSRS 2008 to do this but no luck.. :-(
Can some one help me on this please...
Thanks & Regards, MC
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:28 PM
Points: 1,561,
Visits: 6,105
|
|
You can add a row group with a break on the RowNumber expression. However, you have to remove the breaking expression from the Sorting options (the group expression is automatically added to the sorting option).
Peter
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 9:40 AM
Points: 358,
Visits: 2,775
|
|
Hi Peter Thanks for your reply.
It didn't work.
This is what I have tried:
1) In my tablix selected the detail row 2) Right Click --> RowGroup--> Group Properties 3) In General tab, for Group Expression I have give as
=Ceiling(Rownumber(Nothing)/10)
After this when I checked nothing happened, all the records are coming as usual.
4)Then in the Page Break tab I checked the check box " Between Each Instance of the Group "
But after this records came 1 in one page like 100 pages !! as I have total 100 records.
Is the steps what I tried is correct? If not could you please correct me...
Thanks & Regards, MC
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:28 PM
Points: 1,561,
Visits: 6,105
|
|
only4mithunc (12/8/2010) Hi Peter Thanks for your reply.
It didn't work.
This is what I have tried:
1) In my tablix selected the detail row 2) Right Click --> RowGroup--> Group Properties 3) In General tab, for Group Expression I have give as
=Ceiling(Rownumber(Nothing)/10)
After this when I checked nothing happened, all the records are coming as usual.
4)Then in the Page Break tab I checked the check box " Between Each Instance of the Group "
But after this records came 1 in one page like 100 pages !! as I have total 100 records.
Is the steps what I tried is correct? If not could you please correct me...
The problem you describe have been discussed earlier in this thread. Don't set the group expression on the Group Properties of the detail row. You really have to add a new row group to the detail row. Do the following:
1) add a parent group to the detail row (without header and footer). 2) set the group expression of the parent group to =Ceiling(Rownumber(Nothing)/10) 3) select the just added row group and remove the sorting expression in the Group Properties (on the Sorting tab) 4) in the Page Break tab check the check box " Between Each Instance of the Group
That should do.
Edit: added step to set page break
|
|
|
|