dbTalk Databases Forums  

DIMENSION PROPERTIES statement

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


Discuss DIMENSION PROPERTIES statement in the microsoft.public.sqlserver.olap forum.



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

Default DIMENSION PROPERTIES statement - 10-13-2003 , 01:27 PM






Does the ADOMD.CELLSET object support the dimension properties statement?
If so, how to use it?

An other task, can i conditional format in Excel a value cell depending on
the value of a member on the column axis (ie the day from the time
dimension) and a property value of a member on row axis (ie contact_date of
client dimension)?
For example, I want to mark in red all the sales for a certain client who
purchased before the contact date.

Thanks in advance

Massi





Reply With Quote
  #2  
Old   
Matt Carroll [MS]
 
Posts: n/a

Default Re: DIMENSION PROPERTIES statement - 10-14-2003 , 12:24 PM






The DIMENSION PROPERTIES is included in the MDX query sent to the server.
Here's an example that request the intrinsic member property MEMBER_TYPE and
the user defined property Gender. (This sample works on Foodmart 2000.)

select Head(Customers.[Name].Members, 10) DIMENSION PROPERTIES MEMBER_TYPE,
Customers.[Name].Gender on 0 from Sales

You can then find the properties requested in the Properties collection on
the Member objects in Adomd. Note that for user defined member properties
you need to qualify the property with the level to which it applies.

- Matt Carroll
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Massi" <massi (AT) tiscali (DOT) it> wrote

Quote:
Does the ADOMD.CELLSET object support the dimension properties statement?
If so, how to use it?

An other task, can i conditional format in Excel a value cell depending on
the value of a member on the column axis (ie the day from the time
dimension) and a property value of a member on row axis (ie contact_date
of
client dimension)?
For example, I want to mark in red all the sales for a certain client who
purchased before the contact date.

Thanks in advance

Massi







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.