dbTalk Databases Forums  

Problem in MDX entering 2005

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


Discuss Problem in MDX entering 2005 in the microsoft.public.sqlserver.olap forum.



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

Default Problem in MDX entering 2005 - 01-06-2005 , 06:13 AM






I have a query like this:

With set [TimeSet] AS
'{[Time].[All Time].[2004].[12].[31]: [Time].[All Time].[2005].[1].[2]}'

SELECT
{[Measures].[Temp Motor B Lower Pinion Bearing],[Measures].[TimeLevel]
} ON COLUMNS,

{[TimeSet]} ON ROWS

FROM [E0003_Measures]

When I run this query, I'll get data from 31. dec then I get empty cells for
3.jan to 31. jan, and at last I get data from 1 and 2 january.

When I ask specifically for data from 31. dec, 1.jan and 2. jan, the query
supplies me with the right information.

If anyone has a solution for this i would very much appreciate it.

:-)Kjell, Norway


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Problem in MDX entering 2005 - 01-06-2005 , 11:34 PM






What sort of table is the [Time] dimension built from - what is the Key
at the [Day] level, and is the [Day] level ordered by Key or by Name?


- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #3  
Old   
Kjell Oye
 
Posts: n/a

Default Re: Problem in MDX entering 2005 - 01-10-2005 , 03:57 AM



Thanx,

I had ordering set to Name instead of Key

"Deepak Puri" wrote:

Quote:
What sort of table is the [Time] dimension built from - what is the Key
at the [Day] level, and is the [Day] level ordered by Key or by Name?


- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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.