Group1
Elem1 (attribute: H1)
Elem2 (attribute: H1)
Group2 (attribute: H1)
Elem3 (attribute: H1)
Elem4 (attribute: H1)
I need to create dynamic subset sorted by hierarchy. I generated expression:
Code: Select all
HIERARCHIZE( {FILTER( {TM1SUBSETALL([TestDim])}, [TestDim].[Hierarchy] = "H1")} ) }
Elem1 (attribute: H1)
Elem2 (attribute: H1)
Group2 (attribute: H1)
Elem3 (attribute: H1)
Elem4 (attribute: H1)
If I manually in subset editor filter by attribute H1 and press Hierarchy sort button, it sorts elements as I need it:
Group2 (attribute: H1)
Elem1 (attribute: H1)
Elem2 (attribute: H1)
Elem3 (attribute: H1)
Elem4 (attribute: H1)
How to correct dynamic subset expression?