     startDate: null
     classrooms: null
     courses: null
-    sessions: []
     courseInstances: []
+    dataReady: false
     isClassroomSelected: {}
     isCourseSelected: {}
     endDate: moment(new Date()).format('MMM D, YYYY')
     insightsMarkdown: ""
   computed:
+    sessions: ->
+      _.flatten(@classrooms.map (c) -> c.sessions)
     studentIDs: ->
       _.uniq _.flatten _.pluck(@classrooms, 'members')
     indexedSessions: ->

      counts = @courses.map (course) =>
        courseID = course._id ? course
        instancesOfThisCourse = _.where(@courseInstances, {courseID})
        console.log _.union.apply(null, instancesOfThisCourse.map((i) -> i.members)).length
        {
          _id: courseID
          count: _.union.apply(null, instancesOfThisCourse.map((i) -> i.members)).length

      @courses.filter (c) => @isCourseSelected[c._id]
    insightsHtml: ->
      marked(@insightsMarkdown, sanitize: false)
    courseCompletion: ->
      return if not @dataReady
      classroomsWithSessions = new Classrooms(@classrooms)
      classroomsWithSessions.forEach (classroom) =>
