Exercise: Matrix of Oscars with subtotals - 2008 R2

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> SSRS Reporting Services  (53 exercises)
Topic ==> Matrices  (3 exercises)
Level ==> Average difficulty
Course ==> Reporting Services
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Create a report, and within this a dataset showing the certificate, film id and number of Oscars for each film (you'll need to include the tblFilm and tblCertificate tables).

Now create a matrix, with subtotals, to show the number of films for each certificate and for each number of Oscars won (see the notes below):

SQL Server Reporting Services 2008 R2 exercise - Matrices (image 1)

All cells containing 0 have been conditionally formatted

There are a few tricky things involved for this!

  • You need to add subtotals, then format them to a different colour
  • You should sort both the row and the column headers
  • Set a background colour for the matrix to be PaleGoldenRod if and only if the count of films for the cell is zero

Save this report as Pretty pattern, then close it down.

This page has 0 threads Add post