dbTalk Databases Forums  

"cannot find dimension member" before I browse the dimension level?

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


Discuss "cannot find dimension member" before I browse the dimension level? in the microsoft.public.sqlserver.olap forum.



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

Default "cannot find dimension member" before I browse the dimension level? - 05-09-2005 , 05:25 AM






Hi,

I am getting a really strange problem when trying to query an olap
cube.

The following MDX results in a "cannot find dimension member" error
through the mdx sample application yet once i browse my the company
dimension and the smaple application loads the members in the dimension
the query works fine. The MDX im using is:

SELECT {[measures].[Rent Passing £]} on columns,
{[Company].[Unmatched], [Company].[Ineligible]} on Rows
FROM Cube WHERE ([Time].[2004].[4].[December])

Any idea why this query would work fine after browsing the dimension
but not before?

Any ideas would be greatly appreciated,

Thanks,

Lee


Reply With Quote
  #2  
Old   
lee
 
Posts: n/a

Default Re: "cannot find dimension member" before I browse the dimension level? - 05-09-2005 , 06:22 AM






I have found the problem. I was not using the full dimension syntax.

[Company].[Unmatched]

should have been

[Company].[All Company].[Unmatched]

etc.

The sample app obviously doesn't need the full syntax once you have
browsed dimension.

Lee


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.