If I have some data and want to remove all data that matches the predicate, I would call this predicate my filter condition. If I want to remove all the data that doesn't match the predicate what is the correct way of saying that? Right now I'm using retention condition. Does anyone have a better suggestion?

  • As Oerk explains, both cases are "a filter". It's that simple. – Fattie Apr 30 '15 at 14:37

It's still a filter. It constists of a logical NOT followed by your original predicate.

A filter is something that removes some data from your view. Whether that is data that matches a predicate or data that doesn't match a predicate, you are in both cases filtering the data.

  • So you are saying to always refer to the condition to remove and if I have a condition to not remove I should convert that into a condition to remove by applying not to it? – Benjy Kessler Apr 30 '15 at 8:29
  • 1
    "Show data that matches P" is exactly the same as "Hide data that does not match P". Whether you perceive the filter as "something that lets the right stuff through" or "something that holds the wrong stuff back" makes little difference, in effect a filter does both at the same time. If I want to show all even numbers, I can filter on "show all x%2=0" or "hide all x%2!=0". The effect is the same, I filter my data. – oerkelens Apr 30 '15 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.