<?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 Rank over time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203710#M387134</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 want to have a line chart where multiple clients can be selected, and the clients' rank of sum(revenue) is plotted over month. Right now my dimension is Month and Client, and expression is rank(sum(revenue)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I select a client, the rank is 1 on each month. How can I change the expression to correctly express the client's revenue rank &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;in the month&lt;/STRONG&gt;&lt;/SPAN&gt; over time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 18:20:52 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2016-10-05T18:20:52Z</dc:date>
    <item>
      <title>Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203710#M387134</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 want to have a line chart where multiple clients can be selected, and the clients' rank of sum(revenue) is plotted over month. Right now my dimension is Month and Client, and expression is rank(sum(revenue)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I select a client, the rank is 1 on each month. How can I change the expression to correctly express the client's revenue rank &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;in the month&lt;/STRONG&gt;&lt;/SPAN&gt; over time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203710#M387134</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203711#M387135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Sum({&amp;lt;Client&amp;gt;} revenue)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Rank(Sum({1} revenue)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203711#M387135</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203712#M387136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(Sum({&amp;lt;Client&amp;gt;} revenue)) * Avg(1) &lt;/STRONG&gt;correctly states the rank of the client I selected, but it shows every other client as '-'. Is there a way to remove the other clients (not in selection) from the chart? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203712#M387136</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203713#M387137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;RANK&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;ONLY&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 9.0pt; font-family: 'Arial',sans-serif;"&gt;sum(revenue)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203713#M387137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T18:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203714#M387138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this make any difference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(revenue) &amp;gt; 0, Rank(Sum({&amp;lt;Client&amp;gt;} revenue)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203714#M387138</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203715#M387139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203715#M387139</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203716#M387140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this doesn't work. It clears the table/chart completely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203716#M387140</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203717#M387141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203717#M387141</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203718#M387142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(Sum({&amp;lt;Client&amp;gt;} revenue)) * Avg(1)&lt;/STRONG&gt; this works once I convert the straight table to a line chart! I just had to remove the legend because it showed all clients. Also, since higher ranks have lower values (e.g. best rank = 1), is there a way to invert the axis such that a 1 is highest on the chart? Then the line chart will be more intuitive. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203718#M387142</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203719#M387143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread out:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/233846"&gt;line chart order&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203719#M387143</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203720#M387144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers! Also, what does adding avg(1) actually do to the rank? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203720#M387144</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203721#M387145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avg(1) Doesn't do anything to the Rank. It just remove those rows from viewing where the client has not been selected. This is needed because Rank(Sum({&amp;lt;Client&amp;gt;} revenue)) will disregard selection in client field and will show all the clients and you somehow need to delete them. That's where Avg(1) kicks in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203721#M387145</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203722#M387146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you know to use avg(1)? It seems like a completely unrelated function!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203722#M387146</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-05T18:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rank over time</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203723#M387147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you don't want your expression value to change, but still want to show selected values, I try to use Avg(1). I guess it might not be straight forward, but if you use this often, this should become fairly intuitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 19:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-over-time/m-p/1203723#M387147</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T19:05:23Z</dc:date>
    </item>
  </channel>
</rss>

