If you make a calc field in the InvTrans table with the formula: if(Scrap = 1; UnitsOut ; "")
and use a Sum to count that field should work
Hope that helps,
Ruben van den Boogaard
Thanks a bunch! I knew the solution would be something ridiculously simple, and indeed that turned out to be the case.
Your tip also gave me a better understanding of these calculations as well, so thanks for that!
On to the next hurdle.