<?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: LOAD only most current Excel file from list of files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50858#M770321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan - looking like the return to get the epoch piece off the filename is not being returned as a numeric value, as Trace is always returning 0 (only numeric number in comparison).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried without success wrapping num() around it. Wondering if there's a way to simply multiply by 1? I very much appreciate your time/thoughts, sir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMax = 0 (recognized in RangeMax as numeric)&lt;/P&gt;&lt;P&gt;The right side of the expression still not returning as numeric&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Let vMax = RangeMax(vMax, num(Right(subField(vFile, '\', -1), 13)));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2018 11:39:06 GMT</pubDate>
    <dc:creator>schneider2037</dc:creator>
    <dc:date>2018-06-05T11:39:06Z</dc:date>
    <item>
      <title>LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50849#M770312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All:&lt;BR /&gt;Have a data source that is a daily feed of an XLSX whereby the filename is listed with an epoch suffix. I need to somehow load on a daily basis the file with the max of the epoch timestamp. Can't rely on a date stamp because sometimes the files are delayed and come over as a day late.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Figure if I can get to a max of the epoch time, and load ONLY the file that corresponds to that value, then that should resolve any issues with delayed reporting or having to manually change the filename daily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filename examples:&lt;/P&gt;&lt;P&gt;Service_Issue_Calls-Past7days_1528023666940 &amp;lt;--(most current file, the only one I want to load "today")&lt;/P&gt;&lt;P&gt;Service_Issue_Calls-Past7days_1527967390521&lt;/P&gt;&lt;P&gt;Service_Issue_Calls-Past7days_1527967370343&lt;/P&gt;&lt;P&gt;Service_Issue_Calls-Past7days_1527764450215&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I need to create a pathway variable and a filename variable, combined into the LOAD string somewhere, but SUPER new to QV still, and while I've read as many samples online as I can, still struggling. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&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/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50849#M770312</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50850#M770313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code pattern:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vMax = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For Each vFile in FileList('Service_Issue_Calls-Past7days_*')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(vFile, 13));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vFile = 'Service_Issue_Calls-Past7days_' &amp;amp; vMax;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM [$(vFile)] (....);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Adapt to your specific requirements. The file mask in the FileList may need to include a directory path. Assumes a legacy load and would need adaptation to use the lib:// syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 11:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50850#M770313</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-04T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50851#M770314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan D - however, not quite following the "assumes a legacy load and would need adaptation to use the lib:// syntax?"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 11:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50851#M770314</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-04T11:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50852#M770315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview uses a simple file path to file sources. By default, QS uses file connections set up in the app or on the server and pointed to via the lib://connection syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 15:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50852#M770315</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-04T15:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50853#M770316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understood. Needs some fiddling with, but looks like this will work in the use case I'm building.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 16:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50853#M770316</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-04T16:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50854#M770317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan D - a bit premature on my part working through the directory path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\Ftvqv002\d\From_Linuxmnt is where the files "live."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no matter the tweaking can't get vFile to be anything other than 'Service_Issue_Calls-Past7days_0.XLXS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Below is what I'm running right now (again...I need to emphasize that I'm about as big of a rookie on this as you can imagine! I feel I'm missing the forest for the trees in the way)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;**************************************************************************************************************************&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vMax = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For Each vFile in FileList('\\Ftvqv002\d\From_Linuxmnt\Service_Issue_Calls-Past7days_*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(vFile, 13));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let vFile = 'Service_Issue_Calls-Past7days_' &amp;amp; vMax;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ServiceIssuesCalls:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; ISSUE_ID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISSUE_CATEGORY, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMMENT_TYPE, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_ID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_ACTION, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_CONTACT_NAME, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_SERVICE_REP, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_COUNT, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(CALL_DATE) As CALL_DATE, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEALER,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISSUE_ID &amp;amp; '|' &amp;amp; CALL_ID As ROW_ID, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(FileName(),'.',1) As FILE_NAME_REFERENCE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(LEFT(RIGHT(FileBaseName(),13),10)) As FILE_EPOCH_TIME &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[[\\Ftvqv002\d\From_Linuxmnt\$(vFile).XLSX]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, header is 1 lines, table is Page1_1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where (ISSUE_CATEGORY) = 'ProductSupport' and Len(CALL_DATE) &amp;gt; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vFile Error.JPG" class="jive-image image-1" src="/legacyfs/online/204300_vFile Error.JPG" style="height: 400px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 19:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50854#M770317</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-04T19:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50855#M770318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Jonathan D - a bit premature on my part working through the directory path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;\\Ftvqv002\d\From_Linuxmnt is where the files "live."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;But no matter the tweaking can't get vFile to be anything other than 'Service_Issue_Calls-Past7days_0.XLXS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Below is what I'm running right now (again...I need to emphasize that I'm about as big of a rookie on this as you can imagine! I feel I'm missing the forest for the trees in the way)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;**************************************************************************************************************************&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vMax = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;For Each vFile in FileList('\\Ftvqv002\d\From_Linuxmnt\Service_Issue_Calls-Past7days_*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(vFile, 13));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Let vFile = 'Service_Issue_Calls-Past7days_' &amp;amp; vMax;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ServiceIssuesCalls:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ISSUE_ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISSUE_CATEGORY,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMMENT_TYPE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_ACTION,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_CONTACT_NAME,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_SERVICE_REP,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL_COUNT,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(CALL_DATE) As CALL_DATE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEALER,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISSUE_ID &amp;amp; '|' &amp;amp; CALL_ID As ROW_ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(FileName(),'.',1) As FILE_NAME_REFERENCE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(LEFT(RIGHT(FileBaseName(),13),10)) As FILE_EPOCH_TIME&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;[[\\Ftvqv002\d\From_Linuxmnt\$(vFile).XLSX]&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(ooxml, embedded labels, header is 1 lines, table is Page1_1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Where (ISSUE_CATEGORY) = 'ProductSupport' and Len(CALL_DATE) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vFile Error.JPG" class="jive-image" src="/legacyfs/online/204301_vFile Error.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 19:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50855#M770318</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-04T19:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50856#M770319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your files have an xlsx extension. That was not clear from your original posting. This line assumes no file extension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM&gt;Let vMax = RangeMax(vMax, Right(vFile, 13));&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Change to this to trim extension before extracting the number:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM&gt;Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13));&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;You could add a trace command after the Let to see what you really got.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM&gt;Trace $(vMax);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;This will show up in the document reload log and the reload progress screen. It is also useful in debug mode.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 05:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50856#M770319</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-05T05:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50857#M770320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Progress of sorts!&lt;/P&gt;&lt;P&gt;*******************************************************************************************&lt;BR /&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vMax = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For Each vFile in FileList('\\Ftvqv002\d\From_Linuxmnt\Service_Issue_Calls-Past7days_*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let vFile = 'Service_Issue_Calls-Past7days_' &amp;amp; vMax;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Trace $(vMax);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[\\Ftvqv002\d\From_Linuxmnt\$(vFile).XLSX]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, header is 1 lines, table is Page1_1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;OK - the log is showing that there's a scan for the 26 files this morning that start with "Service_Issue_Calls-Past7days_*" This is good, but Trace is returning 0. Never used trace before so unsure if the results below are expected (or if there should be "values" returned?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very much appreciate your thoughts, sir. Feel like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the log:&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0056&amp;nbsp; vMax = 0&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0058&amp;nbsp; For Each vFile in FileList('\\Ftvqv002\d\From_Linuxmnt\Service_Issue_Calls-Past7days_*')&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0060&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vMax = RangeMax(vMax, Right(subField(vFile, '\', -1), 13))&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0061&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0062&amp;nbsp; Let vFile = 'Service_Issue_Calls-Past7days_' &amp;amp; vMax&lt;/P&gt;&lt;P&gt;6/5/2018 6:51:49 AM: 0063&amp;nbsp; Trace 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50857#M770320</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-05T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50858#M770321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan - looking like the return to get the epoch piece off the filename is not being returned as a numeric value, as Trace is always returning 0 (only numeric number in comparison).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried without success wrapping num() around it. Wondering if there's a way to simply multiply by 1? I very much appreciate your time/thoughts, sir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMax = 0 (recognized in RangeMax as numeric)&lt;/P&gt;&lt;P&gt;The right side of the expression still not returning as numeric&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Let vMax = RangeMax(vMax, num(Right(subField(vFile, '\', -1), 13)));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50858#M770321</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-05T11:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50859#M770322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake, i think you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Let vMax = RangeMax(vMax, num(Right(subField(vFile, '.', 1), 13)));&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50859#M770322</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-06-05T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD only most current Excel file from list of files</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50860#M770323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan - fantastic! Works like a CHAMP!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-only-most-current-Excel-file-from-list-of-files/m-p/50860#M770323</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-06-05T12:02:29Z</dc:date>
    </item>
  </channel>
</rss>

