Hi,
I'm need a row count function to use in my mdx code.
i have this
WITH MEMBER [Measures].[Row number] AS iif( IsError(Axis(1).Count), null, Rank ( StrToTuple ("(" + Generate ( Head ( Axis(0), Axis(1).Item(0).Count ) AS RN,"Axis(1).Item(0).Item(" + CStr(RN.CurrentOrdinal - 1) +").Hierarchy.CurrentMember","," ) + ")" ) , Axis(1) ) )
But when the row number is biggest than 500 it's dont work, staying in a loop.
some one know another form to do that?
thanks for the moment,
Bruno
Acesse www.cuboelevadoaocubo.com