<?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 aggr question HELP ME!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231056#M82835</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;in this example I whish to write on gauge caption the name of the best PRD, and to find the best PRD disregarding the selection.&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 13:41:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-04T13:41:42Z</dc:date>
    <item>
      <title>aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231056#M82835</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;in this example I whish to write on gauge caption the name of the best PRD, and to find the best PRD disregarding the selection.&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 13:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231056#M82835</guid>
      <dc:creator />
      <dc:date>2010-05-04T13:41:42Z</dc:date>
    </item>
    <item>
      <title>Re. :aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231057#M82836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberta,&lt;/P&gt;&lt;P&gt;You will find the solution of your problem on the attachment.&lt;/P&gt;&lt;P&gt;I hope that will be useful for you.&lt;/P&gt;&lt;P&gt;Martin Favier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 16:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231057#M82836</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-04T16:50:49Z</dc:date>
    </item>
    <item>
      <title>Re. :aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231058#M82837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;Thank you Martin!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 17:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231058#M82837</guid>
      <dc:creator />
      <dc:date>2010-05-04T17:38:29Z</dc:date>
    </item>
    <item>
      <title>Re. :aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231059#M82838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin&lt;/P&gt;&lt;P&gt;Tried to come up with a solution but failed - can't even fully understand your approach - can you elaborate on this?&lt;/P&gt;&lt;P&gt;And - with your obvious skills - look from time to time into the forum? 7 points are not very much?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 19:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231059#M82838</guid>
      <dc:creator />
      <dc:date>2010-05-04T19:23:59Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231060#M82839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juerg,&lt;BR /&gt;&lt;BR /&gt;Here is the detail of my formula with current selections :&lt;BR /&gt;&lt;BR /&gt;subfield(concat(aggr(rank(sum(total &amp;lt;PRD&amp;gt; IMP1)) &amp;amp; '#' &amp;amp; PRD &amp;amp; '#',PRD)),'#',2)&lt;BR /&gt;&lt;BR /&gt;1. &lt;B&gt;sum(total &amp;lt;PRD&amp;gt; IMP1)&lt;/B&gt; // We calculate the sum of IMP1 per PRD, TOTAL allows to work with all PRD included in active selections&lt;/P&gt;&lt;P&gt;2. &lt;B&gt;rank&lt;/B&gt;(sum(total &amp;lt;PRD&amp;gt; IMP1)) &lt;B&gt;&amp;amp; '#' &amp;amp; PRD &amp;amp; '#'&lt;/B&gt; // We sort the PRD with the others and concatenate with "#" and PRD's name&lt;/P&gt;&lt;P&gt;3. &lt;B&gt;aggr&lt;/B&gt;(rank(sum(total &amp;lt;PRD&amp;gt; IMP1)) &amp;amp; '#' &amp;amp; PRD &amp;amp; '#'&lt;B&gt;,PRD)&lt;/B&gt; // We doing this treatment for each PRD&lt;/P&gt;&lt;P&gt;4. &lt;B&gt;concat&lt;/B&gt;(aggr(rank(sum(total &amp;lt;PRD&amp;gt; IMP1)) &amp;amp; '#' &amp;amp; PRD &amp;amp; '#',PRD)) // We concatenate each response and have a result looks like this :&lt;/P&gt;&lt;P style="font-style: italic"&gt;1#PRD A#2#PRD E#&lt;/P&gt;&lt;P&gt;5. &lt;B&gt;subfield&lt;/B&gt;(concat(aggr(rank(sum(total &amp;lt;PRD&amp;gt; IMP1)) &amp;amp; '#' &amp;amp; PRD &amp;amp; '#',PRD))&lt;B&gt;,'#',2)&lt;/B&gt; // We divide the result string for each sharp, and take the second value (PRD A)&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to have been clear and I'll try to look more often the forum &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a good day,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 08:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231060#M82839</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-05T08:18:19Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :aggr question HELP ME!!</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231061#M82840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin for the explanations. Ran quite a few variations on it to see whether it must be that complicated but only your solution worked so far.&lt;/P&gt;&lt;P&gt;See that you started to make lots of points &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 18:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-question-HELP-ME/m-p/231061#M82840</guid>
      <dc:creator />
      <dc:date>2010-05-05T18:45:53Z</dc:date>
    </item>
  </channel>
</rss>

