<?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 multiple columns that lookup to one single column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/multiple-columns-that-lookup-to-one-single-column/m-p/2331861#M100801</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I would like to get your ideas on my job here. Currently I have one PostgreSQL table (table A) as source table and i need to lookup in another table (table B) to do an inner join. My issue here is I have &lt;B&gt;multiple columns that lookup to one single column&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table A columns:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;col_fullname&lt;/LI&gt;&lt;LI&gt;col_nickname&lt;/LI&gt;&lt;LI&gt;col_name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Table B columns:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;col_id&lt;/LI&gt;&lt;LI&gt;col_entity_name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so basically I need to lookup col_fullname,col_nickname, col_name from table A in col_entity_name from table B to get the id and load the id respectively in destination table that has columns fullname_id, nickname_id and name_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C8NCuAAN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151719i3D6FF7ABB5BFF4EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C8NCuAAN.jpg" alt="0693p00000C8NCuAAN.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently in my job i add two tDBinput components to lookup col_fullname and col_nickname. This is how i lookup the columns respectively in tMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C8NCzAAN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154418i1D04E0305C31CE0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C8NCzAAN.jpg" alt="0693p00000C8NCzAAN.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way that I can do this without having to add multiple lookup table components? because in future i may need to lookup more columns so I'm not sure whether is it possible to only have 1 lookup table component and do all the lookups in the same component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there are anything that's not clear. Thank you in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:25:09 GMT</pubDate>
    <dc:creator>SR2210</dc:creator>
    <dc:date>2024-11-16T00:25:09Z</dc:date>
    <item>
      <title>multiple columns that lookup to one single column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-columns-that-lookup-to-one-single-column/m-p/2331861#M100801</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I would like to get your ideas on my job here. Currently I have one PostgreSQL table (table A) as source table and i need to lookup in another table (table B) to do an inner join. My issue here is I have &lt;B&gt;multiple columns that lookup to one single column&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table A columns:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;col_fullname&lt;/LI&gt;&lt;LI&gt;col_nickname&lt;/LI&gt;&lt;LI&gt;col_name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Table B columns:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;col_id&lt;/LI&gt;&lt;LI&gt;col_entity_name&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so basically I need to lookup col_fullname,col_nickname, col_name from table A in col_entity_name from table B to get the id and load the id respectively in destination table that has columns fullname_id, nickname_id and name_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C8NCuAAN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151719i3D6FF7ABB5BFF4EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C8NCuAAN.jpg" alt="0693p00000C8NCuAAN.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently in my job i add two tDBinput components to lookup col_fullname and col_nickname. This is how i lookup the columns respectively in tMap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C8NCzAAN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154418i1D04E0305C31CE0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C8NCzAAN.jpg" alt="0693p00000C8NCzAAN.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way that I can do this without having to add multiple lookup table components? because in future i may need to lookup more columns so I'm not sure whether is it possible to only have 1 lookup table component and do all the lookups in the same component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there are anything that's not clear. Thank you in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-columns-that-lookup-to-one-single-column/m-p/2331861#M100801</guid>
      <dc:creator>SR2210</dc:creator>
      <dc:date>2024-11-16T00:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: multiple columns that lookup to one single column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-columns-that-lookup-to-one-single-column/m-p/2331862#M100802</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;It is impossible to do several lookup on the same table, it means the join has multiple conditions. For the same lookup table, you can load the data only one time into memory using tHashOutput, read the data using tHashInput when it is used. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-columns-that-lookup-to-one-single-column/m-p/2331862#M100802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-18T09:21:59Z</dc:date>
    </item>
  </channel>
</rss>

