The cube (sql Server 2016) contains dimensions [Unit].[Unit].&[1]
and [Unit].[Unit].&[2]
. I’ve created a calculated dimension:
CREATE MEMBER CURRENTCUBE.[Unit].[Unit].[All].[1/2] AS [Unit].[Unit].&[1]/[Unit].[Unit].&[2]
To restrict access to the dimension of [Unit].[Unit].[All].[1/2]
I’ve created the Role.
But I can not select [Unit].[Unit].[All].[1/2]
in DimensionData-Basic tab, because this attribute does not appear in the list of attributes.
If I specify the attribute [Unit].[Unit].[All].[1/2]
in DimensionData-Advanced tab in the MDX-script Denied member set: {[Unit].[Unit].[All].[1/2]}
, the user sees this attribute.
How do I restrict access to the calculated dimension?