dbTalk Databases Forums  

Help! How can I specify a date (member of time) to use in a tuple programatically?

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


Discuss Help! How can I specify a date (member of time) to use in a tuple programatically? in the microsoft.public.sqlserver.olap forum.



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

Default Help! How can I specify a date (member of time) to use in a tuple programatically? - 11-04-2003 , 02:36 PM








Hello All,

I have a calculated member called [Last Market Value Date] which returns the
date of a Market Value transaction in the form mm/dd/yyyy


Now I need to get the Adjusted Market Value (a different member of the
account dimesnion) on that same day:


If I was hard coding the date for say 12/21/1999, I could create a
calculated member in the Account dimension as follows:

([Account].[Adj MV], [time].[12/21/1999])


HOW do I use the "calculated" Last Market Value Date to specify the time
dimension in my tuple instead of hardcoding as above?

I am stumped! I have tried everything I can think of short of creating a
custom function.

Thanks in advance

Eric



Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Help! How can I specify a date (member of time) to use in a tuple programatically? - 11-04-2003 , 05:07 PM






Check out the StrToTuple function.

tom @ the domain below
www.tomchester.net


"Eric Bowden" <ehbowden (AT) nospamyahoo (DOT) com> wrote

Quote:

Hello All,

I have a calculated member called [Last Market Value Date] which returns
the
date of a Market Value transaction in the form mm/dd/yyyy


Now I need to get the Adjusted Market Value (a different member of the
account dimesnion) on that same day:


If I was hard coding the date for say 12/21/1999, I could create a
calculated member in the Account dimension as follows:

([Account].[Adj MV], [time].[12/21/1999])


HOW do I use the "calculated" Last Market Value Date to specify the time
dimension in my tuple instead of hardcoding as above?

I am stumped! I have tried everything I can think of short of creating a
custom function.

Thanks in advance

Eric





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.