title: SSRS hide parts of a table with multiple group if there is no rows
body: <p>I searched through the internet and on stackoverflow for hours and did not find a solution for my problem.</p>
  
  <p>I have a report in SSRS which contains a table with 3 imbricated groups inside. This report shows students for a given teacher. Each student is enrolled in subjects grouped by discipline. In sum, there is a dynamic detail row inside of a discipline group and this discipline group is inside a student group. So a student can have 3 courses in mathematics, 2 in geography and 2 in history.</p>
  
  <p>When the user want to generate the report, he must provide a value for these parameters:</p>
  
  <pre><code>Int Year : View courses were followed in the year specified.
  Int Center : Center number to which the user want to get students
  Int TeacherID : ID specified by the user to obtain the list of students 
         under the supervision of a teacher with this ID.
  Int exceeding percentage : Show only courses with the hours performed 
         that are beyond the number of hours initially planned.
  </code></pre>
  
  <p>So what I do is hide the detail row if the course have an exceeding percentage under the exceeding percentage specified in the parameter. </p>
  
  <p>What I need is if there is no course rows, hide the discipline group. And if there is no discplines for a student, hide the student infos group. Here is a screencap of my report (in french I know). Groups are represented by colored boxes:</p>
  
  <pre><code>Red = Student infos
  Green = Disciplines
  Pink = detail row for courses
  </code></pre>
  
  <p><a href="http://img109.imageshack.us/img109/5516/groupsv.png" rel="nofollow">http://img109.imageshack.us/img109/5516/groupsv.png</a></p>
  
  <p>Hope you guys understand my needs. I know I made mistakes because my english is not the best, but I will clarify anything as best as I can. Thank you</p>