dbTalk Databases Forums  

New Member Problem with level restriction

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


Discuss New Member Problem with level restriction in the microsoft.public.sqlserver.olap forum.



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

Default New Member Problem with level restriction - 04-05-2006 , 06:45 AM






Hello
One of my user can not access the top level of my dimension due to the
data security, I created a seperate role for him and I configured the
3rd level as the Top visible level for him like E.g. in Food Mart

Store dimension I set the visible Top level to [Store City], now when I
query the following query

With
MEMBER [Store].[-Sub Total] AS ' SUM
(GENERATE(HIERARCHIZE(DISTINCT({[Store].[Store
City].[Salem].CHILDREN})), HEAD(INTERSECT(HIERARCHIZE(DISTINCT(
{[Store].[Store City].[Salem].CHILDREN})),
ASCENDANTS([Store].CurrentMember)))))' , SOLVE_ORDER = 10001

SELECT { CrossJoin({[Time].[Year].[1997]},{Measures.[Profit]})} ON
COLUMNS , {[Store].[Store City].[Salem].[Store 13], [Store].[-Sub
Total]} ON ROWS FROM [Sales]

I get the following error

<FaultCode>1198822294</FaultCode>

<Description>Formula error - cannot bind: unknown member:
"[Store].[-Sub Total]"</Description>

which means that I can not access the Sub total member I created on the
first level,
is there any work around in this situation, how can i create new
members accessible in this scenario, it wont allow me to create member
on [Store City] level.

Thanks


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.