Im a bit struggling with creating a calculated member for an “all except for X”.
I have a selection of 4 projects. But from 2 of these projects I need to exclude a few issues.
So initially I tried to make a calculated member in the projects dimension and trying to add an except in there for a few [Issue].xxx. But that did not work…
Then I tried to make a calculated member in the issue dimension, where I basically just did something like this:
[Issue].[CalculatedMemberWithExcept]:
Aggregate(
Except(
[Issue].[ProjectName],
{ [Issue].[ProjectName].[MPOI-20 Support Delivery],
[Issue].[ProjectName].[MPOI-19 Support Standby Weekend],
[Issue].[ProjectName].[MPOI-11 Holiday],
[Issue].[ProjectName].[MPOI-7 Support Standby Night],
[Issue].[ProjectName].[MPOI-4 Illness],
[Issue].[ProjectName].[MPOI-2 National Holiday]
}
)
)
But this does not work. And I’ve tried things like adding .CurrentMember, AllMembers etc. It does not seem to work. I dont really understand the whole members/children/parent structure that well yet.
Anyway, then I would make a 2nd calculated member to include the other projects + the above calculated member (CalculatedMemberWithExcept):
Aggregate(
{
[Issue].[ProjectOne],
[Issue].[ProjectTwo],
[Issue].[ProjectThree],
[Issue].[CalculatedMemberWithExcept]
}
)
What is the correct approach to this? Do it in Projects or Issues dimension? And how would the calculated member look, either way?
Thanks in advance.
Robin