dbTalk Databases Forums  

MDX - Member Key Column

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


Discuss MDX - Member Key Column in the microsoft.public.sqlserver.olap forum.



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

Default MDX - Member Key Column - 04-15-2004 , 12:06 PM






Hello,

I want to write a MDX Statement which will display the Member Key Column
Value and the Member Key Name Value. For Example: For Account Name leve
Member ky column is Account_Id and the Member Key Name is Account_Name.

Please help.

Thanks,
Manoj



Reply With Quote
  #2  
Old   
Brian Altmann
 
Posts: n/a

Default RE: MDX - Member Key Column - 04-15-2004 , 04:01 PM






I'm afraid you can't retrieve these properties with MDX.
These properties are AS-specific meta data, and as such, they are managed using DSO (Decision Support Objects).
You can use the DSO Level Inteface to access them.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html

Reply With Quote
  #3  
Old   
Andrej Hudoklin
 
Posts: n/a

Default Re: MDX - Member Key Column - 04-16-2004 , 12:31 AM




Hi,

you can show those values by using member properties.
The KEY value is already a default member property, but for the name you'll
have to create it on AS.

then you can just call the value like this:
[Dimension].currentmember.properties("key")

Check under BOL for member properties.


Hope it helps!

Peace,
Andrej



"Manoj Joshi" <manoj (AT) opussoft (DOT) com> wrote

Quote:
Hello,

I want to write a MDX Statement which will display the Member Key Column
Value and the Member Key Name Value. For Example: For Account Name leve
Member ky column is Account_Id and the Member Key Name is Account_Name.

Please help.

Thanks,
Manoj





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.