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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.