<?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 Get Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180745#M47046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac, try with this:&lt;/P&gt;&lt;P&gt;Original_Table:&lt;BR /&gt;load * Inline&lt;BR /&gt;[StartDate,EndDate,OrderId&lt;BR /&gt;'2010-10-01','2010-12-01',1&lt;BR /&gt;'2010-05-01','2010-07-01',2];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table:&lt;BR /&gt;Load iterno() as Iterno,&lt;BR /&gt;num(month(StartDate + iterno()-1)) as Time,&lt;BR /&gt;OrderId&lt;BR /&gt;resident Original_Table&lt;BR /&gt;while iterno() &amp;lt;= EndDate-StartDate+1;&lt;BR /&gt;&lt;BR /&gt;Drop table Original_Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 10:30:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-24T10:30:37Z</dc:date>
    <item>
      <title>Get Months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180743#M47044</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 have those date,&lt;/P&gt;&lt;P&gt;load * Inline&lt;BR /&gt;[StartDate,EndDate,OrderId&lt;BR /&gt;'2010-10-01','2010-12-01',1&lt;BR /&gt;'2010-05-01','2010-07-01',2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I want to classify them into:&lt;/P&gt;&lt;P&gt;Order includes how many valid month:&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;OrderId Month&lt;/P&gt;&lt;P&gt;1 10&lt;/P&gt;&lt;P&gt;1 11&lt;/P&gt;&lt;P&gt;1 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 07:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180743#M47044</guid>
      <dc:creator />
      <dc:date>2011-01-24T07:49:32Z</dc:date>
    </item>
    <item>
      <title>Get Months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180744#M47045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;I would use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;tempcalender:&lt;BR /&gt;load * Inline&lt;BR /&gt;[StartDate,EndDate,OrderId&lt;BR /&gt;'2010-10-01','2010-12-01',1&lt;BR /&gt;'2010-05-01','2010-07-01',2];&lt;BR /&gt;Master_Calendar:&lt;BR /&gt;load&lt;BR /&gt;Month(StartDate) as StartMonth,&lt;BR /&gt;Month(EndDate) as Endmonth,&lt;BR /&gt;StartDate,&lt;BR /&gt;EndDate,&lt;BR /&gt;OrderId&lt;BR /&gt;resident tempcalender;&lt;BR /&gt;drop Table tempcalender&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 08:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180744#M47045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-24T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Get Months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180745#M47046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac, try with this:&lt;/P&gt;&lt;P&gt;Original_Table:&lt;BR /&gt;load * Inline&lt;BR /&gt;[StartDate,EndDate,OrderId&lt;BR /&gt;'2010-10-01','2010-12-01',1&lt;BR /&gt;'2010-05-01','2010-07-01',2];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table:&lt;BR /&gt;Load iterno() as Iterno,&lt;BR /&gt;num(month(StartDate + iterno()-1)) as Time,&lt;BR /&gt;OrderId&lt;BR /&gt;resident Original_Table&lt;BR /&gt;while iterno() &amp;lt;= EndDate-StartDate+1;&lt;BR /&gt;&lt;BR /&gt;Drop table Original_Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 10:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Months/m-p/180745#M47046</guid>
      <dc:creator />
      <dc:date>2011-01-24T10:30:37Z</dc:date>
    </item>
  </channel>
</rss>

