ExampleFilter

Till
Till New Altair Community Member
edited November 5 in Community Q&A
Hi there,
I want to link several conditions concerning two different attributes in the exampleFilter.
Example:
filter out the examples where A > 5 AND B = 'string1' OR B = 'string2'

The problem is that I can't use the exampleFilter successively, because in the case B = 'string2' A is zero.

Does anybody have an idea about how to handle this?

Thanks!
Tagged:

Answers

  • land
    land New Altair Community Member
    HI,
    you could realise the or connection by using an IOMultiplier to duplicate your exampleSet. Then filter successivly the and conditions and switch with IOSelector to the second exampleSet. Filter there B = String2 and then merge both exampleSet with ExampleSetMerge.

    Wasn't that easy?  :)

    Greetings,
      Sebastian
  • Till
    Till New Altair Community Member
    Thanks Sebastian!