dbTalk Databases Forums  

cannot find dimension member.

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


Discuss cannot find dimension member. in the microsoft.public.sqlserver.olap forum.



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

Default cannot find dimension member. - 08-09-2004 , 02:47 PM






Hello all,

I've got an interesting case here. When I want to slice a dimension in an
MDX query, I get an error saying that the dimension member doesn't exist. If
I execute another MDX query to retrieve the members of the dimension, it
runs without error and show that the member is actually there. Here's the
interesting part: after that query if I run the exact same query that didn't
work, it runs smoothly. The queries are below. Any ideas?

Doesn't work:

with member Measures.dummy as '1'
select {Measures.dummy} on axis(0)
from x_20040809095631
where (branchdim.x_3180000003)

Error Message: unable to open cellset Formula Error - cannot find dimension
member ("branchdim.x_3180000003") - in a name binding function

After this query:

with member measures.dummy as '1'
select {measures.dummy} on axis(0),
{branchdim.members} on axis(1)
from x_20040809095631

It runs without errors.

Thanks,

Cagdas Ucar (Chadash Uchar)
Exametric, Inc.
Software Engineer





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.