<?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: problem with rank in the set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570511#M548227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also thought it would work the same way but is not q happens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble attaching the test in the forum, so I'm sending a link to the dropbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This same function that returns null in some other selections returns the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw" title="https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw"&gt;https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 18:32:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-12T18:32:00Z</dc:date>
    <item>
      <title>problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570507#M548223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello to all&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm with the following problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have to find the greatest competitors of my client&lt;/P&gt;&lt;P&gt;I am using this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only ({&amp;lt;Group= {"=rank(sum([Ingresso Total] ),Grupo) 1"}&amp;gt;} = Group)&lt;/P&gt;&lt;P&gt;&amp;nbsp; and&lt;/P&gt;&lt;P&gt;only ({&amp;lt;Group= {"=rank(sum([Ingresso Total] ),Grupo) 2"}&amp;gt;} = Group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; it returns me exactly what I seek, I put the two expressions in two variables.&lt;/P&gt;&lt;P&gt;Only then used the vTOPGrupo variables and vTOPGrupo2 respectively&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;Modalidade {'Presencial'}, Group ={$(=$(vTOPGrupo2))} =&amp;gt;} [Total Joined])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The problem is that some groups zeroed return and use the same expression&lt;/P&gt;&lt;P&gt;setting the group name that appears wrong, this way&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;Modalidade {'Presencial'}, Group ={'XXX'} =&amp;gt;} [Total Joined])&lt;/P&gt;&lt;P&gt;it returns the correct value, and I'm seeing the same group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; can someone help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 16:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570507#M548223</guid>
      <dc:creator />
      <dc:date>2014-02-11T16:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570508#M548224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your search expressions like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=rank(sum([Ingresso Total] ),Grupo) 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;don't seem right to me. Are you sure this is how they look and that's it not a typo in your post? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I would have expected something like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=rank(sum([Ingresso Total])) = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BTW, what is &lt;EM&gt;Grupo&lt;/EM&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;"&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;"&gt;In anyway, your search expression doesn't return Group field&amp;nbsp; values, so you can't compare it to a modifier like {'XXX'}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think it would be best if you could upload a small sample application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Stefan&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;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570508#M548224</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-11T18:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570509#M548225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;was a mistake in typing the correct is &lt;/P&gt;&lt;P&gt;only ({&amp;lt;= {Group "= rank (sum ({&amp;lt;Modalidade {'Presencial'}&amp;gt;} = [Total Admission]), Group) = 1"}&amp;gt;} Group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grupo is group in portuguese.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in these variable&lt;/P&gt;&lt;P&gt;vTOPGroup =only ({&amp;lt;= {Group "= rank (sum ({&amp;lt;Modalidade {'Presencial'}&amp;gt;} = [Total Admission]), Group) = 1"}&amp;gt;} Group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i'll return a group field value correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use this variable in that expression&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;Modalidade {'Presencial'}, Group ={$(=$(vTOPGroup))} =&amp;gt;} [Total Admission]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; That return to me the value with misses&amp;nbsp; or null ( only in a few cases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; but if&amp;nbsp; the expression be like this &lt;/P&gt;&lt;P&gt;sum ({&amp;lt;Modalidade {'Presencial'}, Group ={'XXX'} =&amp;gt;} [Total Admission]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;being that vTOPGroup also returns me XXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the poor english is not the strong in my country &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant make a sample because&amp;nbsp; the qvw is too big and the cases only show yourself with a huge base .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 18:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570509#M548225</guid>
      <dc:creator />
      <dc:date>2014-02-11T18:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570510#M548226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still unsure if your expression is correct, but anyway, if &lt;EM&gt;vTopGroup&lt;/EM&gt; returns the correct group e.g. when using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;EM&gt;vTopGroup &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a text box, I think you should write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;=sum ({&amp;lt;Modalidade {'Presencial'}, Group ={'$(vTOPGroup)'} =&amp;gt;} [Total Admission]))&lt;/EM&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;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am assuming you defined your variable with a leading equal sign in variable overview, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 19:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570510#M548226</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-11T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570511#M548227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also thought it would work the same way but is not q happens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble attaching the test in the forum, so I'm sending a link to the dropbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This same function that returns null in some other selections returns the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw" title="https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw"&gt;https://www.dropbox.com/s/x81nz76fr4k0ogt/test.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 18:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570511#M548227</guid>
      <dc:creator />
      <dc:date>2014-02-12T18:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570512#M548228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 23:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570512#M548228</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-14T23:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with rank in the set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570513#M548229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the forms of declare a function in variables and how you put into a set analysis is pretty confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help swuehl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-rank-in-the-set-analysis/m-p/570513#M548229</guid>
      <dc:creator />
      <dc:date>2014-02-17T10:56:47Z</dc:date>
    </item>
  </channel>
</rss>

