?
Solved

Display columns for only students in class on each page

Posted on 2014-11-06
2
Medium Priority
?
173 Views
Last Modified: 2014-11-06
Given a dataset like this I am trying to create a classroom report.

Classroom      Student Name      Question Number      Correct      Teacher
CL400      John      1      Y      Mary
CL400      John      2      Y      Mary
CL400      John      3      N      Mary
CL201      Fred      1      N      Benjamin
CL201      Fred      2      Y      Benjamin
CL201      Fred      3      N      Benjamin
CL400      Bob      1      N      Mary
CL400      Bob      2      Y      Mary
CL400      Bob      3      N      Mary
CL201      Lindsey      1      Y      Benjamin
CL201      Lindsey      2      Y      Benjamin
CL201      Lindsey      3      Y      Benjamin
CL201      Mark      1      N      Benjamin
CL201      Mark      2      N      Benjamin
CL201      Mark      3      Y      Benjamin
CL201      Debbie      1      Y      Benjamin
CL201      Debbie      2      N      Benjamin
CL201      Debbie      3      N      Benjamin
CL400      Jennie      1      Y      Mary
CL400      Jennie      2      Y      Mary
CL400      Jennie      3      Y      Mary


I tried creating a SSRS report using a matrix table. For row group Parent group is Teacher, child group classroom, child group question number.

I setup column group to student name. In detail I put Correct field value.

When the report is run all students are shown across top instead of just the ones that are in the classroom. There are blank values in the detail for those students that are not in the class.

Mary's class has 3 students so should show 3 students/columns at top on her sheet.
Benjamin's class has 4 students so should only show 4 students/columns at top
Does a SSRS matrix report not do what I want? If so what could I be doing wrong?

Output needed:
Sheet 1                        
                        
Teacher:      Mary                  
Classroom:      CL400                  
Questions      John      Bob      Jennie      
1      Y      N      Y      
2      Y      Y      Y      
3      N      N      Y      
                        
                        
                        
Sheet 2                        
                        
Teacher:      Benjamin                  
Classroom:      CL201                  
Question      Fred      Lindsey      Mark      Debbie
1      N      Y      N      Y
2      Y      Y      N      N
3      N      Y      Y      N
0
Comment
Question by:troyzoschke
[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 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 1500 total points
ID: 40427245
The single matrix report cannot do what you want directly.

Instead, you need to have the teacher as a parameter and generate each report separately.

Alternatively, you could have each teacher's report as a subchart, feeding each teacher's name as a parameter to the subchart.
0
 

Author Closing Comment

by:troyzoschke
ID: 40427260
Got it I thought that might be the case.  Subreport could work I'll look at that.
Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Steps to solve SSRS SQL 2008 R2 User Access Control (UAC) Permission Error With the introduction of SQL Server 2008 R2 and Vista (Windows 7 as well) came new enhanced security features. One of the features included was User Access Control (UAC) t…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 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