Given the general difficulty of doing much with google pivot table, I expect the answer to be "No".
In the snippet below I would like to keep lines with the totals in green shading and not see the lines with yellow shading.
Clicking the - signs collapses the detail leaving only the total. It also would require a manual step to to go through and check each time the inventory changes.
In effect I want:
"if (number of details lines = 1) then (Don't show total)