I am using the CurrentMember function in a role's CellData expression to restrict access to a cube via a specific dimension. This is working as expected with one exception. Even if the slicer imension is used to filter out data that the role is not entitled to see, the string '#N/A' is displayed in all cells.
Only after including the dimension to which the role has restricted access in an axis are the cell's values displayed as expected.
It appears to me as if the CurrentMember function is ignoring the slicer dimension. Is this the case? How should I approach this problem?