Forum Discussion
LeahZhang
4 years agoMicrosoft Employee
SUMX Calculation
Dear Team, Thanks for your prompt and continious support. I am fresh new to DAX, and seek team advise on the below mismatch: Two Measure Are: totalScore #1 = SUMX ( VALUES ( 'Config ...
- 4 years ago
Try:
totalscore = SUMX ( ADDCOLUMNS ( SUMMARIZE ( Table, Table[GHG item], Table[Plant] ), "TScore", [Emission Factor] * [Input] ), [Tscore] )
amitchandak
4 years agoSuper User
LeahZhang , Ideally multiplcation should happen at rows level like column or measure like
new column = [A]* [B]
new measure = sumx(Table, [A]*[B])
If we need to multiply two measures, not from the same table then you should most granular level using values or summarize(more than one column)