If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > MDX Query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-28-04, 13:25
FwAnK FwAnK is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
Lightbulb MDX Query

Hi,

I have the following MDX Query:

Select
crossjoin(
{[Products].[Product Name].Members},
{[ProductionEndTime].[2003].[January] : [ProductionEndTime].[2004].[January] }
)
on rows,
{ [Measures].[Produced Units], [Measures].[Rejected Units] }
on columns from Production
-----------------------------

It gives me something like this:

Product1 January
February
...
Product2 January
February


As you can see, ProductionEndTime is a date dimension.
The months are children of Year and Month obviously and i would like to see the month ordered by the year and month like this:


Product1 2002 January
February
...
2003 January
Frbruary
...
Product2 2002 January
February
...
2003 January
Frbruary
...

Any suggestion on how i could achieve this?

Thank you
Frank
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On