<?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: Loop to total rows in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456577#M35853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this gonna help but can you use rowno() and get its maximum value stored in a variable or use it directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 07:59:02 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2017-12-29T07:59:02Z</dc:date>
    <item>
      <title>Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456576#M35852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which I retrieve in JSON format. This works with a skip and take function, so in a loop I change the skip to be able to loop through the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the To part of the loop. Because the take has a 5000 record limit if I use a function like NoOfRows('Table') it stops after the first loop because it sees the 5000. What I can use to let the loop run to 22.000 (which is now the number of records in the table)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 07:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456576#M35852</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2017-12-29T07:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456577#M35853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this gonna help but can you use rowno() and get its maximum value stored in a variable or use it directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 07:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456577#M35853</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-29T07:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456578#M35854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would I need to do to try this suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 08:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456578#M35854</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2017-12-29T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456579#M35855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds that it might be solvable with another loop which sliced your input-table. There you could add a counter maybe with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(rowno() / 5000) as LoopCounter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you could loop through this field like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 1 to fieldvaluecount(LoopCounter)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FinalTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from Table where LoopCounter = $(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... your other stuff ...&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 08:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456579#M35855</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-29T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456580#M35856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is I need tot loop to load the whole table since the source only allows me to get 5000 records at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to load all records I need a loop statement, but in order to make the loop statement I need all records. So that is what I am sort of stuck in now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 09:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456580#M35856</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2017-12-29T09:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Loop to total rows</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456581#M35857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you need to look at pagination - here is the url of to the &lt;EM&gt;loading paged data&lt;/EM&gt; manual section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-data.htm?_ga=2.48545444.387992528.1511981960-673594410.1411205889" title="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-data.htm?_ga=2.48545444.387992528.1511981960-673594410.1411205889"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-d…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual details of what you precisely need to do will depend on the details of your data source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 10:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-to-total-rows/m-p/1456581#M35857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-29T10:24:48Z</dc:date>
    </item>
  </channel>
</rss>

