Hi, Welcome to B:bob:B! The Where modifier on the Sum() function is a bit quirky. I’m not sure if they have added the ability to sum on anything other than an expression = constant yet, so perhaps this FAQ will help you out.
Dave Rathbun (BOB member since 2002-06-06)