dbTalk Databases Forums  

Need MDX help (in Microsoft Data Analyzer) - Desparate

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


Discuss Need MDX help (in Microsoft Data Analyzer) - Desparate in the microsoft.public.sqlserver.olap forum.



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

Default Need MDX help (in Microsoft Data Analyzer) - Desparate - 08-05-2004 , 01:42 AM






Hi,

I'm really frustrated becuase it appears that Microsoft Data Analyzer's
support/compatability with "standard" MDX is pathetic

I need to calculate the following but just can't figure out the "~Aspect
.... " logic which Data Analyzer uses:

1) I want to create a Year to Date total of Sales. Regardless of the
selected time period (whether it's Jan or Nov), I want this YTD total to
return the total sales for the selected year


2) I want to calculate the total sales in the previous time period i.e.
let me try to explain in detail:

a) if the selected time period is Year, this should return the total
sales of the Previous Year

b) if the selected period is Qtr1 of a year, this should return the
total sales of the previous period i.e. Qtr 4 of the previous year

c) if the selected period is Qtr 2 it should return the total sales for
Qtr 1

d) if the selected period is say Oct of 2004, it should return the total
sales of Sep 2004


Can someone PLEASE help me with these.

Many many many TIA


--
Thanks.

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.