Report Builder | Parameters exercise | Create a report based on a cube, using two parameters

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.

Software ==> Report Builder  (42 exercises)
Version ==> RB 3 or RB 2016
Topic ==> Parameters  (7 exercises)
Level ==> Relatively easy
Subject ==> Report Builder training
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.

If you haven't already done so, restore the database in the above folder into Analysis Services in Management Studio (not for copying or commercial use).  The database should contain 3 dimensions and one cube called MAM.

Create a report listing out the following bits of information: 

List of transactions

The report should show the date, species and quantity for transactions.


Add a calculated field called TransDate which applies the CDate function to the transaction date, to turn it into a proper date.

Now add parameters to the top of your report so that it lists all of the sales after a given date, with a given minimum number:


Give the two parameters default values as shown above.

Here's what a typical report could look like:

Report for two parameters

The sales of 10 or more items from Christmas Day 2014 onwards.

Now add a title to your report to show the choices you've made:

Parameters in title

The title you could see for the choices made above.


Finally, use the No Rows section of the tablix item to display a message like this if you choose a combination of parameters for which there is no data:

The No Rows message

You could even get this message to refer to the parameter values typed in ...


Save this report as Simple parameters, then close it down. 

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads Add post