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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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