<?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 Extracting the source data file name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211502#M712523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the use of filename() and filebasename() in the script.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Dec 2010 18:26:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-02T18:26:05Z</dc:date>
    <item>
      <title>Extracting the source data file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211501#M712522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am loading some data from multiple Excel files using the following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for i = 0 to 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONCATENATE LOAD&lt;BR /&gt; [Type],&lt;BR /&gt; [Date],&lt;BR /&gt; [Country],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// XXXXXXX as [Source File Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;BR /&gt;[Data*.xls] (biff, embedded labels, table is data$);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I would need to set up the field (&lt;STRONG&gt;[Source File Name]&lt;/STRONG&gt;) where I would be storing the name of the each source file for each record I am loading.&lt;/P&gt;&lt;P&gt;Any suggestions will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211501#M712522</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:16:51Z</dc:date>
    </item>
    <item>
      <title>Extracting the source data file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211502#M712523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the use of filename() and filebasename() in the script.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211502#M712523</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:26:05Z</dc:date>
    </item>
    <item>
      <title>Extracting the source data file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211503#M712524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works perfectly. Thank you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extracting-the-source-data-file-name/m-p/211503#M712524</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:55:59Z</dc:date>
    </item>
  </channel>
</rss>

