<?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 in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-in-pivot-table/m-p/546155#M204004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brijesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best I could do is to have rank as calculated dimension,&lt;/P&gt;&lt;P&gt;aggr(num(rank(sum(Amount),1)),Dim1)&lt;/P&gt;&lt;P&gt;and place it as the very first dimension, before Dim1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 14:46:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-10T14:46:20Z</dc:date>
    <item>
      <title>Rank in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-pivot-table/m-p/546154#M204003</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 had 3 dimentions in a pivot table; I had used rank(sum(Amount)) expression to get rank; but while I am expanding each column of pivot table; rank is splited based on secondary dimention. It should not be splited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, Rank should be based on 1st dimention only, rest of the dimentions should not be considered while ranking.(See the attached image)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Data is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All suggestions are welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brijesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-pivot-table/m-p/546154#M204003</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2013-12-09T10:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-pivot-table/m-p/546155#M204004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brijesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best I could do is to have rank as calculated dimension,&lt;/P&gt;&lt;P&gt;aggr(num(rank(sum(Amount),1)),Dim1)&lt;/P&gt;&lt;P&gt;and place it as the very first dimension, before Dim1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-pivot-table/m-p/546155#M204004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-10T14:46:20Z</dc:date>
    </item>
  </channel>
</rss>

