the Foodmart Sales Report Layout to Meet Business Requirements
have mentioned, the FoodMart Sales report that we have cloned as AdHoc_TopBottomFoodmart
Sales.rdl contains a prompt to allow users to filter by Product Family.
We will make general layout changes in the report, while also eliminating the
existing prompt, before adding the parameters that form the core of our
focus in this lesson.
Right-click AdHoc_TopBottomFoodmart Sales.rdl in the Reports folder.
as depicted in Illustration 26, from the context menu that appears.
and appears on the Layout tab of the Report Designer, as shown in
Illustration 27: AdHoc_TopBottomFoodmart
Sales.rdl Appears in Report Designer - Layout Tab
Click the Preview
tab to execute the report.
Sales.rdl executes briefly, and then returns
data. We see, atop the Preview tab, the Product Family parameter
selector, as depicted (expanded) in Illustration 28.
Illustration 28: AdHoc_TopBottomFoodmart
Sales.rdl Appears in Preview (Partial View) - with Parameter Selector Expanded
in the Product Family selector.
Click the View
Report button to execute the report.
report appears, with different row items and values, as shown in Illustration
13. The differing results are due to its being filtered, via the parameter
selection, on the Non-Consumable Product Family.
Illustration 29: AdHoc_TopBottomFoodmart
Sales. Appears with Results Filtered for Non-Consumable Products
of the three Product Family selections gives us a results set filtered
for its members. The Marketing team has asked for a "consolidated view,"
where all products appear on a single report. Elimination of the parameter in
place will be a simple way to get started toward this first objective, and to
pave the way for the new parameters that we will construct next.
Click the Layout
tab to return to the Layout view.
-> Report Parameters from the main menu atop the Report Designer,
as depicted in Illustration 30.
Illustration 30: Select
Report -> Report Parameters
from the Main Menu
Parameters dialog, where we define parameters for the report, appears, as
shown in Illustration 31.
Illustration 31: The
Report Parameters Dialog
will get plenty of exposure to this dialog later in our session, and throughout
Server 2000 Reporting Services series in general. Our objective
at this point is to remove the existing parameter, and to consolidate the Product
In the Parameters
list, on the left side of the dialog, click the single entry, ProductFamily,
to select it.
Click the Remove
button underneath the Parameters list.
parameter is removed from the list.
Click OK to
accept our removal of the parameter.
now empty Report Parameters dialog closes, and we are returned to the Layout
view of the report. We now have only to delete a reference to the parameter
we have removed, which we can access via the Properties dialog for the
Click at some
point within the label textbox of the report (containing the label Foodmart
Sales), to make the row and column headers of the matrix data region
upper left corner of the matrix. (If the headers disappear as you touch them
with the cursor, you should still see a faint outline of the matrix.)
from the context menu that appears, as depicted in Illustration 32.
Accessing the Matrix Properties
Properties dialog opens, defaulted to the General tab.
Click the Filters
Click the Value
field of the single occupied row to select it.
Click the Delete
button to delete the reference to the parameter, as indicated in Illustration
Illustration 33: Select
and Delete the Parameter Reference