<?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 24 rolling months from last date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253810#M707971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I get my calendar to display 24 rolling months from the last date in my table of dates? Here's the code for the start end endpoints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;min(OrderDate) as MinDate,&lt;/P&gt;&lt;P&gt;max(OrderDate) as MaxDate&lt;/P&gt;&lt;P&gt;RESIDENT Orders;&lt;/P&gt;&lt;P&gt;LET Start = floor(YearStart(peek('MinDate')));&lt;/P&gt;&lt;P&gt;LET End = floor(???);&lt;/P&gt;&lt;P&gt;Drop Table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grateful for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 11:52:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-24T11:52:22Z</dc:date>
    <item>
      <title>24 rolling months from last date</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253810#M707971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I get my calendar to display 24 rolling months from the last date in my table of dates? Here's the code for the start end endpoints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;min(OrderDate) as MinDate,&lt;/P&gt;&lt;P&gt;max(OrderDate) as MaxDate&lt;/P&gt;&lt;P&gt;RESIDENT Orders;&lt;/P&gt;&lt;P&gt;LET Start = floor(YearStart(peek('MinDate')));&lt;/P&gt;&lt;P&gt;LET End = floor(???);&lt;/P&gt;&lt;P&gt;Drop Table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grateful for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 11:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253810#M707971</guid>
      <dc:creator />
      <dc:date>2011-11-24T11:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling months from last date</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253811#M707972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi john&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;try this&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;tmp:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;min(OrderDate) as MinDate,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;max(OrderDate) as MaxDate&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;RESIDENT Orders;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LET Start = floor(YearStart(peek('MinDate',-1,tmp)));&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LET End = floor(YearStart(peek('MaxDate,0,tmp)));&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Drop Table tmp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 11:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253811#M707972</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2011-11-24T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: 24 rolling months from last date</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253812#M707973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That set the End date of the calendar to january first of the year of the last OrderDate. I need the last date to be 24 months after the last OrderDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 12:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253812#M707973</guid>
      <dc:creator />
      <dc:date>2011-11-24T12:28:27Z</dc:date>
    </item>
    <item>
      <title>24 rolling months from last date</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253813#M707974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; let End = addmonths(peek('MaxDate,0,tmp),24);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 12:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253813#M707974</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-11-24T12:54:53Z</dc:date>
    </item>
    <item>
      <title>24 rolling months from last date</title>
      <link>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253814#M707975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works! Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 13:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/24-rolling-months-from-last-date/m-p/253814#M707975</guid>
      <dc:creator />
      <dc:date>2011-11-24T13:09:22Z</dc:date>
    </item>
  </channel>
</rss>

