<?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 Use Rank function in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-Rank-function-in-Pivot-Table/m-p/474484#M1131630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table where I'm trying to add a Rank column that will Rank the number of Doors Produced by Efficiency Group (the first dimension in the pivot table).&amp;nbsp; I'm using an aggregate function along with the Rank function and can't seem to get it to rank the number by the first dimension groupings.&amp;nbsp; Here are the expressions that I've tried with various results that are incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name], [entity name], shift)&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name])&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name], [entity name])&lt;/P&gt;&lt;P&gt;Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen print of the pivot table.&amp;nbsp; What I would like is for the grouping "Exterior 90 minute" to be ranked as 1 - 5 and then "exterior stock line 1" ranked as 1-2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 17:40:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-21T17:40:13Z</dc:date>
    <item>
      <title>Use Rank function in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Rank-function-in-Pivot-Table/m-p/474484#M1131630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table where I'm trying to add a Rank column that will Rank the number of Doors Produced by Efficiency Group (the first dimension in the pivot table).&amp;nbsp; I'm using an aggregate function along with the Rank function and can't seem to get it to rank the number by the first dimension groupings.&amp;nbsp; Here are the expressions that I've tried with various results that are incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name], [entity name], shift)&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name])&lt;/P&gt;&lt;P&gt;aggr(Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0), [short name], [entity name])&lt;/P&gt;&lt;P&gt;Rank(sum([qty-prod]/[reg-hour] + [ot-hour]),3,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen print of the pivot table.&amp;nbsp; What I would like is for the grouping "Exterior 90 minute" to be ranked as 1 - 5 and then "exterior stock line 1" ranked as 1-2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Rank-function-in-Pivot-Table/m-p/474484#M1131630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T17:40:13Z</dc:date>
    </item>
  </channel>
</rss>

