Hello everybody,
I have the following code in MDX to create a calculated member. I tried it with and without .MEMBERS and I got the same result like you see under the code statement.
AGGREGATE(
EXCEPT([Material].[Bohrerart Id].[Bohrerart Id].MEMBERS
,[Material].[Bohrerart Id].&[YPAB]),
([Measures].[Nettoerloes CO])) +
AGGREGATE(
EXCEPT([Material].[Bohrerart Id].[Bohrerart Id].MEMBERS
,[Material].[Bohrerart Id].&[YPAB]),
([Measures].[Erloes Projektpos])) -
AGGREGATE(
EXCEPT([Material].[Bohrerart Id].[Bohrerart Id].MEMBERS
,[Material].[Bohrerart Id].&[YPAB]),
([Measures].[PVF PJ])) -
AGGREGATE(
EXCEPT([Material].[Bohrerart Id].[Bohrerart Id].MEMBERS
,[Material].[Bohrerart Id].&[YPAB]),
([Measures].[Skonto PJ])) -
AGGREGATE(
EXCEPT([Material].[Bohrerart Id].[Bohrerart Id].MEMBERS
,[Material].[Bohrerart Id].&[YPAB]),
([Measures].[Bonus PJ]))Now I have the problem, that if I want to analyse each member of the "Bohrerart" dimension, all members have the total value.
It looks like this:
Element Measure 1 / Measure 2 (with except) /Measure 3 (what i expect to get)
YPAB 20 / 80 / -
A 20 /80 / 20
B 20 /80 / 20
C 20 /80 / 20
D 20 /80 / 20
What am I doing wrong? Could someone help me to understand and solve this problem?
Kind Regards
MuenchM