Multiple local or transaction Currency
2 posters
Page 1 of 1
Multiple local or transaction Currency
My data mart has multiple currency.
For example 1.order amt(Euro)
2.cash back associated with order(Yen)
3.Referring Cash Back(Can$).
And i will all these measures converted to standard us dollars.
Initially i was thinking of one transaction currency and one global currency but it won't work for the above rule. Any one have suggestions or ideas on the above scenario ?
For example 1.order amt(Euro)
2.cash back associated with order(Yen)
3.Referring Cash Back(Can$).
And i will all these measures converted to standard us dollars.
Initially i was thinking of one transaction currency and one global currency but it won't work for the above rule. Any one have suggestions or ideas on the above scenario ?
davidbi- Posts : 11
Join date : 2014-04-24
Re: Multiple local or transaction Currency
First, it is extremely unusual for a single transaction to be recorded in multiple currencies. It is not unusual to express a transaction in a local and standard currency. As far as calculating the standard currency value, you need to discuss with your Finance dept. Currency exchange almost never happens at the time of the transaction, so there is often a nominal exchange rate that may change daily, weekly or even monthly depending on how FX is handled by the company.
Aggregations are performed on the standard currency. The local currency is semi-additive. If you so sum local currency, it must be bounded by the currency. It is possible to produce a full summary in a local currency if you apply the nominal exchange rate to the standard currency during summarization.
Aggregations are performed on the standard currency. The local currency is semi-additive. If you so sum local currency, it must be bounded by the currency. It is possible to produce a full summary in a local currency if you apply the nominal exchange rate to the standard currency during summarization.
Re: Multiple local or transaction Currency
Thanks for the response. What i am planning to have in the fact table is
OrderAmt local Currency| OrderAmt US Currency |Cash back associated with order local Currency|cash back associated with order US Currency |Referring Cash Back Local Currency |Referring Cash Back US Currency
So total 6 measures.
Do you think this is a good option or any suggestions ?
OrderAmt local Currency| OrderAmt US Currency |Cash back associated with order local Currency|cash back associated with order US Currency |Referring Cash Back Local Currency |Referring Cash Back US Currency
So total 6 measures.
Do you think this is a good option or any suggestions ?
davidbi- Posts : 11
Join date : 2014-04-24
Re: Multiple local or transaction Currency
That's fine. I assume there is a currency dimension as well and a support table with exchange rates.
Re: Multiple local or transaction Currency
Yes, that's right. I have one currency dimension and one currency fact table. And if i need to convert to any currency the user wants, then I got to have combination of all currency for every currency for a every date right ?
davidbi- Posts : 11
Join date : 2014-04-24
Re: Multiple local or transaction Currency
You could just have conversions to standard. It all depends on how precise it needs to be. Unless you are a financial institution it probably doesn't matter that much, since the standard currency value is an approximation anyway.
Also, conversion rates are usually stored in two mutually exclusive columns: a multiplier and a divisor. You would use one or the other depending on the currency. The reason for this is some currencies may have many thousand to 1 ratios and you can lose significant precision if you only store it one way.
Also, conversion rates are usually stored in two mutually exclusive columns: a multiplier and a divisor. You would use one or the other depending on the currency. The reason for this is some currencies may have many thousand to 1 ratios and you can lose significant precision if you only store it one way.
Re: Multiple local or transaction Currency
Alright, thanks for the tip.
davidbi- Posts : 11
Join date : 2014-04-24
Similar topics
» Multiple transaction types, Average Transaction Value, and KPIs
» catering multiple transaction ids in one column
» Fact table design: Sales Transaction with multiple Discount rows
» Transaction fact without obvious transaction type field
» How to handle multiple aggregations for multiple KPIs in fact table
» catering multiple transaction ids in one column
» Fact table design: Sales Transaction with multiple Discount rows
» Transaction fact without obvious transaction type field
» How to handle multiple aggregations for multiple KPIs in fact table
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum