<?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 take latest csv file from the folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655327#M239366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can read files from the directory and check the latest date/time with the function - filetime( 'file' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Sep 2014 16:12:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-21T16:12:32Z</dc:date>
    <item>
      <title>How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655322#M239361</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;Every hour i am receiving one new file .I need to pick the latest file for loading .&lt;/P&gt;&lt;P&gt;I am thinking two ways to do &lt;/P&gt;&lt;P&gt;1.Moving the file to Archive folder once it is loaded &lt;/P&gt;&lt;P&gt;2.Picking the latest file based on system date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me which way is better ans how to do in Qlikview .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 11:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655322#M239361</guid>
      <dc:creator />
      <dc:date>2014-09-21T11:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655323#M239362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/15046"&gt;pick the latest file ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 11:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655323#M239362</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-21T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655324#M239363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use both, to look at the filestamp protects you if youre script runs on a problem for a houre or youre qv-service is down and on the next run there are two files.&lt;/P&gt;&lt;P&gt;CSV-Files use lot of space, if you dont use it any more you can at it to a compressed filecontainer. With execute you can use some applications like seven zip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 12:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655324#M239363</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2014-09-21T12:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655325#M239364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You find some code in the help of "for each ... next" , "filetime" and "execute"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 12:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655325#M239364</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2014-09-21T12:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655326#M239365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alltxtfiles:&lt;/P&gt;&lt;P&gt;load distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; FileName() as fn,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FileTime() as ft&lt;/P&gt;&lt;P&gt;FROM *.csv;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lasttxtfile:&lt;/P&gt;&lt;P&gt;First 1&lt;/P&gt;&lt;P&gt;load fn as lastfn, ft as lastft&lt;/P&gt;&lt;P&gt;Resident alltxtfiles&lt;/P&gt;&lt;P&gt;order by ft desc;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // desc for last, asc for sirst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 15:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655326#M239365</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-21T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to take latest csv file from the folder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655327#M239366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can read files from the directory and check the latest date/time with the function - filetime( 'file' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 16:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-latest-csv-file-from-the-folder/m-p/655327#M239366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-21T16:12:32Z</dc:date>
    </item>
  </channel>
</rss>

