dbTalk Databases Forums  

Custom Dimension Security and MDX

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Custom Dimension Security and MDX in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jon C
 
Posts: n/a

Default Custom Dimension Security and MDX - 10-05-2003 , 02:51 PM






I trying to understand a what stage in processing a MDX
statement is security applied.
I have geography dimension with 3 countrys which total up
to an All Countries member. Another dimension is products.
I have a MDX query which ranks the best selling products.
No problem with users whose roles are not restricted.
However, if I have a user with a role which restricts them
to view one country's details (using custom dimension
security), when they use the MDX query, selecting the All
Countries member, products not sold in the country are
displayed, but with no values. I would use the NON EMPTY
clause, but the MDX adds the Ranking number, so is always
present.
I suspect that the dimension security is processed after
the MDX processing and before the output, or have I missed
something.
Thanks
Jon

Reply With Quote
  #2  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Custom Dimension Security and MDX - 10-07-2003 , 05:31 PM






"Jon C" <mrslippy (AT) hotmail (DOT) com> wrote

Quote:
I trying to understand a what stage in processing a MDX
statement is security applied.
Security is applied before creation of calculated members/named sets and
before any session statement is executed.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================




Reply With Quote
  #3  
Old   
Jon
 
Posts: n/a

Default Re: Custom Dimension Security and MDX - 10-14-2003 , 02:18 PM



Thank you for your reply.
However, it doesn't explain the results that I am getting.

Do you have any further thoughts?

Jon

Quote:
-----Original Message-----
"Jon C" <mrslippy (AT) hotmail (DOT) com> wrote in message
news:136b01c38b7a$13ab99f0$7d02280a (AT) phx (DOT) gbl...
I trying to understand a what stage in processing a MDX
statement is security applied.

Security is applied before creation of calculated
members/named sets and
before any session statement is executed.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no
warranties, and
confers no rights.
==================================================


.


Reply With Quote
  #4  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Custom Dimension Security and MDX - 10-19-2003 , 01:26 AM



I beleive that your results can be explained: Since dimension security cuts
out two other countries, product which were only sold in them will show up
as empty. If you wanted to preserve the same ranking as for non-secured
users, you can disable visual totals. However, in this case, secured user
will see real totals for All Countries.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.