How-to guide

Power BI Currency Conversion for Multi-Currency Sales and Invoice Lines

Power BI currency conversion inside one model means turning sales or invoice lines booked in several currencies into the currency a reader picks. To do that you choose the rate date, decide where the conversion runs, and make totals and symbols behave. This guide is for the BI developer working at transaction level. Translating whole subsidiary ledgers into a group reporting currency is a different job, covered by our multi-entity consolidation dashboard.

The arithmetic is one multiplication. The hard part is everything around it: the date of the rate, invoices that land on a Saturday, a total row that adds euros to dollars, and a dollar sign that stays put after someone picks yen in the slicer. The sections below take those one at a time, with DAX you can adapt. They assume a star schema: a Sales fact with an amount and a currency code on each line, related to a marked Date table. If your model is still one wide table, start with our Power BI star schema guide.

Which currency conversion scenario are you building?

SQLBI’s Marco Russo frames currency conversion as three scenarios: data in multiple currencies reported in one currency, data in one currency reported in several, and data in multiple currencies reported in several. Name yours first, because it decides whether you need a rates table keyed by source currency, by report currency, or by both.

The framing comes from SQLBI’s article Currency conversion in Power BI reports. The table below maps each scenario to what the model has to carry. The rest of this guide builds the third and most general case, which also covers the other two.

The three currency conversion scenarios and what each one asks of the model.
Scenario Typical example What the model needs Where conversion usually runs
Many source currencies, one report currencyWeb orders in EUR, GBP and CAD, reported in USDRates from each source currency to the report currencyAt load, as a stored converted column
One source currency, many report currenciesA US company whose regional managers want their own currencyRates from the base currency to each report currency, plus a currency slicerIn DAX, driven by the slicer
Many source currencies, many report currenciesInvoices in local currency across regions, viewed in any currencyEvery currency against one base currency, so any pair can be derivedIn DAX, or to a base currency at load and on from there in DAX

Which exchange rate date should a transaction convert at?

Convert each transaction at the rate for its own date when the report must match invoices or the ledger line by line. Use a monthly average rate when finance budgets and reviews in averages, and keep period-end rates for balances. Whichever you choose, write it on the report, because each one gives a different total.

Your accounting system has usually made this choice already, and the report should follow it. If the ledger books each invoice at the spot rate on the invoice date, a report converted at the monthly average will not tie out to it, however correct the DAX is.

Exchange rate bases for converting transactions, and the trade-off each one carries.
Rate basis How the lookup joins Best for Watch out for
Daily rate on the transaction dateDate + source currencyMatching invoices and ledger postings line by lineWeekend and holiday gaps; the largest rates table
Monthly average rateYear-month + source currencySales and margin trends that finance reviews in averagesWon’t tie to individual invoices; the current month’s average changes until it closes
Period-end ratePeriod-end date + currencyOpen balances such as receivables at month endWrong for revenue flows, which happened across the period, not on its last day
Fixed budget or plan rateFiscal year + currencyConstant-currency comparisons against budgetRemoves exchange movement on purpose, so label it clearly

Should you convert at load or in DAX?

Convert at load when every reader uses one report currency and the rate never changes: Power Query merges the rate onto each row and stores a converted amount. Convert in DAX when users pick the report currency, or when rates are revised, because the measure reads the rates table at query time instead of a stored column.

Load-time conversion is the simplest and fastest option at query time, and a plain SUM works on the result. Its weakness is staleness. Under incremental refresh, older partitions are not reloaded, so a corrected historical rate never reaches the rows already stored. Conversion in DAX avoids that and supports a currency slicer. Keep the rates table with one row per date and currency, each rate stated in base-currency units per one unit of that currency, and give the base currency a row at 1 on every date. Leave the table unrelated to the rest of the model so slicers never filter it:

Sales (Report Currency) =
VAR _target = SELECTEDVALUE ( 'Report Currency'[Currency], "USD" )
RETURN
SUMX (
  SUMMARIZE ( Sales, 'Date'[Date], Sales[Currency] ),
  VAR _src = LOOKUPVALUE ( Rates[Rate to Base], Rates[Date], 'Date'[Date], Rates[Currency], Sales[Currency] )
  VAR _tgt = LOOKUPVALUE ( Rates[Rate to Base], Rates[Date], 'Date'[Date], Rates[Currency], _target )
  RETURN CALCULATE ( SUM ( Sales[Amount] ) ) * DIVIDE ( _src, _tgt )
)

The measure walks every date and source currency in the current filter, sums the amounts for that combination, and multiplies by the cross rate: source to base, then base to target. Replace "USD" with your own base currency. For a monthly average basis, summarize by 'Date'[Year Month] and key the rates table by month instead. Both lookups depend on a correct calendar; our time intelligence DAX guide covers the Date table requirements.

How do you handle missing weekend and holiday rates?

Many rate sources publish only on business days, so a Saturday invoice finds no rate and a lookup returns blank, silently dropping that sale from the converted total. Fix it in the rates table, not the measure: expand it to every calendar date and carry the last published rate forward into the gaps.

In Power Query, build every date and currency combination for the calendar range, left-merge the published rates onto it, sort by currency and then date, and fill down within each currency. Make sure the range starts on a day that has a published rate, or the first rows have nothing to fill from. Carrying the previous business day’s rate forward is a common convention, but it is a policy choice, so confirm it with finance. Then add a check measure to a data-quality page so a gap shows up before a reader finds it:

