<?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: loading different excel files -automation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loading-different-excel-files-automation/m-p/1280609#M873092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't really tell us where your issue is here, which bit of it is failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a recent blog post on some more advanced imports, this one imports text files but goes through and checks if they're new and logs them etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/" style="font-size: 10pt;" title="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/"&gt;http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2016 08:03:31 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2016-11-21T08:03:31Z</dc:date>
    <item>
      <title>loading different excel files -automation</title>
      <link>https://community.qlik.com/t5/QlikView/loading-different-excel-files-automation/m-p/1280608#M873091</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;&lt;/P&gt;&lt;P&gt;i have two excel files like Annuites_2016_Plan Master.Xlsx, R_IS_2016_Plan Master, every year we will place the folder in path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can we automate this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vYear=Year(Today());&lt;/P&gt;&lt;P&gt;let vQVD = '..\QVD\Extract\';&lt;/P&gt;&lt;P&gt;for each vFile in FileList('..\ExternalData\*$(vYear) _ Plan Master.xlsx')&lt;/P&gt;&lt;P&gt;//for Each vSheet in '[Plan Master]','[Jan-Jun]'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vQVD = replace(vFile, '.xlsx', '.qvd');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if alt(FileSize('$(vQVD)'), 0) = 0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NextFile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM $(vFile)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is $(vSheet))&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE NextFile INTO $(vQVD) (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP TABLE NextFile;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;//NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM ..\QVD\Extract\*.qvd (qvd)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-different-excel-files-automation/m-p/1280608#M873091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: loading different excel files -automation</title>
      <link>https://community.qlik.com/t5/QlikView/loading-different-excel-files-automation/m-p/1280609#M873092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't really tell us where your issue is here, which bit of it is failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a recent blog post on some more advanced imports, this one imports text files but goes through and checks if they're new and logs them etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/" style="font-size: 10pt;" title="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/"&gt;http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 08:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-different-excel-files-automation/m-p/1280609#M873092</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-11-21T08:03:31Z</dc:date>
    </item>
  </channel>
</rss>

