<?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: Top 10? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147114#M889505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2016 03:54:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-06T03:54:10Z</dc:date>
    <item>
      <title>Top 10?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147112#M889503</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;IMG alt="Pivot Table.png" class="jive-image image-1" src="/legacyfs/online/136488_Pivot Table.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone tell me how ranked top 10 companies according to the selected best sales year?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147112#M889503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147113#M889504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/63429"&gt;Top 10 Rank and Dimension Limits?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 03:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147113#M889504</guid>
      <dc:creator />
      <dc:date>2016-09-06T03:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147114#M889505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 03:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147114#M889505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T03:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10?</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147115#M889506</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;&lt;/P&gt;&lt;P style="margin-left: .25in; margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 18.0pt; font-family: 'Courier New'; color: black;"&gt;Ranking Concept:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-family: 'Courier New'; color: black;"&gt;Syntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;rank&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;sum&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: green;"&gt;Investment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #4d0000;"&gt;1&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #4d0000;"&gt;1&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-family: 'Courier New'; color: black;"&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;aggr&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;if&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;Rank&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: purple;"&gt;sum&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: green;"&gt;Investment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;))&amp;lt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #4d0000;"&gt;3&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: green;"&gt;Investment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: green;"&gt;Investment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;) (For calculating Top 3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=if(rank(sum(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: green;"&gt;Investment&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),1,1)=1,'# 1') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;I have a data table which includes the following fields; SystemID, Timestamp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;I want to derive a new field in this table which ranks the Timestamp in ascending grouped by SystemID &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;I'd like to do this in the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;e.g. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;SystemID, Timestamp,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;[Rank]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00001, 01/01/2013 10:00,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00001, 01/01/2013 12:00,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00001, 01/01/2013 12:30,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00002, 01/01/2013 11:00&lt;STRONG&gt;,&amp;nbsp;&amp;nbsp; 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00002, 01/01/2013 12:12,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;00003, 01/02/2013 10:30,&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-family: 'Courier New'; color: black;"&gt;Syntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;SystemID, Timestamp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;if(SystemID=previous(SystemID),peek('Rank')+1,1) as Rank&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;FROM &lt;EM&gt;...mysource...&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;ORDER BY SystemID, Timestamp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 04:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10/m-p/1147115#M889506</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-09-06T04:19:38Z</dc:date>
    </item>
  </channel>
</rss>

