<?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 excel with sheets problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293600#M66552</link>
    <description>Hi,&lt;BR /&gt;I have an excel file with multiple sheets, I don't know each time how many sheets there will be in the file.&lt;BR /&gt;How can I iterate the same talend elaboration on each sheet.&lt;BR /&gt;I would like to have an output file for each sheet of the excel file.&lt;BR /&gt;Thanks in advance for your precious help.</description>
    <pubDate>Sat, 16 Nov 2024 12:37:11 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T12:37:11Z</dc:date>
    <item>
      <title>excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293600#M66552</link>
      <description>Hi,&lt;BR /&gt;I have an excel file with multiple sheets, I don't know each time how many sheets there will be in the file.&lt;BR /&gt;How can I iterate the same talend elaboration on each sheet.&lt;BR /&gt;I would like to have an output file for each sheet of the excel file.&lt;BR /&gt;Thanks in advance for your precious help.</description>
      <pubDate>Sat, 16 Nov 2024 12:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293600#M66552</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293601#M66553</link>
      <description>Hi,&lt;BR /&gt;you can read each sheet (all sheets matching regex) or iterate (tLoop) using position ((Integer)globalMap.get("tLoop_1_CURRENT_VALUE"))&lt;BR /&gt;Then you should process according to CURRENT_SHEET.NAME ... to the specific output.&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 18 Oct 2011 10:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293601#M66553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293602#M66554</link>
      <description>"I don't know each time how many sheets there will be in the file" so what to put in the tloop setting "To"?&lt;BR /&gt;And then how to manage the output the n-sheets output?</description>
      <pubDate>Tue, 18 Oct 2011 11:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293602#M66554</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-10-18T11:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293603#M66555</link>
      <description>some workaround could be to loop from 0 to MAX (context var) and handle component error (sheet not found beyond the real number of sheets).
&lt;BR /&gt;You could also do a first step reading (ExcelFile) to set the context var or globalVar (within a tJava ...) to get your "upperBound" (tLoop).
&lt;BR /&gt;To manage the output (n-sheets), using the name and matching criteria you could use it within a tMap to write specific output(s).
&lt;BR /&gt;It's just an idea...</description>
      <pubDate>Tue, 18 Oct 2011 11:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293603#M66555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T11:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293604#M66556</link>
      <description>i'm really new to talend.... 
&lt;BR /&gt;how many outputs have i to create in the tmap component if i don't know before the number of the sheets of the excel file? 
&lt;BR /&gt;has it to be a "dynamic" creation of ouputs, isn't it? 
&lt;BR /&gt;Could you please be more detailed? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 18 Oct 2011 11:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293604#M66556</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-10-18T11:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293605#M66557</link>
      <description>In that case, it's not dynamic. 
&lt;BR /&gt;You have to define with more details your needs to know if you can use ETL features or custom code...
&lt;BR /&gt;If you only have to read Excel and write output (CSV, database, ...) according to a define schema it could be easy.
&lt;BR /&gt;1 output &amp;lt;-&amp;gt; 1 schema.
&lt;BR /&gt;You could also use only one output component and move from one file to the other (-changing name according to Excel sheetname).</description>
      <pubDate>Tue, 18 Oct 2011 12:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293605#M66557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293606#M66558</link>
      <description>Given the number of sheets fixed could you please explain me in more details how could i get the n-fixed (3 for example) out from the tmap component? 
&lt;BR /&gt;Thanks really much.</description>
      <pubDate>Tue, 18 Oct 2011 13:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293606#M66558</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-10-18T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293607#M66559</link>
      <description>let's see later (tomorrow PM, ...)</description>
      <pubDate>Tue, 18 Oct 2011 16:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293607#M66559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-18T16:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293608#M66560</link>
      <description>If you are not familiar to Talend you should read the technical documentation about the components you would use. 
