dbTalk Databases Forums  

How to filter along a dimension in MDX

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


Discuss How to filter along a dimension in MDX in the microsoft.public.sqlserver.olap forum.



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

Default How to filter along a dimension in MDX - 05-16-2004 , 06:09 AM






I am trying to filter along a dimension and it comes up with Open
Cellset error for the following MDX query against the FoodMart Cube.

Select {[Customers]} on Columns,
Filter ([Store].[Store Name].Members,[Store].Currentmember) ="Store 2"
) on Rows
from SALES


Can somebody please clarify how I can resolve this.

Thanks
Simon

Reply With Quote
  #2  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: How to filter along a dimension in MDX - 05-16-2004 , 04:46 PM






Select {[Customers]} on Columns,
{Filter ([Store].[Store Name].members,[Store].currentmember.name = "Store
2")} on rows

from sales


--
Sean

--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Simon Lenn" <simonlenn (AT) yahoo (DOT) com> wrote

Quote:
I am trying to filter along a dimension and it comes up with Open
Cellset error for the following MDX query against the FoodMart Cube.

Select {[Customers]} on Columns,
Filter ([Store].[Store Name].Members,[Store].Currentmember) ="Store 2"
) on Rows
from SALES


Can somebody please clarify how I can resolve this.

Thanks
Simon



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.