<?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: Rank, aggr? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296667#M110029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two calculated dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(rank(Random)&amp;nbsp;&amp;nbsp; &amp;lt;=3,Person_ID),Person_ID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(rank(Timestamp)&amp;lt;=5,Timestamp),Person_ID,Timestamp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 22:15:45 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-05-13T22:15:45Z</dc:date>
    <item>
      <title>Rank, aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296666#M110028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one table there are the person_IDs and timestamps stored. I have created a new table there I give for every single person_ID a random number.&lt;/P&gt;&lt;P&gt;For my result I want to have an pivottable with the 3 person_IDs that has highest random number and for evey person_ID only 5 highest timestamps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the excel-file with example-data to illustrate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone could help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liivi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 05:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296666#M110028</guid>
      <dc:creator />
      <dc:date>2011-05-13T05:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rank, aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296667#M110029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two calculated dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(rank(Random)&amp;nbsp;&amp;nbsp; &amp;lt;=3,Person_ID),Person_ID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(rank(Timestamp)&amp;lt;=5,Timestamp),Person_ID,Timestamp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 22:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296667#M110029</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-13T22:15:45Z</dc:date>
    </item>
    <item>
      <title>Rank, aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296668#M110030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanx a lot!! It worked fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liivi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 12:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-aggr/m-p/296668#M110030</guid>
      <dc:creator />
      <dc:date>2011-05-16T12:39:15Z</dc:date>
    </item>
  </channel>
</rss>

