How to use both HIERARCHIZE and TM1 sort together in MDX
Posted: Tue Jan 10, 2012 4:57 pm
Hi,
I am having an dimension with the following structure
All
Aaaa
Bbbbb
Ccccc
Ddddd
It has one parent and all leaf elements
I want the elements to be sorted in descending order with the hierarchy retained(the parent element retained)
I used the following MDX
{ HIERARCHIZE( {TM1SORT( {TM1SUBSETALL( [SubsetName] )}, DESC)} ) }
But it is not working, May i know whether the hierarchize and sort will work together or wont, if not is there any other solution to get this
Regards
Guru
I am having an dimension with the following structure
All
Aaaa
Bbbbb
Ccccc
Ddddd
It has one parent and all leaf elements
I want the elements to be sorted in descending order with the hierarchy retained(the parent element retained)
I used the following MDX
{ HIERARCHIZE( {TM1SORT( {TM1SUBSETALL( [SubsetName] )}, DESC)} ) }
But it is not working, May i know whether the hierarchize and sort will work together or wont, if not is there any other solution to get this
Regards
Guru