In my SSAS solution, there is a 'Location' hierarchy consisting of the levels Company -> Region -> Area
-All
-Company1
-Region11
-Region12
-Company2
-Region21
-Region22
-Company3
-Region31
-Region32
I have report filter that uses this dimension hierarchy as data source. I have a requirement to exclude a particular Company, say "Company2", from the report filter.
I am using the EXCEPT and DESCENDANTS MDX functions to exclude this particular member and its children from the set. However, I lose the ALL level (highest level in the hierarchy) and the returned set looks like this:
-Company1
-Region11
-Region12
-Company3
-Region31
-Region32
How do I retain the ALL member? I need Company1 and Company3 to be grouped under a higher level.