<?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 Loop in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-in-load-script/m-p/342717#M126572</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;I have a dataset with collections fields NewCD1, NewCD2,...........NewCDn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are boolian variables i.e. 0 or 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is create a counter that starts at NewCDn and loops backwards to NewCD1 and aggregate a CollectionsCount variable.&lt;/P&gt;&lt;P&gt;However I want the CollectionsCount to stop if NewCD is false and output this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need the number of variables for NewCDn to be dynamic. What I mean is that I dont want the user to have to ammend the number of variables in the loop. It must automatically start at the last field every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to Qlikview so any assitance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2012 09:24:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-10T09:24:30Z</dc:date>
    <item>
      <title>Loop in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-in-load-script/m-p/342717#M126572</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;I have a dataset with collections fields NewCD1, NewCD2,...........NewCDn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are boolian variables i.e. 0 or 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is create a counter that starts at NewCDn and loops backwards to NewCD1 and aggregate a CollectionsCount variable.&lt;/P&gt;&lt;P&gt;However I want the CollectionsCount to stop if NewCD is false and output this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need the number of variables for NewCDn to be dynamic. What I mean is that I dont want the user to have to ammend the number of variables in the loop. It must automatically start at the last field every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to Qlikview so any assitance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 09:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-in-load-script/m-p/342717#M126572</guid>
      <dc:creator />
      <dc:date>2012-07-10T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-in-load-script/m-p/342718#M126573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample of this dataset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 04:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-in-load-script/m-p/342718#M126573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-11T04:49:12Z</dc:date>
    </item>
  </channel>
</rss>

