New to MDX - member formula
In ASO, I have tested and validated the first when statement which correctly calculates the value for the level 0 or base member. Now I would like to aggregate to the parent (member 0020). The second when stmt does not validate. How can I accomplish this in a member formula.
CASE
WHEN IsUda( [Entity].CurrentMember,"BASE_A") THEN [Account].[299900]
WHEN [Entity].[0020] THEN SUM(CROSSJOIN({UDA([Entity],"Base_A")},{ [Account].[299900]})
END
0