<?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: Help to combine a if/else and loop in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768241#M1047387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you verify values of variables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vMinYear) , $(vMaxYear) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vYearToday)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 10:31:43 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-18T10:31:43Z</dc:date>
    <item>
      <title>Help to combine a if/else and loop in script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768240#M1047386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I can´t solve this if/else in script. My aim is to load a transactiontabel diffrent depending month(today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF Month(Today())=1 OR Month(Today())=2 then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = $(vMinYear) TO $(vMaxYear)&lt;/P&gt;&lt;P&gt;Let vStartDatum = Date#($(i) &amp;amp; '-01-01', 'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;Let vSlutDatum = Date#($(i) &amp;amp; '-12-31', 'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tabel:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = $(vYearToday) TO $(vMaxYear)&lt;/P&gt;&lt;P&gt;Let vStartDatum = Date#($(i) &amp;amp; '-01-01', 'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;Let vSlutDatum = Date#($(i) &amp;amp; '-12-31', 'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It the part For i = ... that doesn´t work with the if-statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 10:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768240#M1047386</guid>
      <dc:creator />
      <dc:date>2014-11-18T10:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help to combine a if/else and loop in script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768241#M1047387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you verify values of variables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vMinYear) , $(vMaxYear) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vYearToday)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 10:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768241#M1047387</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-18T10:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help to combine a if/else and loop in script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768242#M1047388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes. the work fine. I´d change and use a switch case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 12:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768242#M1047388</guid>
      <dc:creator />
      <dc:date>2014-11-18T12:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help to combine a if/else and loop in script</title>
      <link>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768243#M1047389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEXT is missing in IF control statement &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 12:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-to-combine-a-if-else-and-loop-in-script/m-p/768243#M1047389</guid>
      <dc:creator />
      <dc:date>2014-11-18T12:15:33Z</dc:date>
    </item>
  </channel>
</rss>

