<?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 MonthYear for not null value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010790#M958484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to save that information in a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 18:14:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-02T18:14:05Z</dc:date>
    <item>
      <title>Max MonthYear for not null value</title>
      <link>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010789#M958483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, could you help me to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would to recover the last MonthYear having sum (value) not null or &amp;lt;&amp;gt; 0.... in this case is 2015-05:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="448" style="width: 210px; height: 319px;" width="210"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="98"&gt;MonthYear&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;01/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5594,32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;02/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5424,77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;03/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5971,83&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;04/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5249,14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;05/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4829,82&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;06/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4004,63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;07/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3206,25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;08/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2666,68&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;09/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2177,81&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;10/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1553,43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;11/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;970,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;12/2014&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;621,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;01/2015&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;199,11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;02/2015&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;24,42&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;03/2015&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2,58&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;05/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 14:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010789#M958483</guid>
      <dc:creator />
      <dc:date>2015-11-02T14:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max MonthYear for not null value</title>
      <link>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010790#M958484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to save that information in a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010790#M958484</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-02T18:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Max MonthYear for not null value</title>
      <link>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010791#M958485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a variable, v&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;s:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *, makedate(right(MonthYear,4), left(MonthYear,2)) as D&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthYear Value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/2014 5594,32&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;02/2014 5424,77&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;03/2014 5971,83&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;04/2014 5249,14&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;05/2014 4829,82&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;06/2014 4004,63&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;07/2014 3206,25&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;08/2014 2666,68&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;09/2014 2177,81&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;10/2014 1553,43&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11/2014 970,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12/2014 621,4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/2015 199,11&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;02/2015 24,42&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;03/2015 2,58&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;05/2015 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] (delimiter is spaces);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;First 1 load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Value as LastValue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident s&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where Value &amp;gt; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // added&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order by D desc;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let v = Peek('LastValue');&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-MonthYear-for-not-null-value/m-p/1010791#M958485</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-02T18:30:12Z</dc:date>
    </item>
  </channel>
</rss>

