<?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 for...next with exclude in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/for-next-with-exclude/m-p/251200#M707147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi! Loading from a webpage and encountered an issue. I can't exclude certain values in my for...next loop.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;for vWeek= 1 to 52&lt;/P&gt;&lt;P&gt;LOAD col1,&lt;BR /&gt;&amp;nbsp; col2&lt;BR /&gt;FROM&lt;BR /&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://yourdomain.com/history/weeks.asp?qsWeek=$(vWeek"&gt;http://yourdomain.com/history/weeks.asp?qsWeek=$(vWeek&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;(html, codepage is 1252, embedded labels, table is @2);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I would like to exclude week 23, 25, 26, 27, 28 and week 29. regards thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 13:49:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-23T13:49:07Z</dc:date>
    <item>
      <title>for...next with exclude</title>
      <link>https://community.qlik.com/t5/QlikView/for-next-with-exclude/m-p/251200#M707147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi! Loading from a webpage and encountered an issue. I can't exclude certain values in my for...next loop.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;for vWeek= 1 to 52&lt;/P&gt;&lt;P&gt;LOAD col1,&lt;BR /&gt;&amp;nbsp; col2&lt;BR /&gt;FROM&lt;BR /&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://yourdomain.com/history/weeks.asp?qsWeek=$(vWeek"&gt;http://yourdomain.com/history/weeks.asp?qsWeek=$(vWeek&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;(html, codepage is 1252, embedded labels, table is @2);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I would like to exclude week 23, 25, 26, 27, 28 and week 29. regards thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 13:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/for-next-with-exclude/m-p/251200#M707147</guid>
      <dc:creator />
      <dc:date>2011-11-23T13:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: for...next with exclude</title>
      <link>https://community.qlik.com/t5/QlikView/for-next-with-exclude/m-p/251201#M707148</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 can do that using a conditional within the loop (among some others)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;FOR vWeek = 1 to 52&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp; IF Match($(vWeek), 23, 25, 26, 27, 28, 29) = 0 THEN&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD col1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col2 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [http://yourdomain.com/history/weeks.asp?qsWeek=$(vWeek)]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (html, codepage is 1252, embedded labels, table is @2);&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp; &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp; END IF&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;NEXT&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;BI Consultant&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 14:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/for-next-with-exclude/m-p/251201#M707148</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-23T14:13:44Z</dc:date>
    </item>
  </channel>
</rss>

