Ending Inventory

My formula for Ending Inventory = Beginning Inventory - Forecast Demand + Confirmed Purchase Order Receipt


On the SKU level the ending inventory values are matching with the values shown in the activity picture, but when i change it to all products then the values are not matching up.


Please help.