<?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: RecNo vs. RowNo in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932011#M322111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it's different.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please read answer of Jose Maria from the link provided by stefen...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In Resident Load the 2nd table is loaded only after the first table fully loaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In Preceding Load the 1st Table's 1st line loaded which is now being used by Preceding Load before the 1st table's 2nd line getting load. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this would make your doubt clear. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Aug 2015 13:06:53 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-08-15T13:06:53Z</dc:date>
    <item>
      <title>RecNo vs. RowNo</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932007#M322107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of flooding an existing post, I thought it would make sense to start a new one. Here is a sample script with RecNo() and RowNo() in Preceding Load and Resident Load giving different outputs.&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 RecNo,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RowNo;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RecNo() as RecNo,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RowNo() as RowNo&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RecNo() as RecNo2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RowNo() as RowNo2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RecNo2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RowNo2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&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/96170_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My confusion is -&amp;gt; Why does RowNo() doesn't work in the preceding load when it does work in Resident Load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/120618"&gt;MRKachhiaIMP&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 12:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932007#M322107</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-15T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo vs. RowNo</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932008#M322108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/578473"&gt;Re: rowno() not working if preceding load added&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 12:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932008#M322108</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-15T12:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo vs. RowNo</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932009#M322109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Source : Mastering QlikView Book&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is because the RowNo() function only returns correctly in the top loader &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;of a preceding load. It must be like this because each preceding load can have its own &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Where clause that can modify the number of rows loaded. Only at the topmost load &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;do we actually know that a row is loaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo1 as RowNo2, &lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo() As RowNo3;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo() As RowNo1 &lt;/P&gt;&lt;P&gt;Inline &lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Field1&lt;/P&gt;&lt;P&gt;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;&amp;nbsp; D&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here only the topmost load will have RowNo(), so only RowNo3 will give you expected result..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 12:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932009#M322109</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-08-15T12:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo vs. RowNo</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932010#M322110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But my confusion is that why does it work in a Resident Load and not in Preceding Load. Isn't Preceding Load and Resident Load mostly similar? Why will it work in one and not in the other?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 13:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932010#M322110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-15T13:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo vs. RowNo</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932011#M322111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it's different.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please read answer of Jose Maria from the link provided by stefen...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In Resident Load the 2nd table is loaded only after the first table fully loaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In Preceding Load the 1st Table's 1st line loaded which is now being used by Preceding Load before the 1st table's 2nd line getting load. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this would make your doubt clear. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 13:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo-vs-RowNo/m-p/932011#M322111</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-08-15T13:06:53Z</dc:date>
    </item>
  </channel>
</rss>