Dates Missing a Rate =
COUNTROWS (
  FILTER (
    SUMMARIZE ( Sales, 'Date'[Date], Sales[Currency] ),
    ISBLANK ( LOOKUPVALUE ( Rates[Rate to Base], Rates[Date], 'Date'[Date], Rates[Currency], Sales[Currency] ) )
  )
)

Anything above zero means sales are missing from the converted figures. A new currency code arriving from the source system, such as a first sale in a new market, is the other usual cause.

Why is the total across currencies wrong?

Because adding 100 euros to 100 dollars produces a number with no unit. A SUM over an amount column that holds several currencies looks plausible in a card or total row but means nothing. Guard local-currency measures so they return blank unless exactly one currency is in context, and let only converted measures total.

Sales (Local) = IF ( HASONEVALUE ( Sales[Currency] ), SUM ( Sales[Amount] ) )

With that guard, a matrix by customer shows each customer’s local amount, the grand total stays blank, and the converted measure beside it carries a total that adds up. Hide the raw Sales[Amount] column so nobody drags it onto a visual and gets an implicit sum. ERP extracts usually carry a currency code on every transaction line; our NetSuite Power BI dashboard builds handle currency at that fact grain for the same reason.

How do users switch the report currency?

Add a small disconnected Report Currency table listing each currency users may choose, with its format string, and put it in a single-select slicer. The converted measure reads the selection with SELECTEDVALUE, defaults to your base currency when nothing is picked, and looks up the matching target rate for every date and source currency.

A two-column table built with Enter data is enough: Currency (USD, EUR, GBP and so on) and Format. It needs no relationship, because the measure reads it rather than the model filtering through it. When many amount measures need converting, such as sales, cost and margin, you can write the conversion once in a calculation group and apply it to each measure through SELECTEDMEASURE(). Microsoft documents how to create calculation groups in Power BI Desktop (opens in new tab) from Model view or TMDL view. The same page notes two side effects: adding one turns on discourage implicit measures, and model measures switch to the variant data type. Exclude ratios and counts from the conversion item, because a percentage multiplied by an exchange rate is wrong.

Why doesn’t the currency symbol follow the slicer?

Because a static format string is fixed when you set it, so a measure formatted as dollars keeps its dollar sign after the slicer switches to euros. Give the converted measure a dynamic format string that reads the selected currency’s format, and the symbol and decimal places change with the number.

Select the measure, choose Dynamic in the Format box on the Measure tools ribbon, and enter an expression that returns the format for the selected currency:

SELECTEDVALUE ( 'Report Currency'[Format], "\$#,0.00;(\$#,0.00);\$#,0.00" )

Fill the Format column with strings such as € #,0.00 for euros or £ #,0 for pounds. Microsoft’s walkthrough of dynamic format strings for measures (opens in new tab) uses this exact currency example. It also explains why FORMAT() inside the measure is the wrong fix: FORMAT() returns text, which charts cannot plot. If a visual still shows an unexpected symbol or scale, set its display units from Auto to None.

Putting it together

Agree the rate source and rate basis with finance. Load a gap-free rates table keyed to one base currency, then convert in DAX through a disconnected currency slicer. Guard the local-currency measures, and let a dynamic format string carry the symbol. Add the missing-rate check to the data-quality page and the rate basis to the report footer, so every converted figure can be explained.

FAQ

Frequently asked questions

Power BI does not supply exchange rates, so the model needs a source your finance team accepts. Common choices are the rate table already kept in your ERP, a feed from your bank or treasury system, or reference rates published by a central bank. Pick one source, load it on a schedule, and name it on the report.

Usually not. Store each currency against a single base currency, with the base itself at a rate of 1 on every date. Any pair can then be derived by dividing one rate by another, so ten currencies need ten rows per date instead of ninety. Record the direction of every rate in the column name to prevent inverted conversions.

The converted measure iterates over every date and source currency combination in the visual, so cost grows with the date range and the number of currencies, not with the number of sales rows. For most models it stays quick. If it does not, convert to the base currency at load so DAX handles one source currency.

Yes, as two measures in the same table or matrix. The local amount should return a value only when one currency is in context, so it shows on each customer or invoice row and stays blank on mixed totals. The converted amount fills every row and the grand total, so readers always have a figure that adds up.

Try us risk-free for 4 hours

If you’re unhappy within the first 4 hours of your block, we’ll refund you in full — no questions asked. Hours are deducted only for work you’ve reviewed and approved, and they never expire.

Need converted figures that tie out to the ledger?

Bring your model and your rate source to a free demo. Building the rates table, the currency slicer and the conversion measures, then checking a month against your accounting system, is the kind of task prepaid Flex hours cover, from $100/hour. We scope it, you approve, and most focused builds land in 3–5 business days.

Scope approved before any hours are used · Hours never expire

Book a free demo

See what your Power BI reporting would take

Tell us the task. We reply within one business day, and you get a scope estimate and the hours needed before any work begins.

Step 1 of 2: What do you need?

How can we help? Pick one

Tap to add, or type your own:

Step 2 of 2: Where should we reply?

Used only to contact you about this inquiry.

We reply within one business day. Scope approved before any hours are used. We don’t sell your information.

Tell us the task. We scope it, you approve, and a senior consultant delivers — typically in 3–5 business days. Prepaid hours that never expire.

  • Prepaid hours from $100/hour — and they never expire
  • Senior-led delivery — 20+ years on the Microsoft platform
  • Typical 3–5 business day turnaround
  • Full refund if you’re unhappy in your first 4 hours
Book my free demo