Free Microsoft SQL training exercise
Calculations and Formatting | Harder than average exercise

This Microsoft SQL CALCULATIONS AND FORMATTING exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl SSRS course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: Formatting with IIF - Expressions

A full answer to this exercise is provided as part of the training course!

1) Open the Toys Project and open the CalculatedFields report.
2) Format the Profit field so that the the numbers appear with a red font if the Profit is less than 5000 pounds.
3) Your report should resemble the example shown below:
Exercise screen-shot 3061 Format the rest of the report in a style of your choice.
4) Edit your report so that the Profit field displays meets the following conditions:
  • < 5000 - Red
  • <10000 - Yellow
  • Anything else - Green
5) Preview your report. It should resemble the report shown below:
Exercise screen-shot 3062 Format the rest of the report in a style of your choice.

Thank you for showing an interest in this SSRS training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

Recommended sites: TechTutorials

All content copyright Wise Owl Business Solutions Ltd 2009.  All rights reserved.