Searching for matches (text CONTAINS) against a list of possible values
I have a list of account numbers that I want to search for any reference of in a series of columns.
Ideally, I would concatenate all the columns together and iterate through each member of the list looking for matches.
I accomplish this in QlikView by mapping any occurrence of the list to MATCHFOUND and then flagging any records where MATCHFOUND is found in my string. How can I accomplish this in Datameer?
Thanks,
Tony
-
Hello Tony,
To "concatenate" all the columns together and iterate through each member of the list looking for matches you could use the following approach:
Create a LIST
LIST(#Col1; #Col2; #Col3; #Col4; #Col5)
and looking up for matches via
CONTAINS(#List; #AccountNumbers)
Please sign in to leave a comment.
Comments
2 comments