dbTalk Databases Forums  

Currency Conversion urgent

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


Discuss Currency Conversion urgent in the microsoft.public.sqlserver.olap forum.



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

Default Currency Conversion urgent - 04-12-2004 , 02:48 AM






Can any one guide me in implementing Exchange rate
I have sales cube with measures which need to multiply with currrency
conversion factor from Exchangerate cube
My sales cube has countrykey,Timekey

Exchange rate cube has CurrencyKey,Timekey,Countrykey,Convfactor

Each measure in sales cube should multiply with the Convfactor

I am planning to have currency dimension with one level Currency which
will have values USD,EUR,GBP
If user selects USD should multiply with USD convfactor
Can any one tell me best approach

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

Default Re: Currency Conversion urgent - 04-12-2004 , 02:11 PM






Use a virtual cube to combine both your exchange rate cube and data cube.

Then you can use calculated cell for each of your currency to create a
calculation that multiply your raw data by the conversion factor at the leaf
of time (Since I asusme your exchange rates vary over time).

I have a question though, why do you have a CountryKey in your Exchange rate
fact table in addition to the CurrencyKey?
Do you rates vary by country? Ie: USD/EURO is different whether you are in
the US or in France?
Usually, exhange rate cube have Time key, currency key, scenario key
(optional, but usefule for Budget vs Actual rates), Rates measures...

Thierry [MS]
Quote:
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Prasanna" <tawargerip (AT) hotmail (DOT) com> wrote

Quote:
Can any one guide me in implementing Exchange rate
I have sales cube with measures which need to multiply with currrency
conversion factor from Exchangerate cube
My sales cube has countrykey,Timekey

Exchange rate cube has CurrencyKey,Timekey,Countrykey,Convfactor

Each measure in sales cube should multiply with the Convfactor

I am planning to have currency dimension with one level Currency which
will have values USD,EUR,GBP
If user selects USD should multiply with USD convfactor
Can any one tell me best approach



Reply With Quote
  #3  
Old   
Prasanna
 
Posts: n/a

Default Re: Currency Conversion urgent - 04-13-2004 , 04:09 AM



Thanks for your response but can you have any sample which
demonstrates creating calculated cells and what condition has to be
applied for calculated cells
will help me


"Thierry [MS]" <tdhers (AT) microsoft (DOT) com> wrote

Quote:
Use a virtual cube to combine both your exchange rate cube and data cube.

Then you can use calculated cell for each of your currency to create a
calculation that multiply your raw data by the conversion factor at the leaf
of time (Since I asusme your exchange rates vary over time).

I have a question though, why do you have a CountryKey in your Exchange rate
fact table in addition to the CurrencyKey?
Do you rates vary by country? Ie: USD/EURO is different whether you are in
the US or in France?
Usually, exhange rate cube have Time key, currency key, scenario key
(optional, but usefule for Budget vs Actual rates), Rates measures...

Thierry [MS]
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Prasanna" <tawargerip (AT) hotmail (DOT) com> wrote in message
news:d4b0bad7.0404112348.23a5394a (AT) posting (DOT) google.com...
Can any one guide me in implementing Exchange rate
I have sales cube with measures which need to multiply with currrency
conversion factor from Exchangerate cube
My sales cube has countrykey,Timekey

Exchange rate cube has CurrencyKey,Timekey,Countrykey,Convfactor

Each measure in sales cube should multiply with the Convfactor

I am planning to have currency dimension with one level Currency which
will have values USD,EUR,GBP
If user selects USD should multiply with USD convfactor
Can any one tell me best approach

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.