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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mmakhlo
Frequent Visitor

Convert Currency

Hello all,

 

I need to do a currency conversion. Here is my set up

 

table 1 has the site and currency rate (each site is in a different country)

 

table 2 has site for each part and the cost calculated in USD

 

I currently have a 1:many relationship going from table 1 to table 2. What is the best way about calculating the correct cost based on the site?

 

Cheers

1 ACCEPTED SOLUTION

Hi @mmakhlo,

 

The error is caused by the wrong parenthesis.

6.png

 

The correct syntax is:

7.PNG

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @mmakhlo,

 

In table 2, you could create a calculated column using this DAX formula:

 

Real cost = RELATED(Table_1[Currency rate])*Table_2[Cost USD]

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for replying @v-yulgu-msft! When I use that formula, I get this error. Do you know what it means?

 

Error.PNG

Hi @mmakhlo,

 

The error is caused by the wrong parenthesis.

6.png

 

The correct syntax is:

7.PNG

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

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.