dbTalk Databases Forums  

Currency Problem

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


Discuss Currency Problem in the microsoft.public.sqlserver.olap forum.



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

Default Currency Problem - 01-14-2005 , 04:21 AM






Hi,

I have a cube and have created a lookup cube to get currency rate. I
have a calculated member that does a lookup from the main cube to get
the rate from currency cube based on currency selected and year
selection. This works fine.

I also have a currency dimension (USD,GBP,EUR) where GBP is the native
currency to be reported in the main cube.

What I want to do is :-

1) As the reporting currency is GBP, I need to create a calculated
member that sums the USD,GBP,EUR after applying the conversion rate to
GBP.

This is my attempt in solving point 1 but does not work as i get
strange results (not correct)

Sum({[scc].&[USD],[SCC].&[GBP],[SCC].&[EUR]},[Measures].[ConvPimRate])

I also want this calculation to be in parent dimension SCC.

ConvPimrate is the rate retreived from the lookup cube.
Any help appreciated.
Thanks


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Currency Problem - 01-16-2005 , 12:24 AM






Something like:

Quote:
With Member [SCC].[All SCC].[SumInGBP] as
'Sum({[SCC].&[USD],[SCC].&[GBP],[SCC].&[EUR]},
[Measures].[ConvPimRate] *
[Measures].CurrentMember)'
Quote:

- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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.