Showing results for 
Search instead for 
Did you mean: 
New Member

Sales Coulumn data stored in multiple currencies and I want to convert into a preselected currency

Hi, I am new to PowerBI when it gets to multiple currency dataset 


I have a source Sales Transaction table which has a unit_price column, and a currency column shows which currency is the unit_price value in the record.

The requirement is to have a Currency Slicer on the Report page in PBI. Once the Currency is selected, then the unit_price values will be viewed in the selected currency.

In my SSIS package, I populate the currency_rate table which covers all the major currencies (AUD,USD,EUR,etc..) for each day and versus the each of those Currencies on a daily bases from our ERP system. The Schema of this table is :

Transaction_Currency, RateDate, Currency, Rate

Example for its records:

Record_1  : AUD,2019-12-16 00:00:00.000,AUD,1.000

Record_2  : AUD,2019-12-16 00:00:00.000,USD,0.692

Record_3  : AUD,2019-12-16 00:00:00.000,EUR,0.620

Record_4  : AUD,2019-12-16 00:00:00.000,GBP,0.514

Record_5  : AUD,2019-12-16 00:00:00.000,NZD,1.047200

Record_6  : SGD,2019-12-16 00:00:00.000,AUD,1.068

Record_7  : SGD,2019-12-16 00:00:00.000,USD,0.739

Record_8  : SGD,2019-12-16 00:00:00.000,EUR,0.662

Record_9  : SGD,2019-12-16 00:00:00.000,GBP,0.549717

Record_10: SGD,2019-12-16 00:00:00.000,NZD,1.118

Record_11: SGD,2019-12-16 00:00:00.000,SGD,1.000


The Schema for the Sales_Transaction Table is:


Example for its records:

Record_1  : 10465,2019-12-16 00:00:00.000,1,120,AUD,10

Record_2  : 10465,2019-12-16 00:00:00.000,2,125,AUD,30

Record_3  : 10466,2019-12-16 00:00:00.000,1,131,SGD,25

Record_2  : 10466,2019-12-16 00:00:00.000,2,135,SGD,15


Both source tables are imported into my PowerBI model as a dataset

And as an example the user selects EUR as a currency from the Currency Slicer, he wants the reports list and charts to show the sales in regardles what the transaction currency is, so that he can get the Total sales correct in the currency he selects.


I saw the Video to handle multiple currencies, but in that video the transaction currency is one type not multiple ones like in my case.


Whoever knows the best way to handle my case , I appreciate if you can share the solution






Not applicable

@ahamawandi Please try below measure to get the unit price in selected currency

Measure = 
VAR _selectedCurrency = SELECTEDVALUE(currency_rate[Currency])
VAR _currentCurrency = MAX(Sales_Transaction[Currency])
VAR _rate = CALCULATE(MAX(currency_rate[Rate]),FILTER(ALL(currency_rate),currency_rate[Currency]=_selectedCurrency&&currency_rate[Transaction_currency] = _currentCurrency))
RETURN SUMX(Sales_Transaction,_rate*Sales_Transaction[Unit_price])

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors