Solved

SSRS Subreport Not Displaying in Main Report

Posted on 2014-04-25
3
3,437 Views
Last Modified: 2014-05-06
I'm using BIDS to develop a report in SSRS 2012.
The main report shows responses to a survey on courses being taken; there are five questions, the first four allowing answers in the format 1 to 4 (i.e. 1= Poor, 2 = Satisfactory etc.). The fifth question is a simple Yes/No. The report aggregates the responses and shows as a percentage, so for example, English Language may have 13% saying the course content is 4 (Excellent). So far so good for the first four questions.
However, because the fifth question is in a different format I've created a sub-report so I can show the responses as % Answering yes v No.

The main report has no parameters and has groupings on course and course Level; the sub report also groups on Course and Course Level, and takes input parameters on Course, Course Level and a third parameter (@Recommend) which tells the stored procedure it only wants to see the responses to the fifth question. The @Recommend parameter is hard-coded into the subreport datasource; the other two parameters are entered manually if the report is run stand-alone, or are passed from the main report.

The sub-report works fine if run on its own. It also works if I embed it within the Tablix of the main report which I tried to test if it was passing the parameters correctly. However, if I place it below the tablix of the main report it does not display. Is there something I'm missing or doing wrong?
0
Comment
Question by:Karl_mark
  • 2
3 Comments
 

Author Comment

by:Karl_mark
ID: 40022611
Actually, scrub some of the question! I figured out why it wasn't displaying at all; The main report was missing the grouping on Course Level.
So, the question now becomes, how can I get the subreport to appear for each group and not at the end of the report?
0
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
ID: 40025147
The  sub-report has to be placed inside the group. Also make sure that your subreport is running correctly (the sub-report is just a regular standalone report  that is added to the main report). And that your parameters right being imported into the subreport.
0
 

Author Closing Comment

by:Karl_mark
ID: 40043820
Thanks Planocz. I did figure out the putting it inside a group bit, but I'll give you the points anyway!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

920 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

12 Experts available now in Live!

Get 1:1 Help Now