<?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: Select Top Five Files but what about spaces? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800841#M282647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;btw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression returns the correct result and shows me the 5 files, however it does not select them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 10:59:18 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2015-02-13T10:59:18Z</dc:date>
    <item>
      <title>Select Top Five Files but what about spaces?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800840#M282646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression used in a Select in Field to Select the 5 biggest files based on File Size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'(' &amp;amp; CONCAT(IF(AGGR(RANK(SUM(Size)),[Full Path])&amp;lt;=5,[Full Path]),'|') &amp;amp;')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however it does not work, I believe it's because there are spaces in the Full Path name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I add to the above expression to resolve it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800840#M282646</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2015-02-13T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select Top Five Files but what about spaces?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800841#M282647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;btw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression returns the correct result and shows me the 5 files, however it does not select them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 10:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800841#M282647</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2015-02-13T10:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select Top Five Files but what about spaces?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800842#M282648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you need each value wrapping in single/double-quotes, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'(' &amp;amp; chr(39) CONCAT(IF(AGGR(RANK(SUM(Size)),[Full Path])&amp;lt;=5,[Full Path]), chr(39) &amp;amp; '|' &amp;amp; chr(39)) &amp;amp; chr(39) &amp;amp;')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 13:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800842#M282648</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-13T13:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select Top Five Files but what about spaces?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800843#M282649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking of that too but it does not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 13:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800843#M282649</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2015-02-13T13:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select Top Five Files but what about spaces?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800844#M282650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I just replaced CHR(39) with CHR(34)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the working Expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='(' &amp;amp; chr(34) &amp;amp; CONCAT(IF(AGGR(RANK(SUM(Size)),[Full Path])&amp;lt;=5,[Full Path]), chr(34) &amp;amp; '|' &amp;amp; chr(34)) &amp;amp; chr(34) &amp;amp;')'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 13:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Top-Five-Files-but-what-about-spaces/m-p/800844#M282650</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2015-02-13T13:36:27Z</dc:date>
    </item>
  </channel>
</rss>

