Solved

SSRS Subreport Not Displaying in Main Report

Posted on 2014-04-25
3
3,813 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
[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
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

729 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