Data Modeling
The safest way to handle multiple currencies in a fact table is to store the original transaction amount and currency exactly as they occurred, then add separate reporting currency measures that are clearly named, documented, and tied to an exchange rate policy. Do not use one generic amount column and expect dashboards to infer whether it means EUR, GBP, USD, local currency, corporate currency, or some converted value.
The modeling problem: one amount field can mean too many things
Currency looks like a formatting concern until the same fact table contains transactions from several countries, entities, or marketplaces. At that point, a generic field named amount becomes dangerous. A sum of 100 EUR, 80 GBP, and 50 USD is not 230 of anything useful.
The issue is not that fact tables cannot contain monetary values. They can. The issue is that every monetary measure needs a currency context. If that context is implicit, different teams will make different assumptions. Finance may expect corporate reporting currency. Sales may expect local currency. A dashboard may display a dollar sign because the BI tool defaulted to USD.
A good dimensional model separates two questions:
- What happened originally? This is the source event amount in its transaction currency.
- How should we report it? This is a derived measure in a specific reporting currency under a specific conversion rule.
Start with the fact grain before adding currencies
Currency design depends on the grain of the fact table. If the fact grain is one invoice line, then original and reporting amounts should describe that invoice line. If the fact grain is one payment, the amounts should describe that payment. If the fact grain is a daily account balance, the amounts should describe that daily balance.
Do not solve currency ambiguity by adding rows or columns before the grain is clear. Otherwise, the same business event may be converted multiple times, joined to multiple exchange rates, or aggregated with a mix of transaction-level and summary-level numbers.
A useful grain statement is direct: one row per invoice line as issued, one row per payment transaction, or one row per order line at booking time. Once that is declared, every currency field can be checked against that grain.
The core pattern: preserve original amounts and create explicit reporting measures
The core pattern is simple: store the original monetary facts with their transaction currency, then store or derive reporting monetary facts with their reporting currency and conversion policy.
For a fixed corporate reporting currency, the fact table often contains both original and reporting measures. For example, an invoice line fact might include original_net_amount, transaction_currency_key, reporting_net_amount_usd, and usd_exchange_rate_key. The original amount remains auditable to the source event. The reporting amount is safe to sum as USD because its name and currency are explicit.
For several supported reporting currencies, avoid hiding the selected currency inside a generic measure. Either create explicitly named fixed measures, such as reporting_net_amount_usd and reporting_net_amount_eur, or create a separate reporting amount fact whose grain includes the reporting currency and conversion policy.
A monetary measure is additive only when the rows share the same currency meaning. Original local amounts are additive within a currency group. Reporting amounts are additive within their defined reporting currency and conversion policy.
A dimensional schema for currency-aware facts
A practical dimensional design usually includes the base business fact, a currency dimension, and an exchange rate dimension or exchange rate fact. The exact implementation depends on the warehouse and modeling tool, but the semantic roles should be clear.
The base fact should carry the original amount and the currency in which the event occurred. The reporting measure should carry enough context to explain how the converted value was produced. That means the reporting currency, rate date, rate type, and conversion policy should not live only in a dashboard calculation that no one can audit.
A compact design for one corporate reporting currency looks like this:
- fct_invoice_line: one row per invoice line as issued.
- dim_currency: one row per currency, such as USD, EUR, or GBP.
- dim_exchange_rate: one row per from-currency, to-currency, rate date, and rate type.
- original_net_amount: the invoice line net amount in the transaction currency.
- transaction_currency_key: the currency of the original invoice line.
- reporting_net_amount_usd: the invoice line net amount converted to USD under the chosen policy.
- usd_exchange_rate_key: the exchange rate record used to produce the USD reporting amount.
If the organization reports in more than one currency, the design should make each reporting currency visible. A separate reporting fact can have a grain such as one row per invoice line per reporting currency per conversion policy. That expanded grain is intentional. It prevents a user-selected reporting currency from being confused with the original transaction currency.
| Field or table | Example | Purpose |
|---|---|---|
| Base fact grain | One row per invoice line as issued | Defines what each amount describes |
| Original amount | original_net_amount | Preserves the source event amount |
| Transaction currency | transaction_currency_key | Identifies the currency of the original amount |
| Reporting amount | reporting_net_amount_usd | Stores a converted amount with an explicit currency |
| Exchange rate reference | usd_exchange_rate_key | Links the reporting amount to the conversion rule used |
| Currency dimension | dim_currency | Standardizes currency codes and labels |
| Exchange rate table | dim_exchange_rate or fct_exchange_rate | Stores rates by from-currency, to-currency, date, and rate type |
A reconciled example: original amounts and USD reporting amounts
Consider a hypothetical invoice line fact with three rows. The original amounts are in different currencies, but the organization reports revenue in USD using the transaction date spot rate. The numbers below are illustrative, not a recommendation for a specific exchange rate source or accounting policy.
The original local amounts should not be summed into one headline total. They can be grouped by transaction currency. The USD reporting amount can be summed because every row has been converted into the same reporting currency under the same stated rule.
In this example, the local-currency total displayed as 230 is meaningless because it mixes EUR, GBP, and USD. The USD reporting total of 260 is meaningful because it is the sum of the row-level USD reporting measures.
| Invoice line | Original amount | Transaction currency | Rate to USD | USD reporting amount |
|---|---|---|---|---|
| A | 100.00 | EUR | 1.10 | 110.00 |
| B | 80.00 | GBP | 1.25 | 100.00 |
| C | 50.00 | USD | 1.00 | 50.00 |
| Total if original amounts are mixed | 230.00 | Mixed | Not applicable | Not meaningful |
| Total reporting amount | Not applicable | USD reporting | Policy: transaction date spot rate | 260.00 |
Use measure names that carry the currency meaning
Most currency problems become harder when the model uses vague measure names. Names like amount, net_amount, and revenue are not enough when several currencies exist.
Prefer names that encode the role of the value. Use original_net_amount for the source amount. Use reporting_net_amount_usd for a USD reporting value. If the rate policy matters, document it in the metric definition or include it in the reporting fact grain. For example, management reporting at monthly average rates is not the same measure as statutory reporting at transaction-date spot rates.
This naming discipline helps both humans and BI tools. A dashboard can still format reporting_net_amount_usd with a dollar sign, but the model does not depend on formatting to explain the measure.
Define the conversion policy before building measures
A reporting currency measure is only as clear as its conversion policy. The same original transaction can produce different reporting values depending on the rate date and rate type.
At minimum, define these rules before publishing the measure:
- Reporting currency: for example, USD corporate reporting currency.
- Rate direction: whether rates are stored as from-currency to reporting-currency or the inverse.
- Rate date rule: transaction date, invoice date, payment date, month-end date, or another stated date.
- Rate type: spot, average, month-end, budget, planning, or another managed type.
- Rounding rule: row-level rounding, aggregate-level rounding, and decimal precision.
- Missing rate behavior: reject the row, use the previous available rate, flag an exception, or route to a review process.
These are modeling decisions, not dashboard styling decisions. If they are left until the BI layer, two reports can both look correct while producing different totals.
Do not let a BI formatting choice define the currency. A dollar sign on a chart is not the same as a modeled USD reporting measure.
Common failure modes in multi-currency fact tables
Multi-currency facts usually fail in predictable ways. The problem is rarely that teams forgot exchange rates exist. The problem is that the model does not say which amount is original, which amount is converted, and which conversion rule was used.
- Mixed-currency totals: a report sums original amounts without grouping by transaction currency.
- Implicit dashboard conversion: the BI layer applies a rate without exposing the policy or rate key.
- Generic reporting amount: a field named reporting_amount exists, but users cannot tell whether it is USD, EUR, budget-rate USD, or actual-rate USD.
- Many-to-many rate joins: the fact joins to several rates for the same date because rate type or reporting currency is missing from the join condition.
- Changed historical rates: a refreshed exchange rate table changes previously published reporting numbers without versioning or policy control.
- Wrong grain expansion: adding one row per reporting currency without updating the fact grain causes double counting in existing measures.
Choose the right pattern for your reporting need
The design choice depends on how many reporting currencies are required and how stable the reporting rules are. A company with one corporate currency has a simpler model than a marketplace that lets every regional team select a reporting currency.
Use fixed reporting columns when the reporting currencies are few, stable, and central to the business definition. Use a separate reporting amount fact when users need multiple reporting currencies, multiple rate policies, or scenario reporting. Use dynamic conversion cautiously, and only when the semantic layer can enforce rate policy, currency selection, and aggregation rules consistently.
The durable rule is that every additive monetary measure must have one currency meaning at query time. If the query result does not have a single currency meaning, the measure should not be presented as one total.
If the model supports multiple reporting currencies, decide whether currency selection changes the measure, the row grain, or both. Hidden grain changes are a common source of double counting.
| Reporting need | Recommended pattern | Main risk to control |
|---|---|---|
| One corporate reporting currency | Store original amount plus explicitly named reporting measure in the same atomic fact | Ambiguous measure names or undocumented rate policy |
| A small fixed set of reporting currencies | Use explicitly named reporting measures or a controlled reporting amount fact | Wide facts with too many similar columns |
| Many selectable reporting currencies | Use a reporting amount fact with reporting currency in the grain, or a governed semantic conversion layer | Double counting when the expanded grain is hidden |
| Scenario or planning rates | Separate actual-rate and scenario-rate measures or policies | Mixing actuals, budget rates, and forecasts in one measure |
| Ad hoc exploration only | Allow dynamic conversion with clear warnings and constraints | Users treating exploratory conversions as official reporting numbers |
Checks before publishing a multi-currency fact
Before publishing the fact table or semantic model, run a few checks that catch most design errors.
- Can a user identify the transaction currency for every original amount?
- Can a user identify the reporting currency for every reporting amount?
- Does every reporting amount have a rate key, rate date, rate type, or documented conversion policy?
- Does the sum of original amounts require grouping by transaction currency?
- Does the sum of a reporting measure contain only one reporting currency and one intended policy?
- Can the model reproduce a row-level conversion from original amount, rate, and reporting amount?
- Are missing or stale exchange rates visible as data quality issues rather than silently filled values?
- Will adding another reporting currency change the grain of the existing fact?
If the answer to any of these is unclear, the model is not ready for broad dashboard use.
Operator rules for trustworthy currency measures
Use these rules when reviewing a fact table with multiple currencies:
- Never sum original monetary amounts across currencies without grouping by currency.
- Never publish a reporting amount without naming or documenting the reporting currency.
- Do not treat exchange rates as harmless lookup attributes. They are part of the measure definition.
- Keep original amounts even when reporting amounts exist. They are needed for auditability, reconciliation, and source-system comparison.
- Make grain expansion explicit. If one business event becomes one row per reporting currency, the fact grain has changed.
- Separate accounting policy from convenience conversion. A quick analytical conversion is not necessarily a finance-approved reporting measure.
Key takeaways
- Keep original transaction amounts and transaction currency keys intact; they answer what happened in the source system.
- Create reporting currency measures as separate, explicit facts or columns; they answer how the event should be reported.
- A mixed-currency original amount total is not meaningful unless grouped by currency.
- Exchange rate date, rate type, reporting currency, and rounding policy are part of the measure definition.
- If supporting multiple reporting currencies changes the number of rows per business event, declare that grain change clearly.
Next step
Take one existing monetary fact table and list every amount column. For each column, write whether it is original or reporting, what currency it uses, what rate policy applies, and whether it can be safely summed without grouping by currency. Rename or remodel any column where the answer is unclear.
- Read Multiple Units of Measure in Facts: A practical dimensional modeling pattern for keeping cases, eaches, pounds, kilograms, liters, and other quantities from being summed into nonsense.
- Read Allocated Measures Across Multiple Dimensions: A practical dimensional modeling pattern for assigning one amount to several recipients without inflating totals.
- Read Data Modeling Before Dashboards: Build Metrics People Can Trust: Use business definitions, entities, events, and trusted marts before investing in dashboard polish.