<?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 by Name &amp; amount in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076191#M359002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;[&lt;BR /&gt; ID, Name, Amount&lt;BR /&gt; 1, A,100&lt;BR /&gt; 2, A,200&lt;BR /&gt; 3, A,140&lt;BR /&gt; 4, B, 120&lt;BR /&gt; 5, B, 130&lt;BR /&gt; 6,B, 200 ]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;= &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;Previous&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;), &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;Peek&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #c46200;"&gt;'Rank'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #ca6500;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #ca6500;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Amount&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;desc&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119490_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Mar 2016 12:02:02 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-03-27T12:02:02Z</dc:date>
    <item>
      <title>Rank by Name &amp; amount in script</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076190#M359001</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;&lt;/P&gt;&lt;P&gt;I have sample data set like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID, Name, Amount&lt;/P&gt;&lt;P&gt;1, A,100&lt;/P&gt;&lt;P&gt;2, A,200&lt;/P&gt;&lt;P&gt;3, A,140&lt;/P&gt;&lt;P&gt;4, B, 120&lt;/P&gt;&lt;P&gt;5, B, 130&lt;/P&gt;&lt;P&gt;6,B, 200 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the output like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="border: 0.5pt solid silver; border-image: none; background-color: whitesmoke;" width="64"&gt;&lt;STRONG style="font-family: Calibri;"&gt;&lt;SPAN style="color: #363636;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: silver silver silver #363636; background-color: whitesmoke;" width="64"&gt;&lt;STRONG style="font-family: Calibri;"&gt;&lt;SPAN style="color: #363636;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: silver silver silver #363636; background-color: whitesmoke;" width="64"&gt;&lt;STRONG style="font-family: Calibri;"&gt;&lt;SPAN style="color: #363636;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: silver silver silver #363636; background-color: whitesmoke;" width="64"&gt;&lt;STRONG style="font-family: Calibri;"&gt;&lt;SPAN style="color: #363636;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;200&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;140&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;100&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;200&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;130&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;120&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: #363636; font-family: Calibri;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I want to do this in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 11:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076190#M359001</guid>
      <dc:creator />
      <dc:date>2016-03-27T11:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rank by Name &amp; amount in script</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076191#M359002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;[&lt;BR /&gt; ID, Name, Amount&lt;BR /&gt; 1, A,100&lt;BR /&gt; 2, A,200&lt;BR /&gt; 3, A,140&lt;BR /&gt; 4, B, 120&lt;BR /&gt; 5, B, 130&lt;BR /&gt; 6,B, 200 ]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;= &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;Previous&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;), &lt;/SPAN&gt;&lt;STRONG style="color: #32b92d; font-family: 'Times New Roman','serif';"&gt;Peek&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #c46200;"&gt;'Rank'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #ca6500;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #ca6500;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #f20075;"&gt;Amount&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;desc&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #8c008c; font-family: 'Times New Roman','serif';"&gt;DROP&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: #0076ec;"&gt;Table&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Times New Roman','serif'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: black;"&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119490_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 12:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076191#M359002</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-27T12:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rank by Name &amp; amount in script</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076192#M359003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID, Name, Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, A, 100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, A, 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, A, 140&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4, B, 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5, B, 130&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6, B, 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Name = Peek('Name'), RangeSum(Peek('Rank'), 1), 1) as Rank&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Name, Amount desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119491_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 12:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076192#M359003</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-27T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank by Name &amp; amount in script</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076193#M359004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all. I will apply the same on actual data and will let you know the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 12:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076193#M359004</guid>
      <dc:creator />
      <dc:date>2016-03-27T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rank by Name &amp; amount in script</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076194#M359005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.. Both working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 12:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-by-Name-amount-in-script/m-p/1076194#M359005</guid>
      <dc:creator />
      <dc:date>2016-03-27T12:52:56Z</dc:date>
    </item>
  </channel>
</rss>

