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
ire4
New Member

CONVERT GBP TO EURO MONTHLY

Hello,

 

I have a problem converting the amounts of my transactions - in GBP - to EURO. The EURO conversion rate is in a different table which looks like this:

 

exchange rate.jpg

 

Instead, this is the other table that has the amounts I'm trying to convert:

item ledger entry.jpg

As you can see, there's [POSTING DATE] which is connected to a table DateDimension - as it is the [STARTING DATE] of the Exchange Rate table. I don't mind converting everything to NOK too, but what I need is a column/measure where all the Purchases/Sales are converted to EURO on the line, so per transaction, considering the exchange rate on a montly basis as it is on the related table... Not sure if it's clear but I really hope you guys can help as I'm stuck on this! 

 

Thank you very much in advance! 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @ire4,

 

Please create calculated columns with below DAX formulas in above second table.

 

Currency Code In Data TB = "EURO"

rate =
LOOKUPVALUE (
    'Exchange Rate TB'[Exchange Rate Amount],
    'Exchange Rate TB'[Starting Date].[MonthNo], 'Data TB'[Posting Date].[MonthNo],
    'Exchange Rate TB'[Currency Code], 'Data TB'[Currency Code In Data TB]
)

1.PNG

 

Best 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

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @ire4,

 

Please create calculated columns with below DAX formulas in above second table.

 

Currency Code In Data TB = "EURO"

rate =
LOOKUPVALUE (
    'Exchange Rate TB'[Exchange Rate Amount],
    'Exchange Rate TB'[Starting Date].[MonthNo], 'Data TB'[Posting Date].[MonthNo],
    'Exchange Rate TB'[Currency Code], 'Data TB'[Currency Code In Data TB]
)

1.PNG

 

Best 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
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.