Solved

Can you do a page break dependent on whether a group is expanded in SSRS 2008?

Posted on 2013-01-14
3
729 Views
Last Modified: 2013-01-22
I have a report that has a page break at group level (person). I've just received a request to amend the report so that it has another group level (department) now so that we can get overall stats per department.

I want the report to initially just display the department and person without person detail so I've set visibility on the detail row group to be hidden with a toggle on the department name (as they will either want it printed in expanded form with detail row group details or summarised by person by department).

The problem I'm getting is that the page break is still being applied at person level so I get a page with one person line on it irrespective of which department they're in. I only want the page break by person if the report has the detail row group expanded. Is there a way of only applying page breaks on whether a group's detail has been expanded please?
0
Comment
Question by:Grffster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
liija earned 500 total points
ID: 38800386
It's not possible to have conditional page breaks.

However, you could add two tables on your report.
- Add a new parameter for the user to choose - what is the detail level (department/employee)
-> You show or hide the two tables depending on the parameter value
- The other one has page breaks on employee, other one on department level
- You could also add a link to the department - which would show the employee-level report/table

Having two tables with same cols and rows increases of course maintenance work - but that's one approach.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to increase the row limit in Jasper Server.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question