Hmmm, generally, you can use an "If" statement in the Dimension declaration. But the problem here is that you have the aggregate function (Sum) as your criteria, and QS isn't going to like that. I'm interested in what the solution you settle on will be.