Hi all,
Although there are several topics around this topic i couldn't find what i was looking for:
As you can see the total is wrong, it is calculating the total of all my 1C5 territories and not only those two ( 1c501;1c502).
This is a calculated measure as follows:
CREATE MEMBER CURRENTCUBE.[Measures].[Nr Days with Calls - Daily Average]AS case when [Organization].[Organization - Codes].currentmember.level.ordinal = 5
then
[Measures].[N Days With Visits - F Average Visits]
when [Organization].[Organization - Codes].currentmember.level.ordinal = 3
or [Organization].[Organization - Codes].currentmember.level.ordinal = 4
then
sum((([Measures].[Nr Days with Calls - Daily Average],[Organization].[Organization - Codes].currentmember.children)) ( [Organization].[Territory Code].members))
else
null
P.S - I'm not one who did this, i can barely move around SSAS and MDX but i have to fix it ASAP and have been looking for two days now