To hide all nominal accounts which have balances of zero, go to Settings cog (top bar, right side)> Organisation settings (left-hand sidebar), then turn on the toggle for hide accounts with 0 values as shown below.
How to exclude unused accounts from reporting
Learn how to efficiently hide rows with zero balances or transactions