dbTalk Databases Forums  

Excluding a single non-display member

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


Discuss Excluding a single non-display member in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
arnar@kbbanki.is (Offline)
Junior Member
 
Posts: 2
Join Date: May 2006

Question Excluding a single non-display member - 05-10-2006 , 10:46 AM






Hi

I have a small problem, I think.

I have my measures on the Columns and Systems (A,B,C) on Rows.
I have another dimension the shows Branch (1,2,3)

By default I have been showing some measures for all systems, either for all branches or just for one branch.
What I need to do now is show some measures for all systems for all the branches except one, i.e. 1+2 and exclude 3.

Iīm not having much luck in finding a way do do this.

Note. Branches do not show on the grid. So I canīt simply use [Branch].[1]:[Branch].[2] or something like that.

thanks for any and all assistance

Arnar / Iceland

Reply With Quote
  #2  
Old   
arnar@kbbanki.is (Offline)
Junior Member
 
Posts: 2
Join Date: May 2006

Talking Got It - 05-11-2006 , 03:48 AM






If anyone has the same problem.. hereīs my solution

I created a set of the Branches that I need to include.
Then I create a member in the Branch dim that is the sum of all the members in the previously created set. i.e. sum([Branches])

Then its just a matter of setting the WHERE clause to this new member of the Branch dim.

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.