Forum Discussion

abfdjuk's avatar
abfdjuk
Icon for Helper I rankHelper I
3 years ago
Solved

currency conversion with budgeted rates

Hi.   I have two tables of data. One is the currency, year and exchange rate "ExchangeRates" the other is "Invoices" with colums for year, net amount and currency code. I have tried so many differe...
  • johnt75's avatar
    3 years ago
    Converted amount =
    SUMX (
        Invoices,
        Invoices[Net amount]
            * LOOKUPVALUE (
                ExchRate[Rate],
                ExchRate[Currency code], Invoices[Currency code],
                ExchRate[Year], Invoices[Year]
            )
    )