Have a read of this FAQ on this very topic. This is in a sticky post at the top of the DIY topics.
This explains how the DC box figures are calculated and how they can be in error if you are not using a SmartShunt as a DC energy meter on your DC loads. Therefore, on the second image you either have a small charger active that is not directly measured or you have a calibration error on one of your other measured powers, battery meter, inverter or MPPT.