dbTalk Databases Forums  

NEW: MDX Query

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


Discuss NEW: MDX Query in the microsoft.public.sqlserver.olap forum.



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

Default NEW: MDX Query - 03-05-2004 , 08:51 AM






H

I have a cube with a dimension (Time) with two levels : YEAR and MONTH

I have also a measure Amount

I need a MDX query that returns as follow

2003 JAN 100
FEB 30
..
..
..
2004 JAN 345
..

IMPORTANT: the level YEAR and MONTH must be in different column

How to write this query???


Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: MDX Query - 03-05-2004 , 10:51 AM






You want to display the year name but not display the total for the year?

So as not to get your hopes up, we might be headed for an answer "may not be
doable, depends on the client".

public @ the domain below
www.tomchester.net


"Ale Dori" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
HI

I have a cube with a dimension (Time) with two levels : YEAR and MONTH;

I have also a measure Amount.

I need a MDX query that returns as follow:

2003 JAN 1000
FEB 300
...
...
...
2004 JAN 3456
...

IMPORTANT: the level YEAR and MONTH must be in different column

How to write this query????




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.