If you've previously tried to change the column header in your accounts incorrectly, you may get an 'error in expression' in the total column of the table. If this is the case, take the following steps:
Right-click on the table, then select
Highlight in Report Structure
from the context menu.
Right-click on the highlighted element (which should be in bold), and select
Revert To Template
from the context menu.