<?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 load files with a loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149823#M27944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;I search the forums for an example but I didn't find one.&lt;/P&gt;&lt;P&gt;I have a directory ( named C:\test ) which contains 3 XLS files named ACT1,ACT2,ACT3.&lt;/P&gt;&lt;P&gt;All 3 files are in the same structure.&lt;/P&gt;&lt;P&gt;All I want is to build a loop which will run 3 times and will load the files.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;What is the correct syntax ?&lt;/P&gt;&lt;P&gt;Thanx a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 13:55:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-21T13:55:01Z</dc:date>
    <item>
      <title>load files with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149823#M27944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;I search the forums for an example but I didn't find one.&lt;/P&gt;&lt;P&gt;I have a directory ( named C:\test ) which contains 3 XLS files named ACT1,ACT2,ACT3.&lt;/P&gt;&lt;P&gt;All 3 files are in the same structure.&lt;/P&gt;&lt;P&gt;All I want is to build a loop which will run 3 times and will load the files.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;What is the correct syntax ?&lt;/P&gt;&lt;P&gt;Thanx a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 13:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149823#M27944</guid>
      <dc:creator />
      <dc:date>2009-07-21T13:55:01Z</dc:date>
    </item>
    <item>
      <title>load files with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149824#M27945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;you can use a wild card:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Field3&lt;/P&gt;&lt;P&gt;FROM ACT*.xls (biff, embedded labels, table is Tabelle1$);&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149824#M27945</guid>
      <dc:creator />
      <dc:date>2009-07-21T14:01:48Z</dc:date>
    </item>
    <item>
      <title>load files with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149825#M27946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Here is an example that loads a spreadsheet with multiple sheets. The theory should also work for what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;SET vPath=C:\Training\;&lt;BR /&gt;for vSheetName = 2005 to 2009&lt;BR /&gt; "BUDGETS":&lt;BR /&gt; LOAD&lt;BR /&gt; EmployeeID,&lt;BR /&gt; $(vSheetName) AS BUDGETYEAR,&lt;BR /&gt; Budget as BUADGETAMOUNT&lt;BR /&gt; FROM [$(vPath)\Datasources\Budget.xls] (biff, embedded labels, table is [$(vSheetName)$],FILTERS(REPLACE(1,TOP,STRCND(NULL))));&lt;BR /&gt;next&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149825#M27946</guid>
      <dc:creator />
      <dc:date>2009-07-21T14:02:08Z</dc:date>
    </item>
    <item>
      <title>load files with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149826#M27947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great (and really quick) solutions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10X guys &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 15:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149826#M27947</guid>
      <dc:creator />
      <dc:date>2009-07-21T15:46:24Z</dc:date>
    </item>
    <item>
      <title>load files with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149827#M27948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A really simple example of a loop:&lt;/P&gt;&lt;P&gt;For I = 1 to 3&lt;BR /&gt;&lt;BR /&gt;LOAD F1,&lt;BR /&gt; F2,&lt;BR /&gt; F3&lt;BR /&gt;FROM&lt;BR /&gt;&lt;D&gt;&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;BR /&gt;&lt;BR /&gt;Next I&lt;BR /&gt;&lt;/D&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 16:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-files-with-a-loop/m-p/149827#M27948</guid>
      <dc:creator />
      <dc:date>2009-07-21T16:01:09Z</dc:date>
    </item>
  </channel>
</rss>

