Solved

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

Posted on 2013-01-14
3
717 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now