<?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 Loading excel files from several directories in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306361#M113119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You're right...I've eliminated the if and it works ok.&lt;BR /&gt;Thanks Kiran for your advise,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Oct 2011 19:06:12 GMT</pubDate>
    <dc:creator>david_ze</dc:creator>
    <dc:date>2011-10-01T19:06:12Z</dc:date>
    <item>
      <title>Loading excel files from several directories</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306359#M113117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;Will appreciate your help and advice...&lt;/P&gt;&lt;P&gt;I'm loading all excel files located in directory 'c:\temp', using the below code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Directory C:\temp\&lt;BR /&gt;set filectr=0;&lt;BR /&gt;For each ExcelFile in filelist ('*.xls')&lt;BR /&gt; If filectr=0 then &lt;BR /&gt; temp_xls_files:&lt;BR /&gt; Load Date1 as sign_date,&amp;nbsp; &lt;BR /&gt; cellnum,&lt;BR /&gt; cust_name&lt;BR /&gt; from $(ExcelFile) (biff, embedded labels, header is 1 lines, table is Sheet1$);&lt;BR /&gt; Else &lt;BR /&gt; temp_xls_files:&lt;BR /&gt; Concatenate &lt;BR /&gt; Load Date1 as sign_date,&amp;nbsp; &lt;BR /&gt; cellnum,&lt;BR /&gt; cust_name&lt;BR /&gt; from $(ExcelFile) (biff, embedded labels, header is 1 lines, table is Sheet1$);&lt;BR /&gt; EndIf&lt;BR /&gt; Let filectr=$(filectr)+1;&lt;BR /&gt;next ExcelFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, I would like to load more files (in the same format) but from additional directory - c:\temp1.&lt;BR /&gt;when I'm duplicating the code to load from c:\temp1, QV creats Synthetic keys for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how can i use the above code to load all excel files from several directories ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 17:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306359#M113117</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-10-01T17:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loading excel files from several directories</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306360#M113118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are not using the if part for the second directory. Just concatenate is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 18:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306360#M113118</guid>
      <dc:creator />
      <dc:date>2011-10-01T18:16:26Z</dc:date>
    </item>
    <item>
      <title>Loading excel files from several directories</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306361#M113119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You're right...I've eliminated the if and it works ok.&lt;BR /&gt;Thanks Kiran for your advise,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 19:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-excel-files-from-several-directories/m-p/306361#M113119</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-10-01T19:06:12Z</dc:date>
    </item>
  </channel>
</rss>

