Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Merging 2 SSRS reports

Posted on 2014-03-06
6
Medium Priority
?
779 Views
Last Modified: 2014-04-03
hi

I have 2 SSRS reports , which i want to combine in one report , and generate one output , I know i can do that , by calling each of them as SubReport in one SSRS Report , but if i do that , it will hide the header of the reports , and it will be totally wrong.
0
Comment
Question by:BeyondBGCM
[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
  • 2
6 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39911699
Headers and footers are indeed ignored when using subreports.  The reasoning behind that is that the header/footer of the main report is rendered and there can be only one header/footer.  So you'd have to recreate the header in the main report for it to be rendered in combination with the subreports.

If the above won't work for your case then only on option remains: create a new report that contains the content of both reports.  You'll have to ensure that the same datasets exist, that's a manual step.  Once you've got that, you can copy/paste most of the stuff.  A tablix for instance can be moved to another report by using copy/paste.  The only requirement for this to work is to have the same dataset (with the same name) as in the old report.

Let me know if you have any question about this.
0
 

Author Comment

by:BeyondBGCM
ID: 39941530
some how , this is not very clear to me , with above message, can you please elaborate little more.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39941597
Please explain what part is not clear...

The main message is: you cannot use headers or footers in subreports, they will not be rendered.
0
 

Author Comment

by:BeyondBGCM
ID: 39944807
If the above won't work for your case then only on option remains: create a new report that contains the content of both reports.  You'll have to ensure that the same datasets exist, that's a manual step.  Once you've got that, you can copy/paste most of the stuff.  A tablix for instance can be moved to another report by using copy/paste.  The only requirement for this to work is to have the same dataset (with the same name) as in the old report.

do you mean , that we should use , 2 tablix for one report, and both will contain different data....?
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 1500 total points
ID: 39952739
Well, indeed!  A report can have several different data sources, datasets and tablixes.  So you don't necessarily need to split that up into different subreports.  Subreports have the advantage that they can be used in more than one report though...
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

705 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