<?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 Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317424#M87869</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;In the second subjob, you will have to call this distinct file names as lookup and do inner join as shown below. All the matched records will go to out flow and all the unmatched records will go to reject flow.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M68Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131481iE30ECFC429E816D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M68Y.png" alt="0683p000009M68Y.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think i can't do inner join between row2 and row3 because I got excel filename from tFileList not from excel file itself. So I can't get matched or rejected output.&lt;/P&gt; 
&lt;P&gt;Any suggestion?&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 04:24:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-04T04:24:35Z</dc:date>
    <item>
      <title>insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317421#M87866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In this job I want to insert all datas/rows from excel file to another table when first table before doesn't contain excel filename.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153772iC3449F45A79F1443/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67p.png" alt="0683p000009M67p.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;in my job above, i successfully create job iterating insert filename from each excel file to table. If table contain excel filename then error message will show up like at picture below :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 937px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67u.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138106i5D7CED49B05F086B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67u.png" alt="0683p000009M67u.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have selected inner join reject condition in output flow to gather all the records which do not have a file name present, look at the picture below.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;- The row1 is column from excel.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;- out2 is first table that will filled with excel file name.&lt;/P&gt; 
&lt;P&gt;- otoid is second table that will filled with all rows from excel if fisrt table doesn't contains current excel filename.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M63a.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143763i97408331496C41D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M63a.png" alt="0683p000009M63a.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see, my job doesn't work as I want.&lt;/P&gt; 
&lt;P&gt;Can you help me how to design it?&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317421#M87866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317422#M87867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;For your use case, you will need to first extract the distinct file names and store them in a a tHashOutput (you can store in a file or temporary table also)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 826px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M68O.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129135iC2CFEA6C6594EF5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M68O.png" alt="0683p000009M68O.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the second subjob, you will have to call this distinct file names as lookup and do inner join as shown below. All the matched records will go to out flow and all the unmatched records will go to reject flow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M68Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131481iE30ECFC429E816D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M68Y.png" alt="0683p000009M68Y.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 02:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317422#M87867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T02:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317423#M87868</link>
      <description>Ok thanks for your help. I'll try it.</description>
      <pubDate>Thu, 04 Jul 2019 04:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317423#M87868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T04:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317424#M87869</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;In the second subjob, you will have to call this distinct file names as lookup and do inner join as shown below. All the matched records will go to out flow and all the unmatched records will go to reject flow.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M68Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131481iE30ECFC429E816D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M68Y.png" alt="0683p000009M68Y.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think i can't do inner join between row2 and row3 because I got excel filename from tFileList not from excel file itself. So I can't get matched or rejected output.&lt;/P&gt; 
&lt;P&gt;Any suggestion?&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 04:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317424#M87869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T04:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317425#M87870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I believe you did not understand the full solution. You have a column called Nana_File in target database, which is rejecting the data if there is a duplicate value. So you should be able to take the distinct values of file names from DB itself right?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Once the distinct column names from table is extracted, you should be able to use it as lookup in next subjob. If you are still facing issue, could you please share the job flow screenshots you have created and the component screen shots. It will give us more idea about what you are trying to achieve.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 14:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317425#M87870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T14:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: insert all datas/rows from excel file to another table when first table before doesn't contain excel filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317426#M87871</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp; &amp;nbsp; I believe you did not understand the full solution. You have a column called Nana_File in target database, which is rejecting the data if there is a duplicate value. So you should be able to take the distinct values of file names from DB itself right?&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp; &amp;nbsp; Once the distinct column names from table is extracted, you should be able to use it as lookup in next subjob. If you are still facing issue, could you please share the job flow screenshots you have created and the component screen shots. It will give us more idea about what you are trying to achieve.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
 &lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Ok, I understand now what for first subjob.&lt;/P&gt; 
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 04:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-all-datas-rows-from-excel-file-to-another-table-when/m-p/2317426#M87871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-05T04:31:56Z</dc:date>
    </item>
  </channel>
</rss>

