<?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: how to read an excel file with multiple headers in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226245#M18209</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; You will have to read the same file twice with different values for first (header) and last records (limit) in tfileinputExcel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;It will help you to parse the data separately. But the ideal way will be to send the data from source at right format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2018 11:38:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-11T11:38:53Z</dc:date>
    <item>
      <title>how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226244#M18208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have an excel file with multiple headers, kindly suggest how can i read this&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12.JPG" style="width: 567px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1OZ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131832i141A3D5A95B13349/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1OZ.jpg" alt="0683p000009M1OZ.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;File looks like above&lt;/P&gt; 
&lt;P&gt;please suggest any workaround to read this file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Meena&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 11:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226244#M18208</guid>
      <dc:creator>muralam</dc:creator>
      <dc:date>2018-12-11T11:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226245#M18209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; You will have to read the same file twice with different values for first (header) and last records (limit) in tfileinputExcel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;It will help you to parse the data separately. But the ideal way will be to send the data from source at right format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 11:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226245#M18209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T11:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226246#M18210</link>
      <description>&lt;P&gt;&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;could you please help to explain in detail&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 13:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226246#M18210</guid>
      <dc:creator>muralam</dc:creator>
      <dc:date>2018-12-11T13:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226247#M18211</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLWmAAO"&gt;@muralam&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please refer the sample job below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Job output" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1cx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150864i45FF4EFD8D66AC20/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1cx.png" alt="0683p000009M1cx.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job output&lt;/SPAN&gt;&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-center" image-alt="First file read" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1XA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143446i8DAAC9A7E6FA0D7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1XA.png" alt="0683p000009M1XA.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;First file read&lt;/SPAN&gt;&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-center" image-alt="Second file read" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1d2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137381i827381C6FF170EB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1d2.png" alt="0683p000009M1d2.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Second file read&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By changing the value of header and number of lines to read, you can selectively fetch the records from a sheet. Now in your mind there might be a query that how to fetch the header line or number of lines to read.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ideally, its source team's responsibility since they are sending the data in this non-standard manner. But if they are not ready to give, then you will have to parse the each line and then identify the string pattern to read the starting and ending position.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now a third approach will be to read all the lines using single file read and send it to a tjavarow for fetching. If the column1's value is "Name", understand that the following records are a different subset and add a new sequence group number to it. Later separate the records for each group to different flows (you can use a tMap here).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you do not want to separate the data and just combine all the different datasets under a single file, then after reading, skip the records with "Name" for column1 using a tMap and it will be easy way forward.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope I have answered your query. Could you please mark the topic as closed, you are happy with the comments? Kudos are also welcome &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; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 14:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226247#M18211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T14:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226248#M18212</link>
      <description>&lt;P&gt;&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;Thanks for the idea to try with plan B, i have tried the the suggested way unfortunately i am not able to read the file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;here the case is headers are not static it may start any where in the file and can end at any point so help is needed to find a generic solution.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 11:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226248#M18212</guid>
      <dc:creator>muralam</dc:creator>
      <dc:date>2018-12-12T11:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to read an excel file with multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226249#M18213</link>
      <description>thanks the third step worked as expected 
&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>Wed, 12 Dec 2018 13:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-read-an-excel-file-with-multiple-headers/m-p/2226249#M18213</guid>
      <dc:creator>muralam</dc:creator>
      <dc:date>2018-12-12T13:22:07Z</dc:date>
    </item>
  </channel>
</rss>

