<?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 Many to Many lookups help. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270868#M48641</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Could you please tell how to lookup two files based on column "ParentID" and get out as below:&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Consider a sample input file1 as below, which has two ParentID's:&lt;BR /&gt;&lt;BR /&gt;ParentID,UserTypeID,AttributeID,Value&lt;BR /&gt;"9197741","ProductLine","ATT_Industry","Heavy Equipment"&lt;BR /&gt;"9197741","ProductLine","ATT_Industry","Transportation"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Furniture"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Kitchen Cabinetry"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Interior Building Products"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Consider another sample file2 which has 3 SKU .&lt;BR /&gt;SKU_ID,UserTypeID,ParentID&lt;BR /&gt;"9205295","SKU","9197741"&lt;BR /&gt;"501247241","SKU","9547005"&lt;BR /&gt;"501247233","SKU","9547005"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For each row in file1 :&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For each SKU_ID in file 2 which has a ParentID in file1 , get 'value' from file1 and SKU_ID from file2.&lt;/P&gt; 
&lt;P&gt;SKU_ID, Value&lt;BR /&gt;9205295,"Heavy Equipment"&lt;BR /&gt;9205295,"Transportation"&lt;BR /&gt;501247241,"Furniture"&lt;BR /&gt;501247241,"Kitchen Cabinetry"&lt;BR /&gt;501247241,"Interior Building Products"&lt;BR /&gt;501247233,"Furniture"&lt;BR /&gt;501247233,"Kitchen Cabinetry"&lt;BR /&gt;501247233,"Interior Building Products"&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 23:08:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-19T23:08:05Z</dc:date>
    <item>
      <title>Many to Many lookups help.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270868#M48641</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Could you please tell how to lookup two files based on column "ParentID" and get out as below:&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Consider a sample input file1 as below, which has two ParentID's:&lt;BR /&gt;&lt;BR /&gt;ParentID,UserTypeID,AttributeID,Value&lt;BR /&gt;"9197741","ProductLine","ATT_Industry","Heavy Equipment"&lt;BR /&gt;"9197741","ProductLine","ATT_Industry","Transportation"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Furniture"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Kitchen Cabinetry"&lt;BR /&gt;"9547005","ProductLine","ATT_Industry","Interior Building Products"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Consider another sample file2 which has 3 SKU .&lt;BR /&gt;SKU_ID,UserTypeID,ParentID&lt;BR /&gt;"9205295","SKU","9197741"&lt;BR /&gt;"501247241","SKU","9547005"&lt;BR /&gt;"501247233","SKU","9547005"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For each row in file1 :&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For each SKU_ID in file 2 which has a ParentID in file1 , get 'value' from file1 and SKU_ID from file2.&lt;/P&gt; 
&lt;P&gt;SKU_ID, Value&lt;BR /&gt;9205295,"Heavy Equipment"&lt;BR /&gt;9205295,"Transportation"&lt;BR /&gt;501247241,"Furniture"&lt;BR /&gt;501247241,"Kitchen Cabinetry"&lt;BR /&gt;501247241,"Interior Building Products"&lt;BR /&gt;501247233,"Furniture"&lt;BR /&gt;501247233,"Kitchen Cabinetry"&lt;BR /&gt;501247233,"Interior Building Products"&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270868#M48641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-19T23:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many lookups help.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270869#M48642</link>
      <description>Inner join should work in tmap.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270869#M48642</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-19T23:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Many to Many lookups help.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270870#M48643</link>
      <description>&lt;P&gt;Inner join with match model -All rows worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Many-to-Many-lookups-help/m-p/2270870#M48643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-24T15:13:14Z</dc:date>
    </item>
  </channel>
</rss>

