Forum Discussion

adieball's avatar
adieball
Helper I
8 years ago
Solved

Currency conversion

Hi

 

I'm actually trying to do this in Excel, but "M" is "M" :-)

 

I have a table CurrencyRate that holds conversion rates per country to € per Year (a single rate per year) like:

 

 

I also have a "budget" Table that holds the budget values in local currency.

with "Country", "Value"  and the "CountryYear" custom column

 

What would be the "best" way to have the local currency values available in €?

  • create a column in the "budget" table
  • a dax measure?

How would I do the lookup?

 

thanks

6 Replies

  • Stachu's avatar
    Stachu
    Community Champion

    is there a join between the tables?
    I see few options possible
    1) new column created in M (Power Query)
    2) new column created in DAX (Power Pivot)
    3) measure created using SUMX (Power Pivot)
    I'd suggest going with option 1, 3 being second choice, as I expect worse performance

    is there a join between CurrencyRate and budget or is that impossible due to different rates per year?