dbTalk Databases Forums  

Dynamic dimension level security

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


Discuss Dynamic dimension level security in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
preeti Ekadunni Unnay
 
Posts: n/a

Default Dynamic dimension level security - 04-24-2006 , 05:24 AM






Hi,
I have encountered the same problem, as mentioned in
http://groups.google.com/group/micro...4 6941456a5d0
But unable to found any solution.

I am Using Dynamic Security for different User roles
Role 'A': got 'Full' level accessible on time Dimension
Role 'B': only got 'DAY' accessible

I am also using Distinct Count Measure in my cube in AS2000.

While running the Following on ROLE B
MDX QUERY:
With MEMBER [Time].[-Sub Total] AS ' SUM
(GENERATE(HIERARCHIZE(DISTINCT({Time.[Year].Members})),
HEAD(INTERSECT(HIERARCHIZE(DISTINCT({Time.[Year].Members})),
ASCENDANTS(Time.CurrentMember)))))' , SOLVE_ORDER = 1000
SELECT {[Unit Sales]} ON COLUMNS, {{Time.[Day].Members, Time.[-Sub
Total]}} ON ROWS FROM [Sales] CELL PROPERTIES
[VALUE],[FORMATTED_VALUE],[CELL_ORDINAL]


Error Arise:: Formula error - cannot bind: unknown member: "Time.[-Sub
Total]"

However, this query run successfull when user login with Role 'A'
I request you Gurus to please help me .

preeti


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.