I have a Branch dimension that has a rollup heirarchy from branch through to a top node 'Division Total'.
I have a cube that holds data like FTE and Salaries and has Employee dimension with Total EMployees rollup (as well as Branch dim).
My problem is The Branch dimension rollup 'Division Total' always includes every employee and every Branch in the value even when I apply MDX in a subset to remove one particular Branch called 999. I have tried MDX EXCEPT, UNION, INTERSECT. I would have though EXCEPT would show some success.
See MDX below, I drill down on Division Total and exclude Branch 999, this displays as expected by removing 999 branch, BUT the 'Division Total' still aggregates the Branch 999 in cube results.
Code: Select all
{EXCEPT(
{TM1DRILLDOWNMEMBER( {[Branch].[Division Total]},ALL,RECURSIVE ) }
,{ [Branch].[999]}
)}
Code: Select all
{FILTER( {TM1SUBSETALL( [Employee] )}, [Employee].[Branch] <> "999")}