Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Item/Foreign Currency Question Expand / Collapse
Author
Message
Posted Monday, December 10, 2012 11:48 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 2, 2014 3:59 PM
Points: 213, Visits: 572
Each item has a currency (USD, AUD, CAD, etc.) and a currency amount. Each currency amount has a starting effective date and an ending effective date. Right now currency, currency amount, currency from date and currency to date are all in the Item dimension.

Here’s the question: should the currency amount actually be a measure? Should it be part of our sales measure group/fact tables? If so, how?
Post #1394727
Posted Tuesday, December 11, 2012 6:29 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, October 16, 2014 11:55 AM
Points: 1,197, Visits: 1,239
imani_technology (12/10/2012)
Each item has a currency (USD, AUD, CAD, etc.) and a currency amount. Each currency amount has a starting effective date and an ending effective date. Right now currency, currency amount, currency from date and currency to date are all in the Item dimension.

Here’s the question: should the currency amount actually be a measure? Should it be part of our sales measure group/fact tables? If so, how?

How do you want to do you currency conversion?

From the book 2008 SSAS Step by Step:


For example, sales transactions in euros, British pounds, and U.S. dollars are loaded into the cube in their original currency values. The cube converts all of the values into euros for corporate rollup and reporting. This is referred to as a many-to-one type of currency conversion.

Another approach handles the scenario in which all financial values have been converted into the single target (or pivot) currency before they are loaded into the cube. After the values are loaded into the cube, they are ready for corporate consolidation, rollup, and reporting. The cube can then convert the values into multiple currencies so that any corporate entity can create reports in its local currency. For example, sales transactions are all converted into euros and then loaded into the cube. The values are ready for corporate rollup and reporting. The cube then converts the values into British pounds when someone from Wales executes a report and converts the values into U.S. dollars when someone from New York executes a report. This approach is referred to as a one-to-many type of currency conversion.

Another approach is a combination of the previous two approaches. All financial facts are loaded into the cube with values in their original currency. The cube can then convert the values into multiple currencies. For example, sales transactions in euros, British pounds, and U.S. dollars are loaded into the cube in their original currency values. The cube converts all of the values into euros when someone at headquarters executes a corporate report. The cube also converts the values into British pounds when someone from Wales executes a report and converts the values into U.S. dollars when someone from New York executes a report. This approach is referred to as a many-to-many type of currency conversion.


Depends upon your business requirements.

To do currency conversion, you are going to need a currency dimension ( for USD, AUD, CAD, etc.) and a fact table that tracks the exchange rates over time. It sounds like you have these.

HTH,
Rob
Post #1395082
Posted Tuesday, December 18, 2012 10:26 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 2, 2014 3:59 PM
Points: 213, Visits: 572
Thanks for the information. I hope to review that book over the holidays.
Post #1397911
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse