<?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: [resolved] Mapping multiple sheets excel in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360575#M125133</link>
    <description>thanks Shong, But job can't run by .bat file or .sh file. I think, child job and main job can't connect context tfilelist? Please give me your feedback. 
&lt;BR /&gt;Best regard, 
&lt;BR /&gt;Moon.</description>
    <pubDate>Thu, 06 Aug 2015 09:33:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-06T09:33:12Z</dc:date>
    <item>
      <title>[resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360571#M125129</link>
      <description>Hi, 
&lt;BR /&gt;I have a job, 
&lt;BR /&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/213183/Capture.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Qr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152124iE950C5A72249D5B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Qr.png" alt="0683p000009M9Qr.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;For example: I have 2 files excel( File1, File2) and it has 2 sheets(X,Y) 
&lt;BR /&gt;- tfilelist_1 read all files in folder Temp 
&lt;BR /&gt;- tfilelist_2 read all files in folder Temp 
&lt;BR /&gt;- A_excel read sheet X 
&lt;BR /&gt;- B_excel read sheet Y 
&lt;BR /&gt;- tMap_1 mapping 2 sheets 
&lt;BR /&gt;- A,B,C,D are ouput 
&lt;BR /&gt;When i ran this job, i saw only sheets of file2 will be map. 
&lt;BR /&gt;But expected results is: They are 2 files output: 
&lt;BR /&gt;- output_1: sheet X of file1 will connect sheet Y file1 
&lt;BR /&gt;- output_2: sheet X of file2 will connect sheet Y file2 
&lt;BR /&gt;Can you help me review and give me feedback? 
&lt;BR /&gt;Moon.&amp;nbsp;</description>
      <pubDate>Wed, 05 Aug 2015 06:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360571#M125129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T06:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360572#M125130</link>
      <description>Hi
&lt;BR /&gt;Why don't you check the 'all sheet' box on tFileInputExcel to read data from all sheets? To be honest, I don't understand your requirement, can you please give us some example data to explain your request and what are you expected result?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 05 Aug 2015 08:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360572#M125130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T08:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360573#M125131</link>
      <description>Thank you so much Shong, i can't read all sheets because 2 sheets with difference column. 
&lt;BR /&gt;For example data: 
&lt;BR /&gt; 
&lt;BR /&gt;Sheet1 of file1 
&lt;BR /&gt; 
&lt;BR /&gt;Id|name 
&lt;BR /&gt;1|A 
&lt;BR /&gt;2|B 
&lt;BR /&gt;3|C 
&lt;BR /&gt; 
&lt;BR /&gt;Sheet2 of file1 
&lt;BR /&gt; 
&lt;BR /&gt;age|year|birthay 
&lt;BR /&gt;18|2000|1-1 
&lt;BR /&gt; 
&lt;BR /&gt;Sheet1 of file2 
&lt;BR /&gt; 
&lt;BR /&gt;Id|name 
&lt;BR /&gt;4|D 
&lt;BR /&gt;5|E 
&lt;BR /&gt;6|F 
&lt;BR /&gt; 
&lt;BR /&gt;Sheet2 of file1 
&lt;BR /&gt; 
&lt;BR /&gt;age|year|birthay 
&lt;BR /&gt;20|1998|3-1 
&lt;BR /&gt;Expected results: 
&lt;BR /&gt; 
&lt;BR /&gt;output_1: 
&lt;BR /&gt; 
&lt;BR /&gt;Id|name_age|name 
&lt;BR /&gt;1|A_18|A 
&lt;BR /&gt;2|B_18|B 
&lt;BR /&gt;3|C_18|C 
&lt;BR /&gt; 
&lt;BR /&gt;ouput_2 
&lt;BR /&gt; 
&lt;BR /&gt;Id|name_age|name 
&lt;BR /&gt;1|C_20|C 
&lt;BR /&gt;2|D_20|D 
&lt;BR /&gt;3|E_20|E 
&lt;BR /&gt;If you have any question let me know! 
&lt;BR /&gt;Moon.</description>
      <pubDate>Wed, 05 Aug 2015 10:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360573#M125131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360574#M125132</link>
      <description>Hi &amp;nbsp;
&lt;BR /&gt;I understand your requirement right now. You just need to perform a join between sheet1 and sheet2 of each file. The job design looks like:
&lt;BR /&gt;parent job:
&lt;BR /&gt;tFileList--iterate---tRunJob
&lt;BR /&gt;on tRunJob, call the child job and pass the current file path to child job, see this 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513193" target="_blank" rel="nofollow noopener noreferrer"&gt;article &lt;/A&gt;to learn how to pass a value from the child job.
&lt;BR /&gt;child job:
&lt;BR /&gt;tFileInputExcel_1--main--tMap--out1--&amp;gt;tFileOutputDelimited
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lookup
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tFileInputExcel_2
&lt;BR /&gt;In child job, define a context variable called filepath for used to receive the current file path from parent job.&amp;nbsp;
&lt;BR /&gt;tFileInputExdel_1: read sheet 1, set the File name with context.filepath
&lt;BR /&gt;tFileInputExdel_1: read sheet 2, set the File name with context.filepath
&lt;BR /&gt;on tFileOutputDelimited, define a dynamic output file path for each output result, eg:
&lt;BR /&gt;"d:/file/"+context.filepath+".txgt"
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 05 Aug 2015 11:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360574#M125132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360575#M125133</link>
      <description>thanks Shong, But job can't run by .bat file or .sh file. I think, child job and main job can't connect context tfilelist? Please give me your feedback. 
&lt;BR /&gt;Best regard, 
&lt;BR /&gt;Moon.</description>
      <pubDate>Thu, 06 Aug 2015 09:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360575#M125133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T09:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360576#M125134</link>
      <description>Sorry Shong, i will try with the same job, it work 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;.</description>
      <pubDate>Thu, 06 Aug 2015 11:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360576#M125134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T11:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Mapping multiple sheets excel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360577#M125135</link>
      <description>great, thanks for your feedback!
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 07 Aug 2015 06:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Mapping-multiple-sheets-excel/m-p/2360577#M125135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T06:07:30Z</dc:date>
    </item>
  </channel>
</rss>

