I'm using this formula as my 'costum rollup formula':
I want every order to assume the value of the first child that belongs to to selected set. The problem is that this formula returns the very first child, even if it does't belong to the current set.
I've tryed comething like this:
and I've tryed usind the Descendants function. Nothing worked.
Is there any way to find the 1st of the selected children?
NetAngel
Code:
Iif([Measures].CurrentMember.Name = "Profict",
[order].CurrentMember.FirstChild
RollupChildren([order].CurrentMember, "+")
)
I want every order to assume the value of the first child that belongs to to selected set. The problem is that this formula returns the very first child, even if it does't belong to the current set.
I've tryed comething like this:
Code:
TopCount([order].CurrentMember.Children, 1, [Line_no])
and I've tryed usind the Descendants function. Nothing worked.
Is there any way to find the 1st of the selected children?
NetAngel