dbTalk Databases Forums  

MDX From clause vs Where clause

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


Discuss MDX From clause vs Where clause in the microsoft.public.sqlserver.olap forum.



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

Default MDX From clause vs Where clause - 08-30-2006 , 09:52 AM






I've been using MDX generated by MS Reporting Services as a starting
point for my own queries. It typically builds nested FROM clauses like
this one:

FROM ( SELECT {[Product].[Class].&[ABC]} ON COLUMNS
FROM ( SELECT {[Product].[Dept].&[18]} ON COLUMNS
FROM [MyCube]))

Now, it seems this query could be created using a WHERE clause just as
easily.

I'm wondering what the reasons would be for putting things in a FROM
clause rather than the WHERE clause.

TIA,
Jim


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.