<?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: Adding RecNo()  into Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124503#M18930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, synthetic key caused that issue.&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 09:21:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-18T09:21:08Z</dc:date>
    <item>
      <title>Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124498#M18925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Good morning QV Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to find in which order records are loaded into table by using "RecNo()".&lt;/P&gt;&lt;P&gt;When I put "RecNo()" as comment I have about 5000 rows which is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Base:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ListNr,&lt;/P&gt;&lt;P&gt;OrderPoItem,&lt;/P&gt;&lt;P&gt;Planned_Res,&lt;/P&gt;&lt;P&gt;PO_DeliveryDate&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//RecNo()&lt;/STRONG&gt;&amp;nbsp; &amp;lt;-- as comment&lt;/P&gt;&lt;P&gt;Resident MDTB&lt;/P&gt;&lt;P&gt;Order By ListNr asc,ListPos asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I delete comment I have over 22 milions rows which is not correct.&lt;/P&gt;&lt;P&gt;Base:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ListNr,&lt;/P&gt;&lt;P&gt;OrderPoItem,&lt;/P&gt;&lt;P&gt;Planned_Res,&lt;/P&gt;&lt;P&gt;PO_DeliveryDate,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RecNo()&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Resident MDTB&lt;/P&gt;&lt;P&gt;Order By ListNr asc,ListPos asc;&lt;/P&gt;&lt;P&gt;drop Table MDTB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know why numbers of rows increased?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advence!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 11:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124498#M18925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-13T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124499#M18926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by number of rows increased, a RESIDENT load will take, if there is no WHERE clause of any type, all the rows from the previous table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the Base and MDTB have the same fields? If so, the RESIDENT load is incrementing the rows in the MDTB table, and the Base table will be automatically concatenated to the previous one (MDTB). Maybe that's why the number increases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are using RecNo() without "AS" in any other table, which is technically possible, you are associating those two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See about RecNo() and RowNo() here &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/RecNo.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/RecNo.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/RecNo.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124499#M18926</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-13T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124500#M18927</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;you had probably made a bad join with synthetic key that duplicates your rows.&lt;/P&gt;&lt;P&gt;Try using the "AS" clause as Miguel suggests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124500#M18927</guid>
      <dc:creator>captain89</dc:creator>
      <dc:date>2018-09-13T15:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124501#M18928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where do you read the number of rows 5000 vs. 22million from (table viewer / status bar)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 20:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124501#M18928</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-09-13T20:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124502#M18929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There, after loading script and insert table.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213811_Untitled.jpg" style="height: 433px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124502#M18929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-18T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124503#M18930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, synthetic key caused that issue.&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124503#M18930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-18T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124504#M18931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;As you said, synthetic key caused that issue.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124504#M18931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-18T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding RecNo()  into Table</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124505#M18932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked. Thanks for letting us know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-RecNo-into-Table/m-p/124505#M18932</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-18T09:37:08Z</dc:date>
    </item>
  </channel>
</rss>

