<?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: max(month) by year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465054#M695455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;year,month&lt;/P&gt;&lt;P&gt;2011,MAR&lt;/P&gt;&lt;P&gt;2011,DEC&lt;/P&gt;&lt;P&gt;2012,JAN&lt;/P&gt;&lt;P&gt;2012,FEB&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;year,&lt;/P&gt;&lt;P&gt;max(date(date#(month,'MMM'),'MMM'))&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By year;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2013 07:14:05 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2013-05-16T07:14:05Z</dc:date>
    <item>
      <title>max(month) by year</title>
      <link>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465052#M695453</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 am trying to do a max month, by year.&lt;/P&gt;&lt;P&gt;but how can i do that in LOAD?&lt;/P&gt;&lt;P&gt;It should return only 2011 DEC and 2012 FEB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sounds simple, but i'm stuck... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2011 MAR&lt;/P&gt;&lt;P&gt;2011 DEC&lt;/P&gt;&lt;P&gt;2012 JAN&lt;/P&gt;&lt;P&gt;2012 FEB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 06:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465052#M695453</guid>
      <dc:creator />
      <dc:date>2013-05-16T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: max(month) by year</title>
      <link>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465053#M695454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NPUT:&lt;/P&gt;&lt;P&gt;LOAD Date#(FIELD,'YYYY MMM') as YearMonth INLINE [&lt;/P&gt;&lt;P&gt;FIELD&lt;/P&gt;&lt;P&gt;2011 MAR&lt;/P&gt;&lt;P&gt;2011 DEC&lt;/P&gt;&lt;P&gt;2012 JAN&lt;/P&gt;&lt;P&gt;2012 FEB&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD FirstValue(YearMonth) as MaxYearMonth &lt;/P&gt;&lt;P&gt;Resident INPUT &lt;/P&gt;&lt;P&gt;group by year(YearMonth) &lt;/P&gt;&lt;P&gt;order by YearMonth desc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 07:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465053#M695454</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-16T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: max(month) by year</title>
      <link>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465054#M695455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;year,month&lt;/P&gt;&lt;P&gt;2011,MAR&lt;/P&gt;&lt;P&gt;2011,DEC&lt;/P&gt;&lt;P&gt;2012,JAN&lt;/P&gt;&lt;P&gt;2012,FEB&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;year,&lt;/P&gt;&lt;P&gt;max(date(date#(month,'MMM'),'MMM'))&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By year;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 07:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-month-by-year/m-p/465054#M695455</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-05-16T07:14:05Z</dc:date>
    </item>
  </channel>
</rss>

