<?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 import data when file name matches in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733989#M670240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a * as a wildcard instead of the full file name. The files will be concatenated if the fields have identical names.&lt;/P&gt;&lt;P&gt;So for instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;load .... from 09-2014.qvd;&lt;/SPAN&gt; will become&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;load ... from *.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 10:34:37 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2014-10-01T10:34:37Z</dc:date>
    <item>
      <title>how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733988#M670239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have month wise data in D drive. Say 09-2014,08-2014 and 07-2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get the data into qlikview based on the file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 10:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733988#M670239</guid>
      <dc:creator />
      <dc:date>2014-10-01T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733989#M670240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a * as a wildcard instead of the full file name. The files will be concatenated if the fields have identical names.&lt;/P&gt;&lt;P&gt;So for instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;load .... from 09-2014.qvd;&lt;/SPAN&gt; will become&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;load ... from *.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 10:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733989#M670240</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-10-01T10:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733990#M670241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I don't know your exact purpose, here you have some tools for file management:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know if a file exists or not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if filetime('c:\mydata\my.qvd) then&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //qvd exists&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;else&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //qvd &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;doesn't &lt;/SPAN&gt;exist&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end if&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can go further the filetime function to control which file you want to import or not, depending of its creation timestamp.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you want to have a look in a folder:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Directory;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR Each File in filelist ('.\BUFFER_*.xlsx')&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; '$(File)'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; (ooxml, no labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT File;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maybe your solution needs a combination of all these.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope it helps.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 11:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733990#M670241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T11:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733991#M670242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain the second code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets I have a file name AAA.txt and BBB.txt. can I&amp;nbsp; load each based on the above code??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 11:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733991#M670242</guid>
      <dc:creator />
      <dc:date>2014-10-01T11:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733992#M670243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load with a wildcard (*):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*.txt&lt;/STRONG&gt; will load both files and concatenate the same fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 12:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733992#M670243</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-10-01T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to import data when file name matches</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733993#M670244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you want to load every txt file in this folder, do:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;load ... from *.txt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you need to load both files but you can not asure they exist, do:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if filetime('AAAA.txt') then&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;load * from AAAA.txt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end if&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if filetime('BBBB.txt') then&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;load * from BBBB.txt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-import-data-when-file-name-matches/m-p/733993#M670244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T13:01:55Z</dc:date>
    </item>
  </channel>
</rss>

