Hello,
I have two tables both containing country info. Format of TABLE1 is “Bulgaria; Denmark; Estonia; Finland;” and the TABLE2 is just columns with country names like;
Bulgaria
Denmark
Estonia
Finland
I want to check whether one of the values on TABLE1 is included on the TABLE2 how can i check that?
I developed a quick and dirty workflow which assumes you want to match one value in Table 2. A more elegant approach would probably use some form of error trapping, but this works,
I have values on cells like table1 cell1 “Bulgaria; Denmark; Estonia; Finland;” and on different row (table1 cell2) values may change like “Bulgaria; USA; Turkey;” etc.
What I’m trying to do is If one of the countries on cells of table1 is in table2 return “yes” if none of the values on the cells exist in the table2 return “no”
And as you can guess both tables are bigger than given examples
Thank you for the suggestion, I can see the result of your work on the last “column filter” looks like it worked but I can not edit the process since there is an error on joiner which I don’t know how to solve:
And also since I’m using my company pc I can not download all the nodes as I want, I’m having trouble with the “Value Lookup” node as well.
Hi @svmetehan , what version of KNIME are you using?
The errors are because the workflow is a later version of KNIME than the one you are on, and both the value lookup and the joiner node in 5.4 are not backward compatible with your version.
If I know which version you are using I can write the equivalent using that version of KNIME but I’ll always assume people are using the latest version unless they specifically say otherwise.