| Original Message |
AlexS Posted Jul 10, 2012 12:37 PM
Hello All,
I am new to ASO + MDX and am struggling with how to use Non Empty clauses/function to optimize calculation. We load data in MTD and need to convert it to history to date format (separate months and years dimensions like in planning). I created following formula for HTD and need help figuring out how to optimize this formula using NON EMPTY function:
IIF(
IsLeaf([Periods].CurrentMember),
Sum(
{
CrossJoin(MemberRange([Years].FirstChild,[Years].CurrentMember.PrevMember,LEVEL),[Periods].OpenBal.Level.Members),
CrossJoin({[Years].CurrentMember},MemberRange([Periods].OpenBal,[Periods].CurrentMember,LEVEL))
}
, [View].[MTD]),
MISSING
)
All help is appreciated. TIA |
|
|