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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
annamill
Regular Visitor

Currency conversion question

I am very new to Power BI and I need help with converting my total amounts from the Local Currency to USD based on the conversion rate (which is in a different table)

 

I have two related tables:

1) Opportunity (2) - has Amount and CurrencyIsoCode fields. Amount is in local currency

2) Currently Type - has IsoCode and ConversionRate fields.

 

CurrencyIsoCode and IsoCode is the same field that has currency codes (USD, EUR, etc)

 

How to I create a measure or a calculated column with the converted amount?

 

Thanks ya'll in advance!

1 ACCEPTED SOLUTION

I just figured it out!

 

Amount in USD 3 = SUMX('Opportunity (2)', RELATED('Currency Type'[ConversionRate])*'Opportunity (2)'[Amount])

View solution in original post

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @annamill,

 

Could you please tell me if your problem was resolved? Could you please share the answer or mark the proper answer as solution if it's convenient for you? That will be a help to the others.

Best Regards!
Dale

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

I just figured it out!

 

Amount in USD 3 = SUMX('Opportunity (2)', RELATED('Currency Type'[ConversionRate])*'Opportunity (2)'[Amount])

v-jiascu-msft
Employee
Employee

Hi @annamill,

 

You could try this formula. I created a sample as the picture showed. (There isn't a relationship between these two tables.)

 

AmountInUSD =
[Amount] * LOOKUPVALUE ( CurrentlyType[Rate], CurrentlyType[ISOCode], "USD" )

Currency conversion question.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.