<?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/1727356#M724092</link>
    <description>&lt;P&gt;Thanks Sunny&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 13:53:09 GMT</pubDate>
    <dc:creator>shruthibk</dc:creator>
    <dc:date>2020-07-13T13:53:09Z</dc:date>
    <item>
      <title>Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727259#M724086</link>
      <description>&lt;P&gt;Hi, We have a requirement to highlight the top 5 and bottom 5 values in the pivot table. We can use the rank function to get the top 5 but I am unable to understand how to write this function for the cross table format of the pivot table.&lt;/P&gt;&lt;P&gt;I have attached the screenshot of the sample data with the expected output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shruthibk_1-1594637372402.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37349iE4A1E9C1C7178CE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shruthibk_1-1594637372402.png" alt="shruthibk_1-1594637372402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I searched before posting but did not get the info.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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/1727259#M724086</guid>
      <dc:creator>shruthibk</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/1727262#M724087</link>
      <description>&lt;P&gt;Do you have any other dimension in pivot table?&amp;nbsp; If so how would you want to show Top5?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 10:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727262#M724087</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-13T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727267#M724088</link>
      <description>&lt;P&gt;&amp;nbsp;I don't have any other dimension, I just need to highlight the top5 and bottom 5 values.&lt;/P&gt;&lt;P&gt;in the attachment, i have highlighted the top 5 in green and bottom 5 in the amber color the same way I want to show.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727267#M724088</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2020-07-13T11:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727281#M724089</link>
      <description>&lt;P&gt;You might have to use Aggr() function here&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aggr(If(Rank(TOTAL Sum(Measure)) &amp;lt; 6, Green(), If(Rank(TOTAL -Sum(Measure)) &amp;lt; 6, Yellow())), Maanger, Category)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727281#M724089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-13T11:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727283#M724090</link>
      <description>&lt;P&gt;Assuming you have two dimensions of which one is dragged to column. You can write the below expression in background color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you have Sum(Value) as your expression&lt;/P&gt;&lt;P&gt;=if(sum(Value)&amp;gt;= max(total aggr(sum(Value),&lt;STRONG&gt;Category,Name&lt;/STRONG&gt;),4),green(),&lt;BR /&gt;if(sum(Value)&amp;lt;= min(total aggr(sum(Value),&lt;STRONG&gt;Category,Name&lt;/STRONG&gt;),4),red()))&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727283#M724090</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-13T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727285#M724091</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; gotcha!!!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 11:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727285#M724091</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-13T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727356#M724092</link>
      <description>&lt;P&gt;Thanks Sunny&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 13:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Pivot-table/m-p/1727356#M724092</guid>
      <dc:creator>shruthibk</dc:creator>
      <dc:date>2020-07-13T13:53:09Z</dc:date>
    </item>
  </channel>
</rss>

