<?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: Top 3 sales in Line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604637#M546237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I think u need to create an expression in such a way that nothing is selected&amp;nbsp; change ur expression to select 3 with rank funciton.&lt;/P&gt;&lt;P&gt;for example if u have&amp;nbsp; Year, Quarter, Month&amp;nbsp; Date.&lt;/P&gt;&lt;P&gt;Expression 1: select the top 3 values when year, quarter , date and month writing IF conditions. with rank&amp;lt;=3 expression&lt;/P&gt;&lt;P&gt;Second. if they select anything from calendar try to&amp;nbsp; display all the values with regualt expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still u need some help post with a&amp;nbsp; sample QVW file with what&amp;nbsp; selections u want to display top 3&amp;nbsp; by default .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 19:23:54 GMT</pubDate>
    <dc:creator>shree909</dc:creator>
    <dc:date>2014-03-20T19:23:54Z</dc:date>
    <item>
      <title>Top 3 sales in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604636#M546236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Quarter&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;q1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;HP&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;q2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Apple&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;q3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cisco&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;q4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;dell&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sony&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;299&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;....&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;please find the sample data&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;There are almost 40 rows in my table &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My dimensions will be quarter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I wanted to create a line chart where in line for one customer based on sales should be default and I need 3 top Customers lines to be displayed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;please help me in creating Expressions for top 3 Customers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 19:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604636#M546236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 sales in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604637#M546237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I think u need to create an expression in such a way that nothing is selected&amp;nbsp; change ur expression to select 3 with rank funciton.&lt;/P&gt;&lt;P&gt;for example if u have&amp;nbsp; Year, Quarter, Month&amp;nbsp; Date.&lt;/P&gt;&lt;P&gt;Expression 1: select the top 3 values when year, quarter , date and month writing IF conditions. with rank&amp;lt;=3 expression&lt;/P&gt;&lt;P&gt;Second. if they select anything from calendar try to&amp;nbsp; display all the values with regualt expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still u need some help post with a&amp;nbsp; sample QVW file with what&amp;nbsp; selections u want to display top 3&amp;nbsp; by default .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 19:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604637#M546237</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2014-03-20T19:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 sales in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604638#M546238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use calculated dimension like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(Rank(Sum(Sales))&amp;lt;=3,Country),Country)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 20:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604638#M546238</guid>
      <dc:creator />
      <dc:date>2014-03-20T20:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 sales in Line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604639#M546239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to show TOP 3&amp;nbsp;&amp;nbsp; Customers for each Quarter... use below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Aggr(Rank(SUM(Sales),4),Customer, Quarter)&amp;lt;=3, Quarter)&lt;/P&gt;&lt;P&gt;IF(Aggr(Rank(SUM(Sales),4),Customer, Quarter)&amp;lt;=3, Customer)&lt;/P&gt;&lt;P&gt;Select Suppress When Value is NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 20:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-sales-in-Line-chart/m-p/604639#M546239</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-20T20:37:12Z</dc:date>
    </item>
  </channel>
</rss>

