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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sanai1505
Regular Visitor

How to convert currency?

Hi Everyone,

 

I'm new to Power BI and I'm having some trouble with changing the currency. Some of my data is in USD and some in CAD, I need to convert all the rental costs into USD.

 

sanai1505_0-1655420600117.png

 

@punit

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @sanai1505 

Thanks for reaching out to us.

When you have multiple currencies in your sales table, it is common practice to create a currency exchange rate table. Then perform currency conversion in the sales table according to the exchange rate in the rates table.

For example, you can create a custom USD column in Power Query Editor,

(let cur = [currency] in Table.SelectRows(rate, each [currency] = cur)){0}[rate] * [sale]

vxiaotang_2-1655802576795.png

vxiaotang_0-1655802536345.png

Or you can create a column with DAX,

DAX Column = 
var _rate= CALCULATE(MAX('rate'[rate]),FILTER(ALL('rate'),'rate'[currency]= EARLIER('Table'[currency])))
return _rate*'Table'[sale]

vxiaotang_3-1655802675706.png

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @sanai1505 

Thanks for reaching out to us.

When you have multiple currencies in your sales table, it is common practice to create a currency exchange rate table. Then perform currency conversion in the sales table according to the exchange rate in the rates table.

For example, you can create a custom USD column in Power Query Editor,

(let cur = [currency] in Table.SelectRows(rate, each [currency] = cur)){0}[rate] * [sale]

vxiaotang_2-1655802576795.png

vxiaotang_0-1655802536345.png

Or you can create a column with DAX,

DAX Column = 
var _rate= CALCULATE(MAX('rate'[rate]),FILTER(ALL('rate'),'rate'[currency]= EARLIER('Table'[currency])))
return _rate*'Table'[sale]

vxiaotang_3-1655802675706.png

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

VahidDM
Super User
Super User

Hi @sanai1505 

 

In Power BI desktop, open the Model tab, and check the columns type same as below:

VahidDM_0-1655423695506.png

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors