Establish "Conditional Drilldown Defaults" for Presentation Purposes
established conditional formatting of the Store Profit value, we are now ready to enhance the report further to
meet the second of the business requirements. We recall that the information consumers, who intend
to use this report to focus upon the Drink and Food categories of
the FoodMart product offerings, have asked that the report present these two Product
Families with a "drilled down" state as the default. Moreover,
they want the Non-Consumable products to appear, by default, in a "rolled
up" state, providing a single line item for Non-Consumables on the
face of the report. This drill down presentation will allow emphasis upon the
analysis upon the Product Families, Drink and Food, while
at the same time providing the Non-Consumables total to allow them to agree
total product sales to corresponding summary values in other system reports.
The consumers have agreed that the flexibility of ad hoc drilldown on the
summary Non-Consumables line would add value to the report, as well.
the "conditional default drill downs" as the information consumers
have requested will afford us an opportunity to extend the concept of conditional
formatting, once again, to meet a business need in a relatively sophisticated
way. Such opportunities are legion, as many of us are learning, within
Reporting Services and the integrated Microsoft BI Solution in general. We will
undertake the requirement in the steps that follow, beginning with the
establishment of Product Family as a group within the existing matrix
Return to the Layout
view by clicking the Layout tab.
Click at some
point within the title textbox of the report (containing the label Foodmart
Sales), to make the row and column headers of the matrix data region
the upper left corner of the matrix, as we did in the earlier section.
from the context menu that appears.
Properties dialog opens, defaulted to the General tab.
Four groups appear in
the Rows list box, and two added groups, along with the default Static
Group, appear in the Columns list box. Here we will add a Product
Family group, upon which we will base the default drilldown attributes that
the consumers have requested.
Click the Add
button to the right of the Rows list
The Grouping and
Sorting Properties dialog for the new group, named BrandSales_RowGroup5
(or similar) by default, opens to the General tab.
following into the Name box on the General tab, replacing the
within the dropdown selector of the Expression list, in the Group
The Grouping and Sorting Properties dialog appears as shown in Illustration
Illustration 27: The
Grouping and Sorting Properties Dialog New Product Family Group
to accept changes and close the Grouping and Sorting Properties dialog
for the BrandSales_Product_Family group.
returned to the Matrix Properties dialog - Group tab. We need,
at this point, to arrange the new group to the left of the report and thus to
move it to the top in the Rows list
Click the new
group, BrandSales_Product_Family, in the Rows list box to select it, if
Click the Up
button to the right of the Rows list
box enough times to raise the BrandSales_Product_Family to the top of the list box.
The BrandSales_Product_Family group appears in the Rows list box as depicted in Illustration 28 (relevant
portion of the Matrix Properties dialog Group tab).
Illustration 28: The New
Product Family Group Appears Atop the Rows List Box
Click the OK
button to accept the rearrangement of the groups, and to close the Matrix
leaving the groups momentarily, and returning to the Layout view, to
name the textbox that was created by our addition of the Product Family
the new Product Family textbox (the leftmost of the label textboxes).
from the context menu that appears, as shown in Illustration 29.
Illustration 29: The
Select Properties for the New Product Family Label Textbox
Properties dialog appears.
following into the Name box of the dialog.
Properties dialog appears, with new Name, as depicted in Illustration
Illustration 30: The
Textbox Properties Dialog for Product_Family
to accept changes and close the dialog.