<?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 filename() doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228725#M80729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at ALL,&lt;/P&gt;&lt;P&gt;in this case:&lt;/P&gt;&lt;P&gt;or each EXT in '*.qvd'&lt;BR /&gt; for each FILE in filelist('..\10' &amp;amp; EXT)&lt;BR /&gt; load&lt;BR /&gt;FileName("'$(FILE)'") as get_files&lt;BR /&gt; autogenerate 1;&lt;BR /&gt; next FILE&lt;BR /&gt;&lt;BR /&gt;next EXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the field get_files is empty. I checked the LOG and All is correct. Why?&lt;/P&gt;&lt;P&gt;the qvd file exists but the name do not appears. I tried to use&lt;/P&gt;&lt;P&gt;filesize() function and in this case the foreach work perfectly... why?&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;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2009 18:41:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-30T18:41:01Z</dc:date>
    <item>
      <title>filename() doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228725#M80729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at ALL,&lt;/P&gt;&lt;P&gt;in this case:&lt;/P&gt;&lt;P&gt;or each EXT in '*.qvd'&lt;BR /&gt; for each FILE in filelist('..\10' &amp;amp; EXT)&lt;BR /&gt; load&lt;BR /&gt;FileName("'$(FILE)'") as get_files&lt;BR /&gt; autogenerate 1;&lt;BR /&gt; next FILE&lt;BR /&gt;&lt;BR /&gt;next EXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the field get_files is empty. I checked the LOG and All is correct. Why?&lt;/P&gt;&lt;P&gt;the qvd file exists but the name do not appears. I tried to use&lt;/P&gt;&lt;P&gt;filesize() function and in this case the foreach work perfectly... why?&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;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 18:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228725#M80729</guid>
      <dc:creator />
      <dc:date>2009-10-30T18:41:01Z</dc:date>
    </item>
    <item>
      <title>filename() doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228726#M80730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use single quotes around FILE and try that.&lt;/P&gt;&lt;P&gt;For each EXT in '*.qvd'&lt;BR /&gt; for each FILE in filelist('..\10\' &amp;amp; EXT)&lt;/P&gt;&lt;P&gt;f1:&lt;BR /&gt; load '$(FILE)' as get_files1 autogenerate 1;&lt;/P&gt;&lt;P&gt;f2:&lt;BR /&gt; load FileName('$(FILE)') as get_files2 autogenerate 1;&lt;/P&gt;&lt;P&gt;next FILE&lt;BR /&gt;next EXT&lt;/P&gt;&lt;P&gt;Check contents of get_files1 and get_files2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 18:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228726#M80730</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-10-30T18:54:43Z</dc:date>
    </item>
    <item>
      <title>filename() doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228727#M80731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;please now the field contains all path but I just need a name of file.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;the field get_field shows:&lt;/P&gt;&lt;P&gt;c:\path\path\myfile.qvd&lt;/P&gt;&lt;P&gt;I need to show in field just "myfile.qvd"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 19:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228727#M80731</guid>
      <dc:creator />
      <dc:date>2009-10-30T19:36:38Z</dc:date>
    </item>
    <item>
      <title>filename() doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228728#M80732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use:&lt;/P&gt;&lt;P&gt;load subfield('$(FILE)' , '\', -1) as get_files autogenerate 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 19:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228728#M80732</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-10-30T19:39:26Z</dc:date>
    </item>
    <item>
      <title>filename() doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228729#M80733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see also FILEBASENAME() and FILEEXTENSION() (QlikView Help)!&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 19:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filename-doesn-t-work/m-p/228729#M80733</guid>
      <dc:creator />
      <dc:date>2009-10-30T19:41:18Z</dc:date>
    </item>
  </channel>
</rss>

