<?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: How to load latest excel from the folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40985#M768491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/881986"&gt;Re: Pick the latest excel file from folders&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/112426" title="https://community.qlikview.com/thread/112426"&gt;How to load only most recent file | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2018 10:48:09 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2018-06-18T10:48:09Z</dc:date>
    <item>
      <title>How to load latest excel from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40984#M768490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me on below requirement.&lt;/P&gt;&lt;P&gt;I have multiple excels in the subfolder like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="extraction file.png" class="jive-image image-1" src="/legacyfs/online/205467_extraction file.png" style="width: 620px; height: 184px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;daily they will add one excel. From all these excels I have to load only latest excel means with max date excel need to load dynamically.&lt;/P&gt;&lt;P&gt;For example in the above all excels "Extract20180616" is the latest excel this one need to load if any other excel Extract20180617 is added then it will be the latest so &lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;Extract20180617&amp;nbsp; has to be load.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&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/How-to-load-latest-excel-from-the-folder/m-p/40984#M768490</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load latest excel from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40985#M768491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/881986"&gt;Re: Pick the latest excel file from folders&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/112426" title="https://community.qlikview.com/thread/112426"&gt;How to load only most recent file | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 10:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40985#M768491</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2018-06-18T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to load latest excel from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40986#M768492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;Actually I don't have today file I need to pass max(date) file.&lt;BR /&gt;Please help me to pass max(date ) in variable.&lt;/P&gt;&lt;P&gt;LET vToday = date(today(), 'DDMMYYYY');&lt;BR /&gt; &lt;BR /&gt;LOAD *&lt;BR /&gt;FROM $(vToday)MyFile.xls;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 11:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40986#M768492</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-06-18T11:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to load latest excel from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40987#M768493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load FileName() as File_Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Right(FileName(),8),'YYYYMMDD'),'DD/MM/YYYY') as DateField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Extract*.xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Min_Max:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Max(DateField) as MaxDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(DateField) as MinDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vMaxDate = Peek('MaxDate',0,'Min_Max');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * From Extract_$(vMaxDate).xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 13:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40987#M768493</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-06-18T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to load latest excel from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40988#M768494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;By making small changes its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;Load FileName() as File_Name,&lt;BR /&gt;Date(mid(FileName(),8,8),'YYYYMMDD') as DateField,&lt;/P&gt;&lt;P&gt;&amp;nbsp; //&amp;nbsp; Date(Date#(mid(FileName(),8,8) ,'YYYYMMDD'),'YYYYMMDD') as DateField,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&lt;BR /&gt;FROM [lib://Extract/Extract*.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;Min_Max:&lt;BR /&gt;Load Max(DateField) as MaxDate,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(DateField) as MinDate&lt;BR /&gt;Resident Table;&lt;BR /&gt; &lt;BR /&gt;LET vMaxDate = Peek('MaxDate',0,'Min_Max');&lt;BR /&gt; &lt;BR /&gt; Drop table Table;&lt;BR /&gt;Final:&lt;BR /&gt;Load *&amp;nbsp; &lt;BR /&gt;FROM [lib://Extract/Extract$(vMaxDate).csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 14:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-latest-excel-from-the-folder/m-p/40988#M768494</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-06-18T14:09:28Z</dc:date>
    </item>
  </channel>
</rss>

