This example is based on the
Samples application, which can be enabled in on-premises environments. It uses a hyperblock
created from the Product dimension.
-
Create a report variable named rv_ProductUnique.
-
Set the value of the variable to the unique name of an element of
the Product dimension. For example, [Product].[All
Tires].[Car Tires All Season] .
-
In Design mode, click the hyperblock.
-
Click
Filter in the List
Designer.
-
Click
New Filter.
-
In Filter Settings, select
.
-
Select
.
-
Select
.
-
In the
Wildcard
field, open the
Edit Custom MDX dialog.
-
Click
Variables
and double-click rv_ProductUnique in the list of global variables.
The variable is displayed as
=ReportVariables.rv_ProductUnique.Text
.
-
Edit the formula by adding
&"*" to the end
(
=ReportVariables.rv_ProductUnique.Text&"*"
)
In View mode, All Season Tires and its children are displayed.