<?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: read specific spreadsheets in several excel files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317784#M88192</link>
    <description>&lt;P&gt;I will make sure all my files have a sheet with the oword "year"&lt;/P&gt;&lt;P&gt;for my curiosty, O you know how I can make a test?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 09:39:33 GMT</pubDate>
    <dc:creator>citrods</dc:creator>
    <dc:date>2021-01-11T09:39:33Z</dc:date>
    <item>
      <title>read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317778#M88186</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have lots of excel files to read.&lt;/P&gt;&lt;P&gt;Each excel files have many speadsheets but I don't have to real all of these spreasheets.&lt;/P&gt;&lt;P&gt;The spreadseehats have different names and I'm intersted in spreashsheets which are named "Year 1990", "Year 1992", "Year 1992" and so on. Not all years exist and I don't know the exact list of years.&lt;/P&gt;&lt;P&gt;Actually I'm interested in spreadsheets whichs contains "Year".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can use tfileinput and set the parameters so that I can read some specific spreadsheet?&lt;/P&gt;&lt;P&gt;I know that I can tick a box which will allow to read all spreadshest. I can also write the name of the spreadsheet I want to read. But I want something in between ;  just read spreadsheet which contains "year". Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 11:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317778#M88186</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-07T11:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317779#M88187</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try to use the regex option in the tFileInputExcel component and write expression as I have write in my job.&lt;/P&gt;&lt;P&gt;Check it and let me know if it works for you or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BAp4PAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139650i1F09B5DD8F85A579/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BAp4PAAT.png" alt="0693p00000BAp4PAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 12:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317779#M88187</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-07T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317780#M88188</link>
      <description>&lt;P&gt;what does ^\\d(4)$ mean ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idon't see the connection with my spreadsheets which contain the word "year"&lt;/P&gt;&lt;P&gt;I believe I have to define a variable called "year" somewhere abd spcify in this expression to check for this variable, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I'Il try tonight and let you know&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 15:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317780#M88188</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-07T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317781#M88189</link>
      <description>&lt;P&gt;Hi @citr dsz​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a regex expression to check if the value is like a year (for ex - 1990, 1991 etc.) , But now I realized that the name of your spread sheet is like "year 1990", right ?&lt;/P&gt;&lt;P&gt;So, try this "^.*Year.*$" in place of "^\\d(4)$"&lt;/P&gt;&lt;P&gt;Also if there is some more specific requirement could you please share screenshot of the spread sheet name so that I can prepare the regex accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 06:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317781#M88189</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-08T06:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317782#M88190</link>
      <description>&lt;P&gt;I have this error message&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BAwsvAAD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141485i9E377301905B4418/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BAwsvAAD.jpg" alt="0693p00000BAwsvAAD.jpg" /&gt;&lt;/span&gt;Is it because Some of my files doens't have any spreadhseets which contains the word "Year"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried as you told me&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BAwswAAD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153580i1B83D262214616C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BAwswAAD.jpg" alt="0693p00000BAwswAAD.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what the excel file looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BAwtAAAT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132081i3017CCECC4D81E2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BAwtAAAT.jpg" alt="0693p00000BAwtAAAT.jpg" /&gt;&lt;/span&gt;But i have files which don't have worksheets without "Year" and I don't care about them&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 11:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317782#M88190</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-08T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317783#M88191</link>
      <description>&lt;P&gt;I am using the same thing and i am not getting any error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BB9MsAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143135i7E9A020484C54ED1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BB9MsAAL.png" alt="0693p00000BB9MsAAL.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BB9MnAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155603iE628FCC2EE67087C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BB9MnAAL.png" alt="0693p00000BB9MnAAL.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BB9MiAAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157101i6119758486FA14DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BB9MiAAL.png" alt="0693p00000BB9MiAAL.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes you are right, it is because some of your files do not have the word "Year" in the sheet.&lt;/P&gt;&lt;P&gt;I am getting the same error as yours only when none of my sheets have there name starting as " Year " .&lt;/P&gt;&lt;P&gt;You should test with one file having year in the sheet name, if it works then you can handle the exceptional cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 12:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317783#M88191</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-09T12:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317784#M88192</link>
      <description>&lt;P&gt;I will make sure all my files have a sheet with the oword "year"&lt;/P&gt;&lt;P&gt;for my curiosty, O you know how I can make a test?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317784#M88192</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-11T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317785#M88193</link>
      <description>&lt;P&gt;Take one of your file and use it in tFileInputExcel and then create schema according to it. &lt;/P&gt;&lt;P&gt;I have also attached a screenshot in the above answer that how i setup tFileInputExcel while testing.&lt;/P&gt;&lt;P&gt;Print the values using tLogRow.&lt;/P&gt;&lt;P&gt;In my testing file i have 3 sheets having different names but i was getting output only for the "Year 15" sheet.&lt;/P&gt;&lt;P&gt;Let me know if need further support.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 12:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317785#M88193</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-11T12:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317786#M88194</link>
      <description>&lt;P&gt;hello again,&lt;/P&gt;&lt;P&gt;I added manually a worhseet named "year" to all my excel files and it works properly.&lt;/P&gt;&lt;P&gt;For the next times, i'd like to do it automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) how can you make a test and avoid an error message if your excel files doesn"t contain a worksheet named year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I can't make a test, can you automatically add a worksheet to all your files without deleting information in the files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 18:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317786#M88194</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-13T18:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317787#M88195</link>
      <description>&lt;P&gt;Before continuing, correct me if i am wrong , you want below things&lt;/P&gt;&lt;P&gt;1) read all excel and just extract data from spreadsheets  names as "Year XX".&lt;/P&gt;&lt;P&gt;2) If some of the excel don't have spreadsheets named as "Year XX", then add a new spreadsheet with name "Year"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 06:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317787#M88195</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-14T06:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317788#M88196</link>
      <description>&lt;P&gt;exactly. this is what i figured out to avoiD error message if an excel file doesnt have the worksheet which is named "year XXXX".&lt;/P&gt;&lt;P&gt;Also, the fake spreadsheet doesn't need to contain any data. It can be empty as I don't want to read information from that fake worksheet. just wantto avoid error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm OK with to other solutions&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 14:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317788#M88196</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-14T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317789#M88197</link>
      <description>&lt;P&gt;I have one idea where you donot need to add spreadsheet of "Year".&lt;/P&gt;&lt;P&gt;What you can do create a master and subjob concept.&lt;/P&gt;&lt;P&gt;1) Master Job&lt;/P&gt;&lt;P&gt;tFileList -&amp;gt; iterate -&amp;gt; tRunjob&lt;/P&gt;&lt;P&gt;2) Child Job (Subjob)&lt;/P&gt;&lt;P&gt;Create a subjob and create the logic to read the Excel and store the data and then use this job in tRunJob.&lt;/P&gt;&lt;P&gt;in that subjob add a context.FileName and pass this context value using the master job.&lt;/P&gt;&lt;P&gt;Also untick the DieOnError setting in tRunJob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By this logic your job will throw the error message but will not fail and continue for the Excel having "Year XX" spreadsheet.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 06:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317789#M88197</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-01-15T06:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: read specific spreadsheets in several excel files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317790#M88198</link>
      <description>&lt;P&gt;I'm a beginner, i didn't understand all theses stuffs&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; &lt;/P&gt;&lt;P&gt;what is a master job and what is a child job?&lt;/P&gt;&lt;P&gt;what is contextFILE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have a screenshot and all the settings that I have to use?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 21:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-specific-spreadsheets-in-several-excel-files/m-p/2317790#M88198</guid>
      <dc:creator>citrods</dc:creator>
      <dc:date>2021-01-19T21:03:13Z</dc:date>
    </item>
  </channel>
</rss>

