Calculation is returning only the first dimension member value
Hi,
I'm struggling with a calculation that would enable me to use the dimension "value" for further calculations.
At this stage I'm able to get the first dimension member as a calculated member, but the values remains the same regardless the dimension member value. For dimension member 195 the CalcMeas should return 195 rather then 18.

The calculation is as following:
if allcount(@"[UD18]", 0, m1, 0) > -1 then 18 else if allcount(@"[UD195]", 0, m1, 0) > -1 then 195 else if allcount(@"[UD36]", 0, m1, 0) > -1 then 36 else 0.
Does anyone has a suggestion how the above can be achieved?
Br.
Steffi



Comments
10 comments