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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.