<?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 ... each in filelist in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311686#M115069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just load 2009 in another part of script just before or after ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont't use the loop, just :&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;budget_2009.xls // your path to 2009&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you load exactly the same fields and tables will concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can solve easily your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 09:04:14 GMT</pubDate>
    <dc:creator>christophebrault</dc:creator>
    <dc:date>2012-02-23T09:04:14Z</dc:date>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311685#M115068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;very simple and stupid problem, but I'm not able to find a solution. This is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EACH FILE IN FileList('$(DIRBUDGET)budget_201*.xls')&lt;/P&gt;&lt;P&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(FILE)&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P&gt;next FILE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It load all my files from 2010 to 2019... but I need 2009, too, and I don't want to load 2008 and 2007. And cause I'm working on someone else script, I wouldn't want to change the structure of the script. I simply want to add 2009 file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filippo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 08:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311685#M115068</guid>
      <dc:creator />
      <dc:date>2012-02-23T08:53:19Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311686#M115069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just load 2009 in another part of script just before or after ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont't use the loop, just :&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;budget_2009.xls // your path to 2009&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you load exactly the same fields and tables will concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can solve easily your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311686#M115069</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2012-02-23T09:04:14Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311687#M115070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cause if tomorrow&amp;nbsp; someone wants&amp;nbsp; to see 2008 and 2009 sales I have to add a part of script newly. It works but it's not so "lean".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311687#M115070</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:09:58Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311688#M115071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Filippo,&lt;/P&gt;&lt;P&gt;you could use &lt;/P&gt;&lt;P&gt;the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vBaseDir = '\\path\to\your\files\';&lt;/P&gt;&lt;P&gt;set vBaseName = 'budget_';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vMonth in '2009', '2010', '2011', ...,&amp;nbsp; '2019'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vBaseDir)$(vBaseName)$(vMonth).xls &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;next vMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can load other months in a very simple way by adding/deleting values to your list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311688#M115071</guid>
      <dc:creator>ekech_infomotio</dc:creator>
      <dc:date>2012-02-23T09:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311689#M115072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For year=2009 to 2019&lt;/P&gt;&lt;P&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(DIRBUDGET)budget_$(year).xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311689#M115072</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T09:31:46Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311690#M115073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately variable FILE is used lots of times. And this loop is used several times. I don't want to create a new loop. I could instead add a second loop, maybe using year variable. What could be the right syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for year = 2009 to 2014&lt;/P&gt;&lt;P&gt;FOR EACH FILE IN FileList('$(DIRBUDGET)budget_$(year).xls')&lt;/P&gt;&lt;P&gt;load ...&lt;/P&gt;&lt;P&gt;next file&lt;/P&gt;&lt;P&gt;next year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311690#M115073</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:50:28Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311691#M115074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;use below code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FOR EACH FILE IN FileList('$(DIRBUDGET)budget_201*.xls'&lt;STRONG&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'$(DIRBUDGET)budget_2009*.xls'&lt;/SPAN&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;$(FILE)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;next FILE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311691#M115074</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-02-23T09:52:46Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311692#M115075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified it and now it works as I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you all...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311692#M115075</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:55:00Z</dc:date>
    </item>
    <item>
      <title>For ... each in filelist</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311693#M115076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;use below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FOR EACH FILE IN FileList('$(DIRBUDGET)budget_201*.xls'&lt;STRONG&gt;,&lt;SPAN&gt;'$(DIRBUDGET)budget_2009*.xls'&lt;/SPAN&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;$(FILE)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(biff, embedded labels, header is 1 lines, table is Operatori$);&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;next FILE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi Sunil,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;this was my first attempt, but it doesn't worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 09:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-in-filelist/m-p/311693#M115076</guid>
      <dc:creator />
      <dc:date>2012-02-23T09:56:59Z</dc:date>
    </item>
  </channel>
</rss>

