Exercise: Matrix of actors by decade/gender - 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 ==> Harder than average
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 dataset listing out the gender,  date of birth and id number for each actor (omitting the actors whose date of birth is not filled in):

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

Your dataset should return 337 actors

Now create a matrix to show the number of actors by gender and decade of birth (some notes are shown below):

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

Proof that in acting, at any rate, men live longer?

Here are some notes to "help" you!

  • You'll need to group the rows by an expression such as =left(year(Fields!ActorDOB.Value),3) & "0s", and sort by this too
  • You need to create - and format - row and column subtotals
  • You need to set a background colour for each matrix cell which depends on the value of the count of actors for the cell or else (if this is one or more) on the Gender field

When (if?) you've finished, save this report as Colourful, then close it down.

This page has 0 threads Add post