<?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 help needed on rank() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959293#M951556</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;Hope all are doing good..&lt;/P&gt;&lt;P&gt;i need help on regarding rank().&lt;/P&gt;&lt;P&gt;i have &lt;STRONG&gt;month,sales,country&lt;/STRONG&gt; fields and in a line chart i need to show top 5 countries sales(5 lines) against month dimension. &lt;/P&gt;&lt;P&gt;for first expression i need to show top country sales over month and for second exp i need to show second top country sales like this i need to display for top 5 countries.&lt;/P&gt;&lt;P&gt;please help me with the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Dec 2015 14:05:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-06T14:05:00Z</dc:date>
    <item>
      <title>help needed on rank()</title>
      <link>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959293#M951556</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;Hope all are doing good..&lt;/P&gt;&lt;P&gt;i need help on regarding rank().&lt;/P&gt;&lt;P&gt;i have &lt;STRONG&gt;month,sales,country&lt;/STRONG&gt; fields and in a line chart i need to show top 5 countries sales(5 lines) against month dimension. &lt;/P&gt;&lt;P&gt;for first expression i need to show top country sales over month and for second exp i need to show second top country sales like this i need to display for top 5 countries.&lt;/P&gt;&lt;P&gt;please help me with the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Nani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 14:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959293#M951556</guid>
      <dc:creator />
      <dc:date>2015-12-06T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on rank()</title>
      <link>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959294#M951557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you want to rank after total sales, not per month (latter should not work really good in a line chart).&lt;/P&gt;&lt;P&gt;Use month field as 1. dimension, then country field as second dimension and as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;country = {"=Rank(Sum(sales))&amp;lt;=5"}&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 14:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959294#M951557</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-06T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on rank()</title>
      <link>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959295#M951558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks swuehl for the solution.your expression fulfilled my requirement.&lt;/P&gt;&lt;P&gt;thanks for correcting me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 15:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-needed-on-rank/m-p/959295#M951558</guid>
      <dc:creator />
      <dc:date>2015-12-06T15:08:35Z</dc:date>
    </item>
  </channel>
</rss>

