Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

SUMX DAX

Dear community,

 

in my datamodel, I have a FACT table with values in local currency and a DIMENSION whith the exchange rates to calculate the EUR values. This works without any issues with SUMX on row level. 

FACT

PeriodMonthKey Exchange RateValueCurrency
23 YTD31003000Local
23 Forecast320012000Local

 

DIMENSION (exchange rates)

Key Exchange RateRateCurrency
1001,01EUR
2001,04EUR



My question:

I would like to substract from the 23 Forecast the 23 YTD value (both in Local) and then calculate the result with the exchange rate for 23 Forecast. With SUMX I did not found a working solution. Do you have any hint?

Cheers! 

1 Reply

  • Not sure why you would need SUMX?