<?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: Question on Rank() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183062#M519357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are da man! Worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2016 21:19:40 GMT</pubDate>
    <dc:creator>mikecrengland</dc:creator>
    <dc:date>2016-09-26T21:19:40Z</dc:date>
    <item>
      <title>Question on Rank()</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183060#M519355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a fairly simple bar chart that ranks sales by customer. The expression is a simple sum of sales and I want the rank on the Axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Axis, I'm using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;rank(Aggr(sum({&amp;lt;CompanyGroup = &amp;gt;}BilledAmount),CompanyGroup))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the bar is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sum({&amp;lt;CompanyGroup *= &amp;gt;}BilledAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which works until a company is selected I have the color set up to grey-out the unselected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="193" src="https://community.qlik.com/legacyfs/online/138755_Capture.PNG" style="height: 192.817px; width: 214px; display: block; margin-left: auto; margin-right: auto;" width="214" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the rank goes to 1 when a company is selected and I actually want it to keep its actual rank. I thought the &lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;CompanyGroup = &amp;gt;} would accomplish it, but no luck. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183060#M519355</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2016-09-26T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Rank()</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183061#M519356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Aggr(Rank(Sum({&amp;lt;CompanyGroup = &amp;gt;} BilledAmount)) * Avg(1), CompanyGroup))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183061#M519356</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-26T21:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Rank()</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183062#M519357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are da man! Worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183062#M519357</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2016-09-26T21:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Rank()</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183063#M519358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;Would you mind explaining this &lt;STRONG&gt;*Avg(1) what is this used for ??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183063#M519358</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-09-26T21:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Rank()</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183064#M519359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was not 100% sure if it was needed or not, but just to be safe I added it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-Rank/m-p/1183064#M519359</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-26T21:47:34Z</dc:date>
    </item>
  </channel>
</rss>

