ssas - Creating role which denied the access of all the empty elements -
ssas - Creating role which denied the access of all the empty elements -
i wanted have role wich denied access of empty elements of dimension.
i have right mdx query i've tested in sql server:
select non empty [people].[category].[category].allmembers on columns [mycube]
i wanted have same result in allowed fellow member set on role have error:
incorrect syntax.
thanks :)
there no such thing empty element of dimension. there elements of dimension without measure value different thing. need deny access measure when non-empty situation arises.
the next illustration shows how select mymeasure values based on non-empty set of category fellow member - mymeasure
select [measures].[mymeasure] on 0, nonempty( [people].[category].[category].members, [measures].[mymeasure])} ) on 1 [mycube]
hope helps.
ssas olap security-roles
Comments
Post a Comment