Hi, I have the following workbook to get weighted student grade averages, which I am doing with `SUMX()` in DAX (From what I understand, this is akin to `SUMPRODUCT()` in Power Pivot):
It's working pretty much as I want, except for the Grand Total which is naturally summing up all of the weighted averages, rather than taking an average grade which makes more sense.
I don't see any easy way to adjust this, am I missing something? Thanks so much for your time and consideration.
Excel Formula:
=SUMX(grades, [grade] * RELATED(weights[weight]))
It's working pretty much as I want, except for the Grand Total which is naturally summing up all of the weighted averages, rather than taking an average grade which makes more sense.
I don't see any easy way to adjust this, am I missing something? Thanks so much for your time and consideration.