Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Not sure why you would need SUMX?

 

lbendlin_0-1694299954084.png

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Not sure why you would need SUMX?

 

lbendlin_0-1694299954084.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.