dbTalk Databases Forums  

MDX Filter

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


Discuss MDX Filter in the microsoft.public.sqlserver.olap forum.



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

Default MDX Filter - 06-17-2004 , 02:53 AM






Is it possible to construct MDX Filter which is equivalent to SQL:
WHERE MyColumn IN (Value1, Value2, Value3,...)

regards,
Kamil



Reply With Quote
  #2  
Old   
Andrea Temporin
 
Posts: n/a

Default Re: MDX Filter - 06-17-2004 , 05:46 AM






I don't remember exactly how to use it, but I think You have to cosider the
expression
GENERATE. For example
GENERATE({[Time].[1997],[Time].[1998]},{[Time].[Q1]}
gives you only the values for quarter 1 ov year 1997 and 1998.
The syntax is this or somthing like that... I don't remember how to put it
in a MDX expression...
Try to serach for it in the internet
Andrea

"kkk" <kawa (AT) panda (DOT) bg.univ.gda.pl> ha scritto nel messaggio
news:ORdXICEVEHA.808 (AT) tk2msftngp13 (DOT) phx.gbl...
Quote:
Is it possible to construct MDX Filter which is equivalent to SQL:
WHERE MyColumn IN (Value1, Value2, Value3,...)

regards,
Kamil





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.