<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Lookup on multiple columns with or condition in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Lookup-on-multiple-columns-with-or-condition/m-p/2207788#M990</link>
    <description>&lt;P&gt;I am trying to do a lookup on multiple fields with OR condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;some_string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;field 6&lt;/P&gt;&lt;P&gt;somerandomfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do a lookup from Table1's ield some_string to Table2 where it has to match with either field1 or field2 or field3.... or field 6 and get the code of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a Talend tool or should I write an SQL query with Union to transpose the Table2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;I hope the question is clear enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:09:37 GMT</pubDate>
    <dc:creator>veryimportantdude</dc:creator>
    <dc:date>2024-11-15T23:09:37Z</dc:date>
    <item>
      <title>Lookup on multiple columns with or condition</title>
      <link>https://community.qlik.com/t5/Data-Quality/Lookup-on-multiple-columns-with-or-condition/m-p/2207788#M990</link>
      <description>&lt;P&gt;I am trying to do a lookup on multiple fields with OR condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;some_string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;field 6&lt;/P&gt;&lt;P&gt;somerandomfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do a lookup from Table1's ield some_string to Table2 where it has to match with either field1 or field2 or field3.... or field 6 and get the code of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a Talend tool or should I write an SQL query with Union to transpose the Table2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;I hope the question is clear enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Lookup-on-multiple-columns-with-or-condition/m-p/2207788#M990</guid>
      <dc:creator>veryimportantdude</dc:creator>
      <dc:date>2024-11-15T23:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup on multiple columns with or condition</title>
      <link>https://community.qlik.com/t5/Data-Quality/Lookup-on-multiple-columns-with-or-condition/m-p/2207789#M991</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please elaborate your case with an example with expected output values as well?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 07:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Lookup-on-multiple-columns-with-or-condition/m-p/2207789#M991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-04T07:47:04Z</dc:date>
    </item>
  </channel>
</rss>

