Solved

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

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

734 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