This example
procedure is based on the Best Practices sample database supplied with Application Studio
and uses a hyperblock created from the Product dimension.
In addition to the Product hyperblock, create a combo box and drop
the Product dimension onto it.
There are now two report objects linked to the Product dimension.
Select the hyperblock and click
Filter in the List
Designer.
Click
New Filter
In Filter Settings, select
Filter By > Unique
name.
Select
Filter
Type > Wildcard.
Select
Condition > Equals.
In the
Wildcard field open the
Edit Custom MDX dialog.
Click
Variables and expand
ListViews.
Double-click _ProductList.
=ProductList.text is displayed.
In View Mode, the hyperblock displays whichever element is
displayed in the combo box. But it does not display the children of
consolidated elements.
Edit the formula by adding &"*" at the end
(=ProductList.text&"*")
In View Mode, the list contains whichever element is selected in
the combo box. If the selected element is a consolidated element, it can be
expanded and the child element displayed.