From the Products/Services dashboard,
Please go to Products/Services>>Items>>Check Qty column>>Click on filter>>Click on “Hide 0 Qty”>>Click on OK.
From the Inventory dashboard,
Please go to Inventory>>Warehouse>>Check Qty column>>Click on filter>>Click on “Hide 0 Qty”>>Click on OK.