&lt;BR /&gt;You need a matching criteria to manage your flow ouput. 
&lt;BR /&gt;You'd better use a join link to a reference lookup flow; to select the appropriate output. 
&lt;BR /&gt;But you could also match to the ExcelSheet name (regex: "*" to match Sheet1, Feuil2, ...). 
&lt;BR /&gt;If you use a tMap, you could activate filter to ouput to write from one to the other. 
&lt;BR /&gt;OutputFiles would be written in "append mode". 
&lt;BR /&gt; 
&lt;BR /&gt;tFileInputExcel_1 (read all sheets) -&amp;gt; tMap -Out1-&amp;gt; tFileOutputDelimited_1(Append) 
&lt;BR /&gt; -Out2-&amp;gt; tFileOutputDelimited_2(Append) 
&lt;BR /&gt; ... 
&lt;BR /&gt; 
&lt;BR /&gt;Filter condition to match "aa1" as one of the sheetname (equals, startsWith, ...) 
&lt;BR /&gt;Out1: ((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).equals("aa1") 
&lt;BR /&gt;Out2: ((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).equals("aa2") 
&lt;BR /&gt;... 
&lt;BR /&gt;You could also use local Var to add java code or call a specific routine (java code outside the tMap). 
&lt;BR /&gt;From that sample you would set the filter directly into the tFileInputExcel_1 but it's just to show you about your last question... 
&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 19 Oct 2011 11:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293608#M66560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293609#M66561</link>
      <description>I will try your solution and I'll let you...&lt;BR /&gt;Thanks really much</description>
      <pubDate>Wed, 19 Oct 2011 13:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293609#M66561</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-10-19T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293610#M66562</link>
      <description>Hi
&lt;BR /&gt;Try this
&lt;BR /&gt;tFileInputExcel(with all sheets checked)---tMap(add an extracolumn(SheetName) having the sheet name
&lt;BR /&gt;((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET"))---tFileOutput give the filename as 
&lt;BR /&gt;row1.SheetName.psv with append checked.
&lt;BR /&gt;This will write into sperate files based on sheet name.</description>
      <pubDate>Wed, 19 Oct 2011 15:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293610#M66562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293611#M66563</link>
      <description>Hi lijolawrance ,&lt;BR /&gt;I don't understand how your solution can be applied to all the sheets of the Excel file.&lt;BR /&gt;Could you please detail ?&lt;BR /&gt;Thanks&lt;BR /&gt;Yves.</description>
      <pubDate>Wed, 19 Oct 2011 18:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293611#M66563</guid>
      <dc:creator>YVES1</dc:creator>
      <dc:date>2011-10-19T18:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293612#M66564</link>
      <description>Hi im getting the error message while connecting from excel file to database.... field name is not null.. can anyone reply for me.Its is displaying 0 for the  remaining column in the excel field.</description>
      <pubDate>Thu, 20 Oct 2011 08:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293612#M66564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T08:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293613#M66565</link>
      <description>Hi Yves
&lt;BR /&gt;I am expecting that all you sheets have same schema.
&lt;BR /&gt;If yes, If all sheets is checked in tFileInputExcel; talend read all the sheets from the excel in one go no iterate is required.
&lt;BR /&gt;in the next tMap, add an extra column (SheetName) and value for the column is ((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).
&lt;BR /&gt;This value will change based on sheets name so basically if there are are 5 sheets, the column SheetName will have 5 unique value.
&lt;BR /&gt;tFileInputExcel--------tMap-------tFileOutput
&lt;BR /&gt; row1 row2
&lt;BR /&gt;For writing into output file, you can specify the filename as &amp;lt;Location&amp;gt;\row2.SheetName+&amp;lt;extension&amp;gt; with append option clicked
&lt;BR /&gt;here a seperate output will be created for each unique value of SheetName column.
&lt;BR /&gt;Hope it help you
&lt;BR /&gt;@ravishankar.m
&lt;BR /&gt;Can you explain what is the error you are getting?</description>
      <pubDate>Thu, 20 Oct 2011 09:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293613#M66565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293614#M66566</link>
      <description>Column 'TIMESLOT' cannot be null&lt;BR /&gt;Column 'TIMESLOT' cannot be null&lt;BR /&gt;These are the errors i am getting while running the job..and also in my database its taking 0 value for the extra excel column</description>
      <pubDate>Thu, 20 Oct 2011 10:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293614#M66566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T10:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293615#M66567</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Column 'TIMESLOT' cannot be null&lt;BR /&gt;Column 'TIMESLOT' cannot be null&lt;BR /&gt;These are the errors i am getting while running the job..and also in my database its taking 0 value for the extra excel column&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Don't hijack posts. Try putting this in a new post.</description>
      <pubDate>Thu, 20 Oct 2011 10:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293615#M66567</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-10-20T10:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293616#M66568</link>
      <description>Hi&lt;BR /&gt;I am new to talend. actually my requirement is&lt;BR /&gt;1) i need to extract some particular field from excelfile to another excelfile. Is it possible. please teach me.&lt;BR /&gt;2)what is the usage of data profiler and MDM whether i need to install this both are dont  want.&lt;BR /&gt;please reply soon</description>
      <pubDate>Thu, 20 Oct 2011 10:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293616#M66568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T10:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293617#M66569</link>
      <description>ravishankar.m wrote:&lt;BR /&gt;Column 'TIMESLOT' cannot be null&lt;BR /&gt;Column 'TIMESLOT' cannot be null&lt;BR /&gt;These are the errors i am getting while running the job..and also in my database its taking 0 value for the extra excel column</description>
      <pubDate>Thu, 20 Oct 2011 10:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293617#M66569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T10:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293618#M66570</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Yves&lt;BR /&gt;I am expecting that all you sheets have same schema.&lt;BR /&gt;If yes, If all sheets is checked in tFileInputExcel; talend read all the sheets from the excel in one go no iterate is required.&lt;BR /&gt;in the next tMap, add an extra column (SheetName) and value for the column is ((String)globalMap.get("tFileInputExcel_1_CURRENT_SHEET")).&lt;BR /&gt;This value will change based on sheets name so basically if there are are 5 sheets, the column SheetName will have 5 unique value.&lt;BR /&gt;tFileInputExcel--------tMap-------tFileOutput&lt;BR /&gt; row1 row2&lt;BR /&gt;For writing into output file, you can specify the filename as &amp;lt;Location&amp;gt;\row2.SheetName+&amp;lt;extension&amp;gt; with append option clicked&lt;BR /&gt;here a seperate output will be created for each unique value of SheetName column.&lt;BR /&gt;Hope it help you&lt;BR /&gt;@ravishankar.m&lt;BR /&gt;Can you explain what is the error you are getting?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi im ravishankar
&lt;BR /&gt;Column 'TIMESLOT' cannot be null
&lt;BR /&gt;Column 'TIMESLOT' cannot be null
&lt;BR /&gt;These are the errors i am getting while running the job..and also in my database its taking 0 value for the extra excel column</description>
      <pubDate>Thu, 20 Oct 2011 10:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293618#M66570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T10:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: excel with sheets problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293619#M66571</link>
      <description>HI&lt;BR /&gt;how to do timestamp in talend . can anyone reply for me</description>
      <pubDate>Thu, 20 Oct 2011 11:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/excel-with-sheets-problem/m-p/2293619#M66571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T11:01:04Z</dc:date>
    </item>
  </channel>
</rss>

