Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.