cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ire4 New Member
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

Accepted Solutions
v-yulgu-msft Super Contributor
Super Contributor

Re: CONVERT GBP TO EURO MONTHLY

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.
1 REPLY 1
v-yulgu-msft Super Contributor
Super Contributor

Re: CONVERT GBP TO EURO MONTHLY

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
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 133 members 1,816 guests
Please welcome our newest community members: