<?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 Ranked table averages in comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranked-table-averages-in-comparison/m-p/298557#M1186214</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;I have countries and sales amounts (per sales representative) and showing a table for top 25 salesman in each specific country and then take averages of it. I am using straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salesrep Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =IF(AGGR(RANK (Total(sum(sales))),[Salesrep Name])&amp;lt;=25,sum(sales ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also displayed the averages at the last row at above mentioned straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to use this (only top 25 salesmen's) average and compare it with individual salesman performance using line charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best way you recommend? When I wanted to use the above expression in the chart; it is trying to bring in whole chunk of records. I want it (averages only) to be represented with 1 single line which will be used to compare individual sales person's performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2011 05:52:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-29T05:52:47Z</dc:date>
    <item>
      <title>Ranked table averages in comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Ranked-table-averages-in-comparison/m-p/298557#M1186214</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;I have countries and sales amounts (per sales representative) and showing a table for top 25 salesman in each specific country and then take averages of it. I am using straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salesrep Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =IF(AGGR(RANK (Total(sum(sales))),[Salesrep Name])&amp;lt;=25,sum(sales ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also displayed the averages at the last row at above mentioned straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to use this (only top 25 salesmen's) average and compare it with individual salesman performance using line charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best way you recommend? When I wanted to use the above expression in the chart; it is trying to bring in whole chunk of records. I want it (averages only) to be represented with 1 single line which will be used to compare individual sales person's performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 05:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranked-table-averages-in-comparison/m-p/298557#M1186214</guid>
      <dc:creator />
      <dc:date>2011-09-29T05:52:47Z</dc:date>
    </item>
  </channel>
</rss>

