<?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: aggr + rank + set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935753#M467931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This way, only agents that has more than 3 surveys gets rank, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But it still considering those who has less then 3 surveys..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 13:25:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-08T13:25:44Z</dc:date>
    <item>
      <title>aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935744#M467922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I've been struggling about this problem for long time, maybe someone can help. it's a hard one to explain but i'll try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to build a table that ranks agents by their performance in "main measure" and presents the best 5.&lt;/P&gt;&lt;P&gt;I'm using the expression : aggr(rank(SCORE),agent) and filtering only agent that has rank lower or equal to 5. &lt;/P&gt;&lt;P&gt;In addition, I want to present score and rank of another measure (scores in surveys) for these 5 agents . However, agents that has less than 3 surveys in the period chosen, shouldn't be considered in the rank. &lt;/P&gt;&lt;P&gt;F&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or example, if there are 2 agents: first one got average of 100 with 2 surveys and second got 90 with 3 surveys, the first one &lt;/SPAN&gt;won't&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; get any rank and the second will get the first place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I've tried this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;aggr(rank(avg(SCORE)),if(count(NumOfSurveys)&amp;gt;=3,agent)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But i get no results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I thought of using Set Analysis but haven't figure out how &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Does someone has an idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Nathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 08:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935744#M467922</guid>
      <dc:creator />
      <dc:date>2015-10-08T08:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935745#M467923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you trying to use this expression? In a text box object or a straight or pivot table? If you are using this in a straight or pivot table what is your dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935745#M467923</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-08T13:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935746#M467924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share sample data qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935746#M467924</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935747#M467925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a straight table. The dimension is Agents (the top 5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935747#M467925</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935748#M467926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nadav, maybe with this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;aggr(&lt;SPAN style="font-size: 10pt;"&gt;if(count(NumOfSurveys)&amp;gt;=3, &lt;/SPAN&gt;rank(avg(SCORE))),agent)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935748#M467926</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935749#M467927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it is a protected network.. can't export anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935749#M467927</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935750#M467928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nadav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Maybe try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;count(NumOfSurveys),agent)&amp;gt;=3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;aggr(rank(avg(SCORE))&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,agent)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935750#M467928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T13:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935751#M467929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get error in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935751#M467929</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935752#M467930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101433_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935752#M467930</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935753#M467931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This way, only agents that has more than 3 surveys gets rank, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But it still considering those who has less then 3 surveys..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935753#M467931</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935754#M467932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no results &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935754#M467932</guid>
      <dc:creator />
      <dc:date>2015-10-08T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935755#M467933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a simple sample with this script:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;agent, NumOfSurveys, SCORE&lt;/P&gt;&lt;P&gt;1,1,8&lt;/P&gt;&lt;P&gt;1,2,9&lt;/P&gt;&lt;P&gt;2,1,3&lt;/P&gt;&lt;P&gt;2,2,4&lt;/P&gt;&lt;P&gt;2,3,5&lt;/P&gt;&lt;P&gt;3,1,5&lt;/P&gt;&lt;P&gt;3,2,4&lt;/P&gt;&lt;P&gt;3,3,5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;agent as dimension and this expression:&lt;/P&gt;&lt;P&gt;=aggr(rank(avg({&amp;lt;agent={"=count(NumOfSurveys)&amp;gt;=3"}&amp;gt;} SCORE)), agent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101446" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101446_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935755#M467933</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935756#M467934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. it works now!! !&lt;/P&gt;&lt;P&gt;I only missed the equal sign before the count func.&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935756#M467934</guid>
      <dc:creator />
      <dc:date>2015-10-08T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: aggr + rank + set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935757#M467935</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;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;aggr(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;rank(avg(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;agent = {"=count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;NumOfSurveys&lt;/SPAN&gt;)&amp;gt;=3"}&amp;gt;}&lt;/SPAN&gt;SCORE)),agent)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-rank-set-analysis/m-p/935757#M467935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T14:40:16Z</dc:date>
    </item>
  </channel>
</rss>

