<?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 through resident Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620019#M46159</link>
    <description>&lt;P&gt;Great, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 12:29:15 GMT</pubDate>
    <dc:creator>erp_curaden</dc:creator>
    <dc:date>2019-09-04T12:29:15Z</dc:date>
    <item>
      <title>Loop through resident Table</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620008#M46156</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I ran into an issue where I need to loop through a dataset and update some values. But I always get an error (undefined for) if I try to use the function "NoOfRows()" in a for-loop:&lt;/P&gt;&lt;P&gt;TableA:&lt;BR /&gt;Load&lt;BR /&gt;*&lt;BR /&gt;From $(PreloadPath)Customer.qvd](qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ResultTable:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;'A', 'B', 'C'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;TableB:&lt;BR /&gt;For $i=1 to NoOfRows(TableA)&lt;BR /&gt;Concatenate(ResultTable)&lt;BR /&gt;Load * Inline [&lt;BR /&gt;'A', 'B', 'C'&lt;BR /&gt;'X', 'X', 'X'&lt;BR /&gt;];&lt;BR /&gt;Next;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone has an idea what I'm doing wrong, please reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620008#M46156</guid>
      <dc:creator>erp_curaden</dc:creator>
      <dc:date>2024-11-16T20:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through resident Table</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620014#M46157</link>
      <description>&lt;P&gt;Missing &lt;STRONG&gt;quotes&lt;/STRONG&gt; around table name.&amp;nbsp; Try like:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;NoOfRows('TableA')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620014#M46157</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-09-04T12:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through resident Table</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620015#M46158</link>
      <description>&lt;P&gt;You should not use &lt;SPAN&gt;NoOfRows(TableA) in this case but NoOfRows(&lt;STRONG&gt;'&lt;/STRONG&gt;TableA&lt;STRONG&gt;'&lt;/STRONG&gt;) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TableA:
Load
  *
From 
   $(PreloadPath)Customer.qvd](qvd);

ResultTable:
Load * 
Inline [
  'A', 'B', 'C'
  ];

TableB:
For $i=1 to NoOfRows('TableA')
  Concatenate(ResultTable)
  Load * 
  Inline [
    'A', 'B', 'C'
    'X', 'X', 'X'
  ];
Next;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read more on the function:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/TableFunctions/NoOfRows.htm" target="_blank" rel="noopener"&gt;NoOfRows - script and chart function&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620015#M46158</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-04T12:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through resident Table</title>
      <link>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620019#M46159</link>
      <description>&lt;P&gt;Great, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loop-through-resident-Table/m-p/1620019#M46159</guid>
      <dc:creator>erp_curaden</dc:creator>
      <dc:date>2019-09-04T12:29:15Z</dc:date>
    </item>
  </channel>
</rss>

