dbTalk Databases Forums  

Member property in MDX request

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


Discuss Member property in MDX request in the microsoft.public.sqlserver.olap forum.



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

Default Member property in MDX request - 09-11-2006 , 03:00 AM






Hi,

I begin with Analysis Services and I'd like to know if it is possible to
include a condition on a property member in the where clause...
I don't really have the choice, the only parameter I know to request the
cube is a property member and not a member, the environment is SQL Server
2000.

Thanks for your help !

Reply With Quote
  #2  
Old   
Tim Harris
 
Posts: n/a

Default Re: Member property in MDX request - 09-12-2006 , 12:34 PM







Julien wrote:
Quote:
Hi,

I begin with Analysis Services and I'd like to know if it is possible to
include a condition on a property member in the where clause...
I don't really have the choice, the only parameter I know to request the
cube is a property member and not a member, the environment is SQL Server
2000.

Thanks for your help !
I have used the filter function on rows or columns to do what I think
you are after.

Here is a foodmart example that displays the 1997 sales for all
California customers who are Female:

SELECT
{ [Time].DEFAULTMEMBER } ON COLUMNS ,
{ Filter(DESCENDANTS( [Customers].[State Province].&[CA],
[Customers].[Name] ),
[Customers].CurrentMember.Properties("Gender")="F") } ON ROWS
FROM [Sales]
WHERE ( [Measures].[Unit Sales] )



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.