If you a calculated field that is simply 1, then do a
sum(calculated field) over (partition by x)
(syntax might be wrong, but you get the point)
with x probably being another calculated field where you concatenate the order number, line, the sum for those lines would be NOT 1. So you could add your row condition for <> 1.
This is one thread where they talk about this feature.
This is almost what @Aaron_Moreng said, except I don’t think you need a sub query.
The same thing could be accomplished with sub queuries instead.