<?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 Loading a table inside a For Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868050#M1216415</link>
    <description>&lt;P&gt;I have a need where with in a Loop construct i need to create a table to be used later. Below is sample representation of that code. I looked thru all past post on this and tried various suggestion in post but not sure why it is not working for me.&lt;/P&gt;
&lt;P&gt;Past post had suggested to create a empty table like i did here, then within loop just concatenate data to it. However at the end of this run table is still empty.&lt;/P&gt;
&lt;P&gt;Any suggestion is welcomed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AnalysisTable:&lt;BR /&gt;LOAD * Inline&lt;BR /&gt;[ID, ID1, ID2];&lt;/P&gt;
&lt;P&gt;For j = 1 to 10&lt;BR /&gt;LET v1 = (j * 2);&lt;BR /&gt;LET v2 = ((j * 28) + 10) / 14;&lt;BR /&gt;LET v3 = j + $(v1) - $(v2);&lt;BR /&gt;Concatenate(AnalysisTable)&lt;BR /&gt;LOAD $(v1) as ID&lt;BR /&gt;,$(v2) as ID1&lt;BR /&gt;,$(v3) as ID2&lt;BR /&gt;;&lt;BR /&gt;Next j&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 11:55:01 GMT</pubDate>
    <dc:creator>Sib</dc:creator>
    <dc:date>2021-12-08T11:55:01Z</dc:date>
    <item>
      <title>Loading a table inside a For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868050#M1216415</link>
      <description>&lt;P&gt;I have a need where with in a Loop construct i need to create a table to be used later. Below is sample representation of that code. I looked thru all past post on this and tried various suggestion in post but not sure why it is not working for me.&lt;/P&gt;
&lt;P&gt;Past post had suggested to create a empty table like i did here, then within loop just concatenate data to it. However at the end of this run table is still empty.&lt;/P&gt;
&lt;P&gt;Any suggestion is welcomed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AnalysisTable:&lt;BR /&gt;LOAD * Inline&lt;BR /&gt;[ID, ID1, ID2];&lt;/P&gt;
&lt;P&gt;For j = 1 to 10&lt;BR /&gt;LET v1 = (j * 2);&lt;BR /&gt;LET v2 = ((j * 28) + 10) / 14;&lt;BR /&gt;LET v3 = j + $(v1) - $(v2);&lt;BR /&gt;Concatenate(AnalysisTable)&lt;BR /&gt;LOAD $(v1) as ID&lt;BR /&gt;,$(v2) as ID1&lt;BR /&gt;,$(v3) as ID2&lt;BR /&gt;;&lt;BR /&gt;Next j&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 11:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868050#M1216415</guid>
      <dc:creator>Sib</dc:creator>
      <dc:date>2021-12-08T11:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a table inside a For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868053#M1216416</link>
      <description>&lt;P&gt;AnalysisTable:&lt;BR /&gt;LOAD * Inline&lt;BR /&gt;[ID, ID1, ID2];&lt;/P&gt;
&lt;P&gt;For j = 1 to 10&lt;BR /&gt;LET v1 = (j * 2);&lt;BR /&gt;LET v2 = ((j * 28) + 10) / 14;&lt;BR /&gt;LET v3 = j + $(v1) - $(v2);&lt;BR /&gt;Concatenate(AnalysisTable)&lt;BR /&gt;LOAD $(v1) as ID&lt;BR /&gt;,$(v2) as ID1&lt;BR /&gt;,$(v3) as ID2&lt;BR /&gt;&lt;STRONG&gt;Autogenerate(1)&lt;/STRONG&gt;&lt;BR /&gt;;&lt;BR /&gt;Next j&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 11:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868053#M1216416</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-12-08T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading a table inside a For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868057#M1216418</link>
      <description>&lt;P&gt;Thank you that worked.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 12:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-a-table-inside-a-For-Loop/m-p/1868057#M1216418</guid>
      <dc:creator>Sib</dc:creator>
      <dc:date>2021-12-08T12:08:22Z</dc:date>
    </item>
  </channel>
</rss>

