Forum Discussion
KevBI
Helper I
4 years agoTotal doesn't calculate correctly
Hello Guys, I have a simple Measure that retrieves the Exchange Rates per Currency, that works prefectly. When trying to calculate the price (Net Value) to EUR with the exchange Rate it also w...
amitchandak
Super User
4 years agoKevBI ,
_ExchangeRate =
VAR
_currency = max(EKBE[Crcy])
VAR
_conversionRate =
Sumx(Values(Table[Dco Number]) , CALCULATE(
MAX( 'exch rate AOP 2022'[Exchange Rate])
, 'exch rate AOP 2022'[Currency] = _currency
))
RETURN
_conversionRate