dbTalk Databases Forums  

MDX query representation in XML & Parsing

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


Discuss MDX query representation in XML & Parsing in the microsoft.public.sqlserver.olap forum.



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

Default MDX query representation in XML & Parsing - 04-14-2005 , 05:26 AM






Hello Gurus,

Need your help on following:

1. Whether an MDX query be stored in an XML format? e.g. can the below
query be stored in an XML file format: (the query is for illustration
only).

with set [PromoMonths] as 'Filter([Time].[Month].Members,
Not IsEmpty( ([Unit Sales], [Double Your Savings]) ) )'
set [PromoRange] as 'Head( [PromoMonths] ).item(0).item(0) :
Tail( [PromoMonths]
).item(0).item(0)'
member [Measures].[Uplift] as '([Unit Sales], [Double Your Savings])'
member [Measures].[This Quarter] as '[Unit Sales]'
member [Measures].[Last Quarter] as '( ParallelPeriod
( [Time].[Quarter] ), [Unit Sales] )'
member [Measures].[Growth] as ' [This Quarter] - [Last Quarter]'
select [PromoRange] on Columns,
{ [This Quarter], [Last Quarter], [Growth], [Uplift] } on Rows
from [Sales]

2. If #1 is yes, is there a standardized schema file which would
validate the MDX query stored in an xml format.

3. Is there a available parser which would convert the MDX query stored
in XML format to a proper MDX query given in #1.

4. I am trying to build a GUI tool to create the MDX expressions as my
end users are not conversant in MDX. Any help/information detail in
this regard would be very helpful.

Please provide me a link or send me details at ajit555 (AT) yahoo (DOT) com.

Regards,

Ajit.


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.