E9 slow BAQ

I have a BAQ for open sales orders that runs quickly. But when I added PartWhse to provide calculated Total the query runs very slow. Is there a Total Onhand Qty somewhere where I don’t have to calculate and doesn’t return dupes due to multiple bins?