<?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 Simple: How to get running numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216339#M69675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the built in QV function - RecNo&lt;A id="RecNo" name="RecNo"&gt;&lt;/A&gt;( ). It gives the Record Number, which is sequential.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Load&lt;BR /&gt;&amp;lt;h4&amp;gt;RecNo&lt;A id="RecNo" name="RecNo"&gt;&lt;/A&gt;( ) as SNo,&amp;lt;/h4&amp;gt;&lt;BR /&gt;Name,&lt;BR /&gt;Address&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT&lt;BR /&gt;Name,&lt;BR /&gt;Address&lt;BR /&gt;From TABLE_NAME&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 05:54:21 GMT</pubDate>
    <dc:creator>vupen</dc:creator>
    <dc:date>2010-04-16T05:54:21Z</dc:date>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216338#M69674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;BR /&gt;I new in qlikview programing, I have simple question, how do I get running number for the result and total found&lt;BR /&gt;Sample below:&lt;/P&gt;&lt;P&gt;No Name Address&lt;BR /&gt;1 John Doe Villa No.23&lt;BR /&gt;2 John Smith Ave No.32&lt;BR /&gt;3 James Smith Road No.2&lt;BR /&gt;&lt;BR /&gt;Total found: 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Frenky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 04:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216338#M69674</guid>
      <dc:creator />
      <dc:date>2010-04-16T04:23:30Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216339#M69675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the built in QV function - RecNo&lt;A id="RecNo" name="RecNo"&gt;&lt;/A&gt;( ). It gives the Record Number, which is sequential.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Load&lt;BR /&gt;&amp;lt;h4&amp;gt;RecNo&lt;A id="RecNo" name="RecNo"&gt;&lt;/A&gt;( ) as SNo,&amp;lt;/h4&amp;gt;&lt;BR /&gt;Name,&lt;BR /&gt;Address&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT&lt;BR /&gt;Name,&lt;BR /&gt;Address&lt;BR /&gt;From TABLE_NAME&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216339#M69675</guid>
      <dc:creator>vupen</dc:creator>
      <dc:date>2010-04-16T05:54:21Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216340#M69676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frenky,&lt;/P&gt;&lt;P&gt;I'm not sure exactly what you're looking for, but if you want to create a column like 'No' then you can used the RowNo() function.&lt;/P&gt;&lt;P&gt;Note that the RecNo() function may not necessarily be conscutive because RecNo() will return the row number the record was found in the original database.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Original Table:&lt;/P&gt;&lt;P&gt;Name, City&lt;BR /&gt;James, London&lt;BR /&gt;Erik, Lund&lt;BR /&gt;Alice, London&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;Load RowNo() as No_1,&lt;BR /&gt;RecNo() as No_2,&lt;BR /&gt;Name,&lt;BR /&gt;City&lt;BR /&gt;From 'Orginal Table'&lt;BR /&gt;Where City = 'London'&lt;/P&gt;&lt;P&gt;Result:&lt;BR /&gt;1, 1, James, London&lt;BR /&gt;2, 3, Alice, London&lt;/P&gt;&lt;P&gt;I hope that's clear.&lt;/P&gt;&lt;P&gt;If you want to find the total number found, why don't you use count(distinct Name)?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216340#M69676</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-04-16T05:54:56Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216341#M69677</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;See example attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216341#M69677</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-16T05:57:12Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216342#M69678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load rowno() as no or load recno() as no from ......... as suggested by upendra in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for total found you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let total found =noofrows('tablename');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 06:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216342#M69678</guid>
      <dc:creator />
      <dc:date>2010-04-16T06:16:43Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216343#M69679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;BR /&gt;Thank you all for replying my question.Formula approach for "&lt;B&gt;rowno()&lt;/B&gt;" by &lt;B&gt;tauqueer&lt;/B&gt; almost hit my question. (image1 below) BUT when I do a filter is doesn't do correctly (image2 below).&lt;BR /&gt;Instead showing the perspective number of user, which this not required because I already have EE (employee number).&lt;BR /&gt;Basically i want is to find how many total the result of employee if I do a filter.&lt;BR /&gt;And I still confuse how to create TOTAL FOUND.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0435.AED1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0435.AED1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1121.AED2.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1121.AED2.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 08:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216343#M69679</guid>
      <dc:creator />
      <dc:date>2010-04-16T08:22:01Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216344#M69680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;P&gt;getpossiblecount(Employeename) to know how many employees have been terminated(ie no of employees in the current selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and getexcludedcount(Employeename) to know how many employees have been excluded from the current selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expressions in your straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 08:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216344#M69680</guid>
      <dc:creator />
      <dc:date>2010-04-16T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216345#M69681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tauqueer,&lt;BR /&gt;i'm not sure the formula where can i put in. it become like these below&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1667.AED3.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1667.AED3.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6557.AED4.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6557.AED4.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 09:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216345#M69681</guid>
      <dc:creator />
      <dc:date>2010-04-16T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216346#M69682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create counter field with value of 1 and use sum(counterField) in your expressions...&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;1 as CounterField,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;From TABLE_NAME&lt;/P&gt;&lt;P&gt;;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 10:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216346#M69682</guid>
      <dc:creator>bismart</dc:creator>
      <dc:date>2010-04-16T10:28:47Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216347#M69683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl &amp;amp; all,&lt;BR /&gt;Thanks replying my question.&lt;BR /&gt;It seem both rowno() and recno() has same function, and this is close formula.&lt;BR /&gt;Basicly what i want is just running number, l those like in excel.&lt;BR /&gt;But i do not want the running number taken from database.&lt;BR /&gt;I tried both give the result same when do a filter the running number become number from database, which we not it that.&lt;BR /&gt;for the total number found it seem give me different result when i do fiter, please check my screen shoot on No_1[rowno()] and No_2 [recno()]&lt;/P&gt;&lt;P&gt;Anyway for total found using count(No_1) or count(No_2) it seem was the correct formula to get how many the result.&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6406.1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6406.1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/8176.2.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/8176.2.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 01:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216347#M69683</guid>
      <dc:creator />
      <dc:date>2010-04-17T01:15:52Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216348#M69684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frenky,&lt;/P&gt;&lt;P&gt;RecNo() and RowNo() will be different if you apply the filter in the script with a where statement. If you want dynamic row numbersin a table then you should use the rowno() function as an expression in the straight table.&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 02:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216348#M69684</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-04-17T02:22:28Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216349#M69685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;Your sample fix my problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But can wee use total found on the bottom of table? is should be easier to see if showing at below table&lt;/P&gt;&lt;P&gt;I no idea which table model should i use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 16:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216349#M69685</guid>
      <dc:creator />
      <dc:date>2010-04-17T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216350#M69686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression tab set the total mode as displayed in screenshot below for the column that has rowno().&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 17:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216350#M69686</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-04-17T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Simple: How to get running numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216351#M69687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you want the total to appear at the bottom of the table, that option is in the Presentation tab.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 17:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-How-to-get-running-numbers/m-p/216351#M69687</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-04-17T17:33:48Z</dc:date>
    </item>
  </channel>
</rss>

