<?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 Script distinct date + append 12 coming month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158396#M712384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right. I understood that when I use &amp;lt; &amp;gt; to compare dates, I need to take their numeric values. However, the solution is still not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2011 06:24:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-15T06:24:11Z</dc:date>
    <item>
      <title>Script distinct date + append 12 coming month</title>
      <link>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158394#M712382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to retrieve all distinct dates (all in format MMM YYYY, using MonthName function) from my fact table and then append them by the next coming 12 months, here is my script but it is not working. Any suggestion&lt;/P&gt;&lt;P&gt;tmp:&lt;BR /&gt;Load Distinct OpenMonth as newDate&lt;BR /&gt;Resident Fact;&lt;BR /&gt;CONCATENATE (tmp)&lt;BR /&gt;LOAD&lt;BR /&gt;MonthName(Max(OpenMonth),IterNo()) as newDate&lt;BR /&gt;RESIDENT Fact&lt;BR /&gt;while MonthName(Max(OpenMonth),IterNo()) &amp;lt;= MonthName(Today(),12)&lt;BR /&gt;;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 03:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158394#M712382</guid>
      <dc:creator />
      <dc:date>2011-03-14T03:34:48Z</dc:date>
    </item>
    <item>
      <title>Script distinct date + append 12 coming month</title>
      <link>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158395#M712383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;STRONG&gt;n.allano ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Update your While Condicion as like below..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;while num(Max(OpenMonth)) &amp;lt;= num(addmonths(date(Today()),12));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i think it will work....&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;A'run'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 05:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158395#M712383</guid>
      <dc:creator />
      <dc:date>2011-03-14T05:12:42Z</dc:date>
    </item>
    <item>
      <title>Script distinct date + append 12 coming month</title>
      <link>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158396#M712384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right. I understood that when I use &amp;lt; &amp;gt; to compare dates, I need to take their numeric values. However, the solution is still not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 06:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-distinct-date-append-12-coming-month/m-p/158396#M712384</guid>
      <dc:creator />
      <dc:date>2011-03-15T06:24:11Z</dc:date>
    </item>
  </channel>
</rss>

