Solved

Display columns for only students in class on each page

Posted on 2014-11-06
2
169 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 500 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS 2008 errmsg 'Only fields from the current dataset 'name' can be added. 1 268
SSRS Report error in deployment 5 234
SSRS troubles 4 86
SSRS Enable Remote Errors 4 42
How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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