<?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 Rank In Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-In-Pivot-table/m-p/1254792#M859033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Guys,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have a pivot with dates on the top, as groupers, &amp;amp; below them you have paid amounts.&lt;BR /&gt;Something like :&lt;IMG __jive_id="149608" alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149608_Untitled.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have figured out the way to show only top 5 dim based on the Paid Amount, but this top 5 list is on the Total Paid amount(Paid for 2012+paid for 2013....).&lt;BR /&gt;What I want is to have the top 5 dim on the Paid amounts of a single year(say 2015).&lt;BR /&gt;So the pivot is as displayed but the top 5 dim are based on the top 5 paid amounts for 2015 &amp;amp; not the total paid amounts.&lt;BR /&gt;Formula used for the top 5 is:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=aggr(if(rank(sum(&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;paidamount&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;))&amp;lt;6,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;dim&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;, 'Other'),&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;Field1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;dim&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //dim is ranked on the paidamount &amp;amp; aggregated by Field1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please advise.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Rank In Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-In-Pivot-table/m-p/1254792#M859033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Guys,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have a pivot with dates on the top, as groupers, &amp;amp; below them you have paid amounts.&lt;BR /&gt;Something like :&lt;IMG __jive_id="149608" alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149608_Untitled.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have figured out the way to show only top 5 dim based on the Paid Amount, but this top 5 list is on the Total Paid amount(Paid for 2012+paid for 2013....).&lt;BR /&gt;What I want is to have the top 5 dim on the Paid amounts of a single year(say 2015).&lt;BR /&gt;So the pivot is as displayed but the top 5 dim are based on the top 5 paid amounts for 2015 &amp;amp; not the total paid amounts.&lt;BR /&gt;Formula used for the top 5 is:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=aggr(if(rank(sum(&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;paidamount&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;))&amp;lt;6,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;dim&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;, 'Other'),&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;Field1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;dim&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //dim is ranked on the paidamount &amp;amp; aggregated by Field1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please advise.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-In-Pivot-table/m-p/1254792#M859033</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank In Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-In-Pivot-table/m-p/1254793#M859034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=KCPKNYWmb5g" title="https://www.youtube.com/watch?v=KCPKNYWmb5g"&gt;https://www.youtube.com/watch?v=KCPKNYWmb5g&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 12:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-In-Pivot-table/m-p/1254793#M859034</guid>
      <dc:creator>beck_bakytbek</dc:creator>
      <dc:date>2017-01-16T12:36:29Z</dc:date>
    </item>
  </channel>
</rss>

