<?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 TOP N in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466305#M174254</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 compare top N sales by year, in my dimension i put Month and in my expression i have this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Sales={"=&lt;/P&gt;&lt;P&gt;rank(&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={'$(vMaxYear)'} &amp;gt;}number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&amp;lt;N"}, &lt;/P&gt;&lt;P&gt;year=,month=, &lt;/P&gt;&lt;P&gt;year={'$(vMaxYea)'},&lt;/P&gt;&lt;P&gt;&amp;gt;}&amp;nbsp; number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i check (i created straight table with all sales store by expression desc and select year and month ) i don't have same result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, Any idea ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emteam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2012 14:03:50 GMT</pubDate>
    <dc:creator>emteam162</dc:creator>
    <dc:date>2012-12-26T14:03:50Z</dc:date>
    <item>
      <title>TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466305#M174254</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 compare top N sales by year, in my dimension i put Month and in my expression i have this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Sales={"=&lt;/P&gt;&lt;P&gt;rank(&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={'$(vMaxYear)'} &amp;gt;}number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&amp;lt;N"}, &lt;/P&gt;&lt;P&gt;year=,month=, &lt;/P&gt;&lt;P&gt;year={'$(vMaxYea)'},&lt;/P&gt;&lt;P&gt;&amp;gt;}&amp;nbsp; number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i check (i created straight table with all sales store by expression desc and select year and month ) i don't have same result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, Any idea ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emteam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 14:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466305#M174254</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2012-12-26T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466306#M174255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any IDEAS????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emteam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 15:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466306#M174255</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2012-12-26T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466307#M174256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emteam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not understand your expression,.but you can get the top n records by creating a variable and use that variable in slider object..The process is 1.create variable.2.create slider object 3. In the slider object propertes ,In the general tab in the data option in place of selecting field ,select the variables option, in that select the variable you have created and adjust the scale according to your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps &lt;/P&gt;&lt;P&gt;you&lt;/P&gt;&lt;P&gt;regards ramesh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 19:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466307#M174256</guid>
      <dc:creator />
      <dc:date>2012-12-26T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466308#M174257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rameshmca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;I explain what i want : i will create line chart to have only top 10 costumer&lt;/P&gt;&lt;P&gt; in my dimension i have Month and im my expression i have this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;CostumerID={"=&lt;/P&gt;&lt;P&gt;rank( sum({&amp;lt;year={'$(vMaxYear)'} &amp;gt;}amount),costumerID)&amp;lt;Top10"}, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year={'$(vMaxYea)'},&lt;/P&gt;&lt;P&gt;&amp;gt;}&amp;nbsp; amount)&lt;/P&gt;&lt;P&gt;i have this&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 294px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="22" width="98"&gt;Month&lt;/TD&gt;&lt;TD width="98"&gt;2012&lt;/TD&gt;&lt;TD width="98"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; 2011&lt;BR /&gt; &lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt; TOTAL&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;4 429&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;"&gt;8 998&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Janv&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;638&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;7430&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Fev&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;891&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;994&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Mars&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;156&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;166&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Avril&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1 499&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;167&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;May&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1 245&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;241&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Juin&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i make selection in month for exemple i select Jan i have this result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" width="64"&gt;Month&lt;/TD&gt;&lt;TD width="64"&gt;2012&lt;/TD&gt;&lt;TD width="64"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; 2011&lt;BR /&gt; &lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;738&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;"&gt;8 430&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Janv&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;738&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;8430&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is not same result i have in the first table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be my expression is false i can't explain difference the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emteam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 01:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466308#M174257</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2012-12-27T01:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466309#M174258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, Any idea ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 16:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-N/m-p/466309#M174258</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2012-12-27T16:21:03Z</dc:date>
    </item>
  </channel>
</rss>

