Energy Discrepencies

I am new to home assistant and getting on ok with it, but have an ongoing frustration I cannot work out.
In the overview page, my daily costs for electric and gas are about correct, allowing for the DCC delays. However, the same sensors are giving different figures in the energy page
Below shows the figures from both pages.
Am I missing something?