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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
ymirza
Helper II
Helper II

Multiple Currencies in a single column converted to Euro or Dollar

I have this report with Cost of Assets purchased using different currencies. I would like to have one Column which will automatically convert them to Euro rate from another table. What is the appropriate measure?

 

CurrencyCost
YTL19,571.79
USD5,990.60
MAD0.00
YER126,000.00
USD2,314.55
SAR5,500.00
MAD6,800.00
NGN50,193.20
KES638,812.35
YER35,750.00
USD8,329.00
SAR5,500.00

 

CurrencyRate
DZD142.9654
EGP23.83123
EUR1
IRR155989.4
JOD0.858257
KES130.0549
KWD0.361328
LBP1815.732
MAD11.70195
NGN484.6802
PKR153.499
SAR4.497835
SEK10.48924
TND3.745863
YTL9.394526
AED4.400503
GBP0.90639
USD1.197867
YER300.6269
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @ymirza 

You would join the two tables on the currency field then this measure will get you the converted cost.

Cost EUR = SUMX ( Assets, Assets[Cost] * RELATED( 'Exchange Rates'[Rate] ) )

View solution in original post

6 REPLIES 6
jdbuchanan71
Super User
Super User

Hello @ymirza 

You would join the two tables on the currency field then this measure will get you the converted cost.

Cost EUR = SUMX ( Assets, Assets[Cost] * RELATED( 'Exchange Rates'[Rate] ) )

It is returning huge number. Probably it is adding to the SUMX equation?

 

image.png

 

Measure used: 

Cost Eur = SUMX(Data,Data[Cost]*RELATED(Rates[Rate]))
 
Even tried this:
 
Cost Eur = SUMX(Data,Data[Cost] / RELATED(Rates[Rate]))
 
returns
image.png

Do you have the two tables joined on the currecy field?

xrates.jpg

This is what your sample data looks like for me.

xrateTable.jpg

 

 

 

 

Yes the relationship is already established between two currency tablesYes the relationship is already established between two currency tablesstill returns a huge number. the format is Whole Numberstill returns a huge number. the format is Whole Number

If you load your two sample tables into a .pbix do you see the same numbers I see with the measure?

Are you able to share your .pbix file?  I can't think of what would cause the measure to behave that way.

the format of the column was the problem. It loaded as Whole number from Excel. When I changed it to Decimal Number in Query Editor your solution worked. thanks

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.