You can put a check mark on the Except zero amount box, meyer-mark-d.
This option can be seen when you customize the standard reports in QuickBooks Online (QBO). Examples of standard reports are: Profit and Loss, Balance Sheet and etc.
Though this tick box is not available on detailed reports, like Transaction Detail by Account, you can export the info to excel and remove the accounts or lines with zero (0.00) amount.
Select the Export icon then choose Export to Excel.
Add a comment if you need anything else.