<?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 Grabbing One File per Day in a Data Dump Folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grabbing-One-File-per-Day-in-a-Data-Dump-Folder/m-p/755544#M1029248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Qlikkers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're having to pull the 1st file for the day in a data dump folder. We're using the current syntax for the path to get all of the files: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Common\SAPReports\Sales\SALESREPORT_****2015*.xls] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, they're specified by full date and time. But, we're currently only interested in 2015. Sometimes, the subsequent file dumped out for the day (often more than one file per day) won't contain a column or two from the first spreadsheet of the day. This is obviously an issue. Can someone please help me please grab just the files that are dumped between 3:00AM and 3:37AM for &lt;EM&gt;each&lt;/EM&gt; day? I hope the below screenshot will clarify. There are other files other than spreadsheets in the below folder as well (FYI):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77254_pastedImage_251.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2015 00:15:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-06T00:15:56Z</dc:date>
    <item>
      <title>Grabbing One File per Day in a Data Dump Folder</title>
      <link>https://community.qlik.com/t5/QlikView/Grabbing-One-File-per-Day-in-a-Data-Dump-Folder/m-p/755544#M1029248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Qlikkers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're having to pull the 1st file for the day in a data dump folder. We're using the current syntax for the path to get all of the files: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Common\SAPReports\Sales\SALESREPORT_****2015*.xls] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, they're specified by full date and time. But, we're currently only interested in 2015. Sometimes, the subsequent file dumped out for the day (often more than one file per day) won't contain a column or two from the first spreadsheet of the day. This is obviously an issue. Can someone please help me please grab just the files that are dumped between 3:00AM and 3:37AM for &lt;EM&gt;each&lt;/EM&gt; day? I hope the below screenshot will clarify. There are other files other than spreadsheets in the below folder as well (FYI):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77254_pastedImage_251.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 00:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grabbing-One-File-per-Day-in-a-Data-Dump-Folder/m-p/755544#M1029248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T00:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grabbing One File per Day in a Data Dump Folder</title>
      <link>https://community.qlik.com/t5/QlikView/Grabbing-One-File-per-Day-in-a-Data-Dump-Folder/m-p/755545#M1029249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obviously, you can't apply any advanced logic if you load all the files at once using a wildcard. You can, however, process the files one at a time, using the logic commonly called "DoDir". For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/682083#682083" title="http://community.qlik.com/message/682083#682083"&gt;http://community.qlik.com/message/682083#682083&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or search the community for the keyword "DoDir".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you process files one at a time, you can test for various conditions, like whether the previous date is the same as the current date, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Oleg Troyansky&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Check out my new book &lt;STRONG&gt;QlikView Your Business&lt;/STRONG&gt; - available to pre-order on Amazon!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 01:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grabbing-One-File-per-Day-in-a-Data-Dump-Folder/m-p/755545#M1029249</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-06T01:04:42Z</dc:date>
    </item>
  </channel>
</rss>

