<?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 For loop while reading from Excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-loop-while-reading-from-Excel-file/m-p/266129#M1181766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am new to qlikview. I have a question for which I couldn't find a solution.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem statement is:&lt;/P&gt;&lt;P&gt;I have a folder in a FTP server, which contains excel files. More specifically every quarter there will be a new file with the "year-quarter" as the file name.&lt;/P&gt;&lt;P&gt;Again every file has 3 sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tasks is to read all the excel files, and store the data from sheet1 from all excel file in a qvd. And this has to repeat for sheet2 &amp;amp; sheet 3 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Spandana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 18:05:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-29T18:05:44Z</dc:date>
    <item>
      <title>For loop while reading from Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/For-loop-while-reading-from-Excel-file/m-p/266129#M1181766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am new to qlikview. I have a question for which I couldn't find a solution.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem statement is:&lt;/P&gt;&lt;P&gt;I have a folder in a FTP server, which contains excel files. More specifically every quarter there will be a new file with the "year-quarter" as the file name.&lt;/P&gt;&lt;P&gt;Again every file has 3 sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tasks is to read all the excel files, and store the data from sheet1 from all excel file in a qvd. And this has to repeat for sheet2 &amp;amp; sheet 3 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Spandana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 18:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-loop-while-reading-from-Excel-file/m-p/266129#M1181766</guid>
      <dc:creator />
      <dc:date>2011-11-29T18:05:44Z</dc:date>
    </item>
    <item>
      <title>For loop while reading from Excel file</title>
      <link>https://community.qlik.com/t5/QlikView/For-loop-while-reading-from-Excel-file/m-p/266130#M1181767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Spandana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should be very straighforward when doing it with QlikView, as long as every file has the same internal structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM FilePath\*.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD *&lt;/P&gt;&lt;P&gt;FROM FilePath\*.xlsx (ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD *&lt;/P&gt;&lt;P&gt;FROM FilePath\*.xlsx (ooxml, embedded labels, table is Sheet3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first load statement will get the data from the Sheet1 from all files. The second from the Sheet2, and so on. If all files / sheets have the same data structure, QlikView will automagically concatenate the data in the same table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 18:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-loop-while-reading-from-Excel-file/m-p/266130#M1181767</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2011-11-29T18:47:37Z</dc:date>
    </item>
  </channel>
</rss>

