<?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: Ranking position on text box filtering in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-position-on-text-box-filtering/m-p/1083919#M360972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Rank(Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Dim1&amp;gt;}&lt;/SPAN&gt;Value)/Sum(TOTAL &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Dim1&amp;gt;}&lt;/SPAN&gt; Value)), [Dim1])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111536_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 17:13:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-13T17:13:54Z</dc:date>
    <item>
      <title>Ranking position on text box filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-position-on-text-box-filtering/m-p/1083918#M360971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted a similar question some time ago. The issue is similar but with a variation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display in a text box the ranking of the value in a dimension against the others also when the value in that dimension is filtered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suposing the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim1, Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c, 45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; d, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the right ranking positions with the expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Aggr(Rank(Sum(Value)/Sum(Total Value)), [Dim1])&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111515_rank1.png" style="height: 155px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;the problem appears when I filter the value on Dim1 (which is mandatory):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/111516_rank2.png" style="height: 122px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;"B" should be the third as seen before, but as I filter over it, it's the only value and the rankig says it's the first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any one know how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 15:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-position-on-text-box-filtering/m-p/1083918#M360971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-13T15:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking position on text box filtering</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-position-on-text-box-filtering/m-p/1083919#M360972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Rank(Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Dim1&amp;gt;}&lt;/SPAN&gt;Value)/Sum(TOTAL &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Dim1&amp;gt;}&lt;/SPAN&gt; Value)), [Dim1])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111536_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 17:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-position-on-text-box-filtering/m-p/1083919#M360972</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-13T17:13:54Z</dc:date>
    </item>
  </channel>
</rss>

