<?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 Load files with datestamp in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-files-with-datestamp/m-p/1818603#M67090</link>
    <description>&lt;P&gt;I am trying to load data form different files.&lt;/P&gt;&lt;P&gt;I use this expression:&lt;/P&gt;&lt;P&gt;Let vFile = 'SS_Core_KPI-1-4G_Attach_SR-' &amp;amp; date(today(), 'YYYY-MM-DD'&amp;amp;'.csv');&lt;/P&gt;&lt;P&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[\\sehan5863asqva3.tcad.telia.se\Qlik QDF DEV\1.Group\3.Applications\11.Bile_Core\8.Import\Felix\$(vFile)]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the filename contains both date and HH-MM. And HH-MM differs from day to day.&lt;/P&gt;&lt;P&gt;How can this be handled?&lt;/P&gt;&lt;P&gt;SE_Core_KPI-1-4G_Attach_SR-2021-06-29-01-00.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Stefan&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 14:48:08 GMT</pubDate>
    <dc:creator>stekol61</dc:creator>
    <dc:date>2021-06-29T14:48:08Z</dc:date>
    <item>
      <title>Load files with datestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Load-files-with-datestamp/m-p/1818603#M67090</link>
      <description>&lt;P&gt;I am trying to load data form different files.&lt;/P&gt;&lt;P&gt;I use this expression:&lt;/P&gt;&lt;P&gt;Let vFile = 'SS_Core_KPI-1-4G_Attach_SR-' &amp;amp; date(today(), 'YYYY-MM-DD'&amp;amp;'.csv');&lt;/P&gt;&lt;P&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[\\sehan5863asqva3.tcad.telia.se\Qlik QDF DEV\1.Group\3.Applications\11.Bile_Core\8.Import\Felix\$(vFile)]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the filename contains both date and HH-MM. And HH-MM differs from day to day.&lt;/P&gt;&lt;P&gt;How can this be handled?&lt;/P&gt;&lt;P&gt;SE_Core_KPI-1-4G_Attach_SR-2021-06-29-01-00.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Stefan&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 14:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-files-with-datestamp/m-p/1818603#M67090</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2021-06-29T14:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load files with datestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Load-files-with-datestamp/m-p/1818714#M67117</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;You could use wildcards to pick up the files and completely disregard the time in the file name.&lt;BR /&gt;Only works if a file is dropped once a day and if you don't really care about the time.&lt;/P&gt;&lt;P&gt;I used&amp;nbsp; the '?' wildcard for the time format in your file name.&lt;/P&gt;&lt;P&gt;LET vFile = 'FileName-' &amp;amp; date(today(), 'YYYY-MM-DD') &amp;amp; '-??-??.xlsx';&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [lib://ConnectionName/$(vFile)]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 22:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-files-with-datestamp/m-p/1818714#M67117</guid>
      <dc:creator>Fred</dc:creator>
      <dc:date>2021-06-29T22:17:37Z</dc:date>
    </item>
  </channel>
</rss>

