Sum for BAQ

I am wanting to sum the OH for certain part bins in a baq, but I do not want to have PartBin out in the display columns. Thoughts on how to do this?

End up doing Case when Max(PartNum) = ‘BinNum Wanted’ then sum(ONQTY) else 0 end. The MAX() worked to keep PartBin out of the displayed fields.

A sub query is the best way to handle this

1 Like

Can you give me an example on how you would do this? Every which way I tried with a subquery, without using MAX(), couldn’t get the desired outcome.

Please show what you want your output to be. that would help get you an answer.