Group By BAQ

Without more detail I can only guess - group the part field and add a calculated field for the total qty. Ref screenshot.
image

And for future reference…