How to get a set with lastchild of each parent in a hierarchy, please see the attach imagemy MDX query :select {[Measures].[H Movimientos Count]} on 0, {descendants([D Movimientos].[Elemento - Movimiento].[Id Elemento].members, [D Movimientos].[Elemento - Movimiento].[Id Mov])} on 1from [Test];but this return all child :(
↧