Hello, RMDW17.
The gross profit and total sales in the Profit and Loss report have different purposes. When you say gross profit, the amount displayed here is the total of all the income accounts. On the other hand, the total sales amount is limited to the income accounts which are associated with your products and services.
You might want to review the transactions that add up to these totals. There are probably transactions that don't belong to your income but uses an income account. If this is the case, just change the account associated with it to correct the totals in your P&L report.
I'll be right here if you have additional questions. Thanks for dropping by and happy New Year in advance.