<?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: RowNo() with While loop continues to loop after While condition is not satisfied in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805300#M65449</link>
    <description>&lt;P&gt;Good question. I think this post will answer your question&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/IterNo-vs-RowNo/m-p/1209629/highlight/true#M881824" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/IterNo-vs-RowNo/m-p/1209629/highlight/true#M881824&lt;/A&gt;&amp;nbsp; by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6543"&gt;@Peter_Cammaert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 08:52:29 GMT</pubDate>
    <dc:creator>eddie_wagt</dc:creator>
    <dc:date>2021-05-05T08:52:29Z</dc:date>
    <item>
      <title>RowNo() with While loop continues to loop after While condition is not satisfied</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805214#M65435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed that IterNo() and RowNo() seem to behave differently with While loop conditions. Using the following script, the IterNo table produces numbers up to 3 as expected based on the While condition, but the RowNo table produces numbers up to 4, which means that it loops once when the While condition is not satisfied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this due to a difference in execution order of the two scripts, or is this just a bug in Qlik?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;[Original Number]:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Original No&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;[IterNo]:&lt;BR /&gt;LOAD&lt;BR /&gt;[Original No]&lt;BR /&gt;,[Original No] + IterNo() -1 AS IterNo&lt;BR /&gt;RESIDENT [Original Number]&lt;BR /&gt;WHILE [Original No] + IterNo() -1 &amp;lt;= 3&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;[RowNo]:&lt;BR /&gt;LOAD&lt;BR /&gt;[Original No]&lt;BR /&gt;,[Original No] + RowNo() - 1 AS RowNo&lt;BR /&gt;RESIDENT [Original Number]&lt;BR /&gt;WHILE [Original No] + RowNo() - 1 &amp;lt;= 3&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 21:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805214#M65435</guid>
      <dc:creator>Ling12345</dc:creator>
      <dc:date>2021-12-21T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo() with While loop continues to loop after While condition is not satisfied</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805300#M65449</link>
      <description>&lt;P&gt;Good question. I think this post will answer your question&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/IterNo-vs-RowNo/m-p/1209629/highlight/true#M881824" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/IterNo-vs-RowNo/m-p/1209629/highlight/true#M881824&lt;/A&gt;&amp;nbsp; by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6543"&gt;@Peter_Cammaert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 08:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805300#M65449</guid>
      <dc:creator>eddie_wagt</dc:creator>
      <dc:date>2021-05-05T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo() with While loop continues to loop after While condition is not satisfied</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805659#M65507</link>
      <description>&lt;P&gt;Thanks Eddie. That post explains the difference between the functions conceptually, but doesn't explain why the iteration is continuing when the While condition is no longer satisfied for the script using RowNo() ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 01:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo-with-While-loop-continues-to-loop-after-While-condition-is/m-p/1805659#M65507</guid>
      <dc:creator>Ling12345</dc:creator>
      <dc:date>2021-05-06T01:34:16Z</dc:date>
    </item>
  </channel>
</rss>

