dbTalk Databases Forums  

Re: Period.Currentmember.name

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


Discuss Re: Period.Currentmember.name in the microsoft.public.sqlserver.olap forum.



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

Default Re: Period.Currentmember.name - 04-02-2004 , 11:18 PM






rickardrygin (AT) hotmail (DOT) com (Rickard) wrote in message news:<687e5de8.0403300508.5a496c0a (AT) posting (DOT) google.com>...
Quote:
Hi,

Period.currentmember.name retrieves the name of selected period, e.g.
December. Which MDX statement can I use to retrieve the actual key,
e.g. 0312?

period.currentmember uses the actual key, but if you want proof and
want to see it, use

membertostr(period.currentmember)

period.currentmember.properties("key") will get you the integer value
of the key

hope this helps.


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.