I've just been scratching my head trying to understand the CSV data you can export from the (non-beta) energy graph, and finally realised it's because the column headings are all mixed up.

The CSV file reports them as:
Date, Solar To Home, Grid To Home, Battery To Home, Solar To Battery, Solar To Grid, Grid To Battery, Battery To Grid
.. but they're actually
Date, Solar To Home, Solar to Battery, Solar To Grid, Grid To Home, Grid To Battery, Battery To Home, Battery To Grid