Let's look at the mathematics scores in your example images above.
SUM(score) for the term 68 (ie 5+8+10+45) and those give a mean value of (5+8+10+45)/4 = 17.
Those correctly reflect the values shown by your chart.
So the questions is "what average are you wanting to show if that is wrong?"
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.