Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Page Break on Division Name and Grand Totals for a MS Reporting Services 2008 report

Posted on 2013-06-16
4
Medium Priority
?
522 Views
Last Modified: 2013-07-16
Hello experts,

   Refer below for the report layout that I need to create in a report definition file using Microsoft Reporting Services 2008 in Visual Studio 2008. Note:There are two different PlanID's in this SQL Server 2008 R2 dataset.

PlanID 1
FundName       Amt1    Amt2   Amt3   Amt4   Amt5   Amt6   Amt 7    Amt8    Amt 9    Amt10

DivisionName 1

FundName1     100       150      75        400      50        350      800       600       780        100
FundName2     100       150      75        400      50        350      800       600       780        100
FundName3     100       150      75        400      50        350      800       600       780        100
etc
DivisionName1
  Totals             xxx        xxx      xxx        xxx      xxx       xxx       xxx       xxx        xxx        xxx

Same layout but DivisonName2 would be on a separate page for the same PlanID.    

  How would I do the following to achieve the layout mentioned above: What fields would be in the row group? Do I need to have another group under the main row group? Page break for each instance of a DivisionName for that PlanID? Summary totals for each Amt field for each DivisionName for that PlanID? A page break on the second PlanID? Finally, a Grand total of the Amt fields for both planid's?

   If you have any questions just let me know.

Thanks for your help,
Ting
0
Comment
Question by:pensiongenius
  • 2
  • 2
4 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 39255313
Your row groups would look like this:

Plan ID
....DivisionName
........(Details)

When adding the groups, select the Add Group Header/Footer checkboxes, you can always delete them later if it turns out you don't need them.

In the group properties of the DivisionName group activate the Between each instance of a group setting in the Page Breaks page.

Add additional colums and put the fields in as appropriate.  When you put a field in one of the group header/footer cells it will automatically use the Sum() aggregation, resulting in your totals.
0
 

Author Comment

by:pensiongenius
ID: 39331260
Hi ValentinoV,

    Sorry for the delay in responding back to your comment. I tried your recommendation and it worked.

Thanks for all your help,
Ting
0
 

Author Closing Comment

by:pensiongenius
ID: 39331263
His recommendation worked and he explained it in way that I understand.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39331528
Glad to hear I could help you out!
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

916 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