Exercise: Expressions - profit per minute, plus page header

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 ==> Expressions  (2 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 new report, and within it a dataset based on the tblFilm table, listing:

  • The name of the film (FilmName)
  • The running time in minutes (FilmRunTimeMinutes )
  • The budget in dollars (FilmBudgetDollars )

Design a report to show for each film the budget per minute, using the notes below this picture as a guide:

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

Spider-Man 3 had the biggest budget, but wasn't the most expensive per-minute film

Some notes on creating this report:

  • Create an expression to calculate the budget per minute (it will be the film budget divided by the running time)
  • Change the properties of the table so that it sorts by this same expression
  • Add a page header, and within this add two text boxes to get the heading shown

When you've finished, save your report as Animated films cost a lot, then close it down.

This page has 0 threads Add post