<?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: SeqNo in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221474#M390509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresco,&lt;/P&gt;&lt;P&gt;Out of interest I want to know if there is any specific reason that you are recommending recno() in this case or could we use rowno() as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 11:14:27 GMT</pubDate>
    <dc:creator>anushree1</dc:creator>
    <dc:date>2017-03-16T11:14:27Z</dc:date>
    <item>
      <title>SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221469#M390504</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;I have following data in my Data model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="202"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="127"&gt;POLICY_NO&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="75"&gt;Period&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000106&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;28-07-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000082&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;23-01-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000082&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;23-01-15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000120&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;16-10-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;22-10-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;22-10-15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;12-11-16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000091&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04-04-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000091&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04-04-15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00111A000040&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;29-08-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000081&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;17-01-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20-08-14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20-08-15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20-08-16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;20-08-17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want add another column (seqNo) as shown below. That is when period of particular policy_no changes seqno should beincrsed and recorded&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="266"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="127"&gt;POLICY_NO&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="75"&gt;Period&lt;/TD&gt;&lt;TD width="64"&gt;Seqno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000106&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;28-07-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000082&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;23-01-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000082&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;23-01-15&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000120&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;16-10-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;22-10-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;22-10-15&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000125&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12-11-16&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000091&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;04-04-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000091&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;04-04-15&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00111A000040&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;29-08-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000081&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;17-01-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20-08-14&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20-08-15&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20-08-16&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1M00131A0000110&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20-08-17&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me how to write my script to obtain above result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221469#M390504</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-03-16T10:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221470#M390505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;AutoNumber&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;( &lt;SPAN style="text-decoration: line-through;"&gt;RecNo()&lt;/SPAN&gt;, POLICY_NO)&amp;nbsp; as&amp;nbsp; SeqNo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;AutoNumber&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;( RowNo(), POLICY_NO)&amp;nbsp; as&amp;nbsp; SeqNo&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221470#M390505</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-03-16T10:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221471#M390506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;STRONG&gt;AutoNumber(RecNo(),POLICY_NO ) as seqno&lt;/STRONG&gt; Inline [&lt;/P&gt;&lt;P&gt;POLICY_NO, Period&lt;/P&gt;&lt;P&gt;1M00131A0000106, 28-07-14&lt;/P&gt;&lt;P&gt;1M00131A0000082, 23-01-14&lt;/P&gt;&lt;P&gt;1M00131A0000082, 23-01-15&lt;/P&gt;&lt;P&gt;1M00131A0000120, 16-10-14&lt;/P&gt;&lt;P&gt;1M00131A0000125, 22-10-14&lt;/P&gt;&lt;P&gt;1M00131A0000125, 22-10-15&lt;/P&gt;&lt;P&gt;1M00131A0000125, 12-11-16&lt;/P&gt;&lt;P&gt;1M00131A0000091, 04-04-14&lt;/P&gt;&lt;P&gt;1M00131A0000091, 04-04-15&lt;/P&gt;&lt;P&gt;1M00111A000040, 29-08-14&lt;/P&gt;&lt;P&gt;1M00131A0000081, 17-01-14&lt;/P&gt;&lt;P&gt;1M00131A0000110, 20-08-14&lt;/P&gt;&lt;P&gt;1M00131A0000110, 20-08-15&lt;/P&gt;&lt;P&gt;1M00131A0000110, 20-08-16&lt;/P&gt;&lt;P&gt;1M00131A0000110, 20-08-17&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221471#M390506</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-16T10:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221472#M390507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another solution (and might give a slightly better performance then AutoNumber() function)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; POLICY_NO, Period&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000106, 28-07-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000082, 23-01-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000082, 23-01-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000120, 16-10-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 22-10-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 22-10-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 12-11-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000091, 04-04-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000091, 04-04-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00111A000040, 29-08-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000081, 17-01-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-17&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 POLICY_NO,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Period,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(POLICY_NO = Previous(POLICY_NO), RangeSum(Peek('Seqno'), 1), 1) as Seqno&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 POLICY_NO, Period;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 11:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221472#M390507</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T11:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221473#M390508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I apply this to my QVW like given below&amp;nbsp; it does not return any value, not even field name &lt;/P&gt;&lt;P&gt;PREMIUM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,AutoNumber(RecNo(),POLICY_NO ) as seqno&lt;/P&gt;&lt;P&gt;Resident sales;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 11:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221473#M390508</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-03-16T11:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221474#M390509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresco,&lt;/P&gt;&lt;P&gt;Out of interest I want to know if there is any specific reason that you are recommending recno() in this case or could we use rowno() as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 11:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221474#M390509</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-03-16T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221475#M390510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send full script which you done over there? It should work with sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221475#M390510</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-16T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221476#M390511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We can use rowno() as well. In fact, using rowno() would be more meaningful in general. If you filter data in where clause and use recno() in this scenario, it would not give you the desired output. So, rowno() is safer in this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for drawing the attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221476#M390511</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-03-16T12:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221477#M390512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221477#M390512</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-03-16T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221478#M390513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct me if I am wrong, but if there is a preceding load, we still might need RecNo() because then RowNo() isn't going to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221478#M390513</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T13:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221479#M390514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I do not seem to understand why preceding load would not work.&lt;/P&gt;&lt;P&gt;I did try that and it looks all well to me.&lt;/P&gt;&lt;P&gt;Could you please refer the attachment and share your comments&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221479#M390514</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-03-16T13:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221480#M390515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You did not have preceding load and that is why both RowNo and RecNo worked, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp; 0 as Dummy;&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;AutoNumber(RowNo(),POLICY_NO) AS SeqNo1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(RecNo(),POLICY_NO) AS SeqNo2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD POLICY_NO, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="253566" data-objecttype="1" href="https://community.qlik.com/thread/253566"&gt;https://community.qlik.com/thread/253566&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now RecNo() should still work, but AFAIK RowNo() won't work anymore....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221480#M390515</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T13:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221481#M390516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tested it here:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&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; 0 as Dummy;&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;AutoNumber(RowNo(),POLICY_NO&amp;amp;'RowNo') AS SeqNo1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(RecNo(),POLICY_NO&amp;amp;'RecNo') AS SeqNo2;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; POLICY_NO, Period&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000106, 28-07-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000082, 23-01-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000082, 23-01-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000120, 16-10-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 22-10-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 22-10-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000125, 12-11-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000091, 04-04-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000091, 04-04-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00111A000040, 29-08-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000081, 17-01-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00131A0000110, 20-08-17&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;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156521_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221481#M390516</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T13:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221482#M390517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's another aspect of RowNo()/RecNo() usage consideration. However, it still holds that if the records get filtered in where clause, recno() would not give the expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221482#M390517</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-03-16T13:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221483#M390518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tested Done &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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/156532_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221483#M390518</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-16T15:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221484#M390519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;When I did as advised by you I get seqno 1,2 for the same policy period as shown below. Can you pls advise how to correct it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 307px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="139"&gt;POLICY_NO&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="129"&gt;POL_PERIOD_TO&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="39"&gt;Seqno&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00151A0000197&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11-02-16&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00151A0000197&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11-02-16&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; &lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00151A0000197&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11-02-17&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; 3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1M00151A0000197&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11-02-18&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt; 4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct numbering should be (seqno)1,1,2,3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221484#M390519</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-03-16T18:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221485#M390520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; POLICY_NO, POL_PERIOD_TO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00151A0000197, 11-02-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00151A0000197, 11-02-16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00151A0000197, 11-02-17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1M00151A0000197, 11-02-18&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 POLICY_NO,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; POL_PERIOD_TO,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt; If(POLICY_NO = Previous(POLICY_NO),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp; If(POL_PERIOD_TO = Previous(POL_PERIOD_TO), Peek('Seqno'), RangeSum(Peek('Seqno'), 1)), 1) as Seqno&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 POLICY_NO, POL_PERIOD_TO;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221485#M390520</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: SeqNo</title>
      <link>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221486#M390521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks . That is what I want exactly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 02:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SeqNo/m-p/1221486#M390521</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-03-17T02:40:37Z</dc:date>
    </item>
  </channel>
</rss>

