Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Calculated Member Visibility by variable

$
0
0

Hi All ,

I'm facing a situation which I need to show or hide a calculated member depending another measure value .

Let me explain ... I have a dimension data security role for the branch dimension, so user can browse NY and LA members .

Now I want to create a new calculated member [Dim Branch].[Hier].[Cool Places] as {[Dim Branch].[City].&[LA],[Dim Branch].[City].&[NY]} which will be visible only if the user allow to browse both NY and LA .

Creating a new measure for checking if NY and LA BOTH are exists in the allowed cities for the relevant user, and placing 0/1 for show/hide the new calculated member .

But I can't use it in the VISIBILITY clause of the calculated member, only explicit 0 or 1 .

Any workaround ?


Regards, David .


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>