<?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: Looping through specific values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497171#M691185</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 this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Each zVar in ('a', 'b', 'c')&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let $(zVar) = 0;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 10:52:37 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2013-10-01T10:52:37Z</dc:date>
    <item>
      <title>Looping through specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497170#M691184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let us know if it is possible in QlikView to loop through particular values in for loop in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: I want to write condition like this&lt;/P&gt;&lt;P&gt;a=x;&lt;/P&gt;&lt;P&gt;b=y;&lt;/P&gt;&lt;P&gt;c=z;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Basically a, b, c are discrete values&lt;/P&gt;&lt;P&gt;for i= a to c;&lt;/P&gt;&lt;P&gt;..................&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 10:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497170#M691184</guid>
      <dc:creator />
      <dc:date>2013-10-01T10:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497171#M691185</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 this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Each zVar in ('a', 'b', 'c')&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let $(zVar) = 0;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 10:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497171#M691185</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-01T10:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497172#M691186</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'm not totally sure of how you wish to use this but you could use;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each &lt;EM&gt;driver&lt;/EM&gt; in a, b, c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where &lt;EM&gt;driver&lt;/EM&gt; is used in your script.&amp;nbsp; So if you wanted to load one at a time for example, the script would be;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each &lt;EM&gt;driver&lt;/EM&gt; in a, b, c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;From [File} where $(driver);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps, let me know how you get on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 10:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497172#M691186</guid>
      <dc:creator />
      <dc:date>2013-10-01T10:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497173#M691187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Jonathan and Steve.&lt;/P&gt;&lt;P&gt;Answered exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;I didn't know that for each loop exists in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 11:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-specific-values/m-p/497173#M691187</guid>
      <dc:creator />
      <dc:date>2013-10-01T11:20:26Z</dc:date>
    </item>
  </channel>
</rss>

