<?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: Highlighting top 3 values in a pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286257#M402697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My original formula was:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But now with the updated formula, I have gone from showing the total to showing the ranking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I cant do a SUM on the field, since there are actual numbers, I need to do a count.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This is what is happening to the column, with the new formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148605_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 16:05:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-06T16:05:35Z</dc:date>
    <item>
      <title>Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286251#M402691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to highlight the highest 3 values in a column within a Pivot table.&amp;nbsp; I know how to do it based on Max and Min Value, but is there a way to do it with the Max3?&amp;nbsp; I have tried the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below formula makes all of the cells red, not just the highest 3&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;= 3),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (255,0,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286251#M402691</guid>
      <dc:creator />
      <dc:date>2017-01-06T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286252#M402692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this (you misplaced the closing parenthesis for Rank() function. It should be before the &amp;lt; sign and not after 3 (or 4 in my case):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Rank(Total Sum([Issue ID (Issue Inventory)])&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;)&lt;/SPAN&gt; &amp;lt; 4, RGB (255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286252#M402692</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T15:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286253#M402693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that helped a lot, but now I am not showing the top Values, I am not sure what the issue is now, any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;4,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (255,0,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This is what is happening with my data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148581_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As you can see, the 395 should not be in red, it should be 510.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286253#M402693</guid>
      <dc:creator />
      <dc:date>2017-01-06T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286254#M402694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create another expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG&gt;Rank&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check what rank is assigned to 510?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286254#M402694</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T15:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286255#M402695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148582_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286255#M402695</guid>
      <dc:creator />
      <dc:date>2017-01-06T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286256#M402696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your expression for Total is not this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum([Issue ID (Issue Inventory)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to rank Total, then use the exact expression you have within Total column&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Total &lt;SPAN style="color: #ff0000;"&gt;'&lt;EM&gt;Change this to whatever you have under Total'&lt;/EM&gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286256#M402696</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T15:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286257#M402697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My original formula was:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue ID (Issue Inventory)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But now with the updated formula, I have gone from showing the total to showing the ranking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I cant do a SUM on the field, since there are actual numbers, I need to do a count.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This is what is happening to the column, with the new formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148605_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 16:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286257#M402697</guid>
      <dc:creator />
      <dc:date>2017-01-06T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286258#M402698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression will be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count([Issue ID (Issue Inventory)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Backgrond expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Rank(Total &lt;SPAN style="color: #ff0000;"&gt;Count&lt;/SPAN&gt;([Issue ID (Issue Inventory)]))&amp;lt;4,RGB (255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 16:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286258#M402698</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top 3 values in a pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286259#M402699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked like a dream!&amp;nbsp; Thank you so much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 16:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highlighting-top-3-values-in-a-pivot/m-p/1286259#M402699</guid>
      <dc:creator />
      <dc:date>2017-01-06T16:20:39Z</dc:date>
    </item>
  </channel>
</rss>

