<?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: Rank Function with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412532#M427007</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;Please, see the attachement. Is this what you want to get?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank_aggr.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182120_rank_aggr.png" style="height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Nov 2017 19:08:14 GMT</pubDate>
    <dc:creator>Sergey_Shuklin</dc:creator>
    <dc:date>2017-11-04T19:08:14Z</dc:date>
    <item>
      <title>Rank Function with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412531#M427006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to use the variable in rank expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to search the top 5 ranks in date which is less than or equal to&amp;nbsp; vdt ( date passed ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(Rank(Sum(qty))&amp;lt;=5,qty ),&amp;nbsp; (pdate&amp;lt;=vdt)&amp;nbsp; )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(Rank(Sum(qty))&amp;lt;=5,qty ),&amp;nbsp; pdate&amp;nbsp; ) is working fine but I am not able to restrict the pdate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleas suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Milind.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 07:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412531#M427006</guid>
      <dc:creator>milindnikumbh</dc:creator>
      <dc:date>2017-11-04T07:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412532#M427007</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;Please, see the attachement. Is this what you want to get?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank_aggr.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182120_rank_aggr.png" style="height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 19:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412532#M427007</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-04T19:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Function with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412533#M427008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Very helpful . My issue is resolved using this expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 03:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-Function-with-variable/m-p/1412533#M427008</guid>
      <dc:creator>milindnikumbh</dc:creator>
      <dc:date>2017-11-06T03:13:51Z</dc:date>
    </item>
  </channel>
</rss>

