<?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 5 Sales in Bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189077#M384393</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;Try&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138118_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.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: 0.0001pt;"&gt;OR &lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.0001pt;"&gt;OR &lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.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>Wed, 21 Sep 2016 04:23:46 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2016-09-21T04:23:46Z</dc:date>
    <item>
      <title>Top 5 Sales in Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189076#M384392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can please guide me how i can show top 5 Product bases on 'Maintenance' Sales &lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;1,985&lt;/P&gt;&lt;P&gt;2,1055,&lt;/P&gt;&lt;P&gt;2,1130&lt;/P&gt;&lt;P&gt;4,1205&lt;/P&gt;&lt;P&gt;5,1272&lt;/P&gt;&lt;P&gt;Attached sample qvw on same.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 04:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189076#M384392</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2016-09-21T04:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Sales in Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189077#M384393</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;Try&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138118_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.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: 0.0001pt;"&gt;OR &lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.0001pt;"&gt;OR &lt;/P&gt;&lt;P style="margin-bottom: 0.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: 0.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>Wed, 21 Sep 2016 04:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189077#M384393</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-09-21T04:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Sales in Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189078#M384394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138106_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show single value like wither H OR I Then use &lt;STRONG&gt;FirstSortedOrder&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 06:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189078#M384394</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-21T06:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Sales in Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189079#M384395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need do top&amp;nbsp; 5 product in in 2nd expression .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in&amp;nbsp; 'Maintenance' Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Maintenance'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; in this expression&amp;nbsp; value I need to consider for top 5 product&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189079#M384395</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2016-09-21T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Sales in Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189080#M384396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All and I have achieved as expected&amp;nbsp; by writing below expression.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;=if(Aggr(rank(sum({&amp;lt;[Type]={'FIiled1',&lt;BR /&gt;'FIiled2', FIiled3' }&amp;gt;&amp;nbsp; Sales)/count(DISTINCT ID)),[ Product&lt;BR /&gt;Line]) &amp;lt;=10,&lt;BR /&gt;sum({&amp;lt;[Type]={ 'FIiled2',&lt;BR /&gt;FIiled3' }&amp;gt;} Sales count(DISTINCT ID)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Thanks Again!. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 23:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Sales-in-Bar-chart/m-p/1189080#M384396</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2016-09-21T23:41:44Z</dc:date>
    </item>
  </channel>
</rss>

