dbTalk Databases Forums  

Dimension Filtering from another dimension

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


Discuss Dimension Filtering from another dimension in the microsoft.public.sqlserver.olap forum.



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

Default Dimension Filtering from another dimension - 12-12-2005 , 10:59 AM






Hi all,

Does anyone have an example (VBA or MDX) that takes the values of one
dimension and basically passes them (like a where clause to another) as a
parameter?

I.e. I have a very deep geographical dimension and it takes too long to
drill down on the page axis to low levels. I'm breaking some rules of
aggregation by cutting out some levels into dimensions (like regular pivot
tables) and am hoping to have functionality that if a state is chosen in one
drop down, only the cities applicable will be availalbe in the next drop down.

Thanks in advance!

Mark

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Dimension Filtering from another dimension - 12-12-2005 , 01:33 PM






If you're using AS 2005, appropriate user hierarchies can be configured
in the geography dimension, rather than setting up separate dimensions.
The MDX Exists() function can be used to filter members that can exist
with the already-slected members:

http://msdn2.microsoft.com/en-us/lib...S,SQL.90).aspx
Quote:
Exists (MDX)

Returns the set of members of one set that exist with one or more tuples
of one or more other sets.
...
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


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.