Filtering WordList

faizhalas
faizhalas New Altair Community Member
edited November 5 in Community Q&A
Hello RM Community,

I got a WordList something like 

Word          InDocuments          Total
aaa              5                               5
bbb              5                               5
ccc               5                               3


I want to filter the word with a different number between InDocuments and Total. It should be something like: InDocuments "does not equal" or "=" Total, but I failed this with Filter Examples. Any idea to solve this?

Thanks!

Best Answers

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Answer ✓
    Hi @faizhalas,

    You can first create a new attribute with new attribute = [InDocuments - Total] and then filter out  (with Filter operator) this [new attribute = 0]

    Hope this helps,

    regards,

    Lionel
  • Marco_Barradas
    Marco_Barradas
    Altair Employee
    Answer ✓
    Hi @faizhalas,

    You might need to use a Wordlist To Data operator before you perform any Generate Attributes logic or  Filter Examples with expression logic.


Answers

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Answer ✓
    Hi @faizhalas,

    You can first create a new attribute with new attribute = [InDocuments - Total] and then filter out  (with Filter operator) this [new attribute = 0]

    Hope this helps,

    regards,

    Lionel
  • Marco_Barradas
    Marco_Barradas
    Altair Employee
    Answer ✓
    Hi @faizhalas,

    You might need to use a Wordlist To Data operator before you perform any Generate Attributes logic or  Filter Examples with expression logic.


  • faizhalas
    faizhalas New Altair Community Member
    Thanks! it works