Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Page breaks in columns of one table in ssrs page Expand / Collapse
Author
Message
Posted Wednesday, October 2, 2013 1:36 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, October 7, 2013 9:50 AM
Points: 1, Visits: 2
I am creating a SSRS 2008 Report in my report i have 200 columns, it is difficult for visualizing purpose, is there any way in SSRS by which i can show 20 column per page with row hearer in each page.

ex..

|columns | u_id | u_val u_name | u_sal | u_desg | u_add1| u_add2 | col1| col2| col3| 10 | 11 | 12 |13 | 14| 15| ...................................................................................................................................................................................................
rows1 2010 5 4 sri 700 SSE
rows2 2011 9 test 500 TL ffg dfd df df
rows3 1 2 tett 500 SE
rows4
can i break to show only 20 columns in first page & remaining 20 second page & show on with column heaer repeat in each page


Thanks

Srinivas
Post #1500898
Posted Thursday, October 3, 2013 8:11 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Today @ 7:15 AM
Points: 585, Visits: 2,098
If you size your columns appropriately SSRS will do this for you. I usually have to work to have it not do this. I'm not sure if the page header will repeat or not, as I said, I usually try to get rid the columns breaking into two pages.

If the header doesn't repeat you could always try disabling it and recreate the header in the body of the report in a rectangle. Something like this:

[Rectangle1 with [Recangle2 with
Header stuff] headerstuff]
C1, C2, C3...C20 C21..C40, etc

Does that make sense? I don't envy you, even if what I did works for you, it's still going to be a major Pain to make this work. So what do the users do with this report? Do they print it out and lay the pages side by side to view the data?



Post #1501209
Posted Friday, October 4, 2013 5:37 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Yesterday @ 5:19 AM
Points: 1, Visits: 449
For the page breaks select the column in the Row Groups section (bottom left of the designer window), then expand the Group property then PageBreak. Add an expression using the RunningValue command in the Disabled property to evaluate into whenever you want a break such as:

=iif(runningvalue(fields!ID.value,count,"enter tablix control name here") mod 20=0,false,true)

For the repeating headers try right click the row, Tablix Properties, then Repeat header columns on each page.

That should do it.
Post #1501537
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse