dbTalk Databases Forums  

Filter Issue

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


Discuss Filter Issue in the microsoft.public.sqlserver.olap forum.



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

Default Filter Issue - 10-04-2004 , 11:20 AM






i am trying to filter on customer account number and i can not get it to
work -

select

{[measures].[sales]} on columns,

{filter([product].[product description].members, [customer].[customer
account no].members = 1005)} on rows

from [sales]


what i am trying to do is create a 'set' of products that a specific to one
customer


any ideas?





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

Default RE: Filter Issue - 10-04-2004 , 01:33 PM






Try this (not promising anything):
select
{[measures].[sales]} on columns,
{filter
CROSSJOIN([product].[product description].members, customer.[customer
account no].members),
NOT IsEmpty(product.CurrentMember,[customer].CurrentMember)
} on rows
from [sales]

What was the "=1005" bit supposed to do?

Hope this helps. Let me know OK.

Regards
Jamie Thomson
http://www.conchango.com


"Jez" wrote:

Quote:
i am trying to filter on customer account number and i can not get it to
work -

select

{[measures].[sales]} on columns,

{filter([product].[product description].members, [customer].[customer
account no].members = 1005)} on rows

from [sales]


what i am trying to do is create a 'set' of products that a specific to one
customer


any ideas?






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.