<?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: [Set Analysis] Last Month fot which value is not null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433495#M563988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please post a qvw with the example? Because I am looking for the same concept to get it to work but I am not able to reuse your syntax...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 11:42:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-14T11:42:13Z</dc:date>
    <item>
      <title>[Set Analysis] Last Month fot which value is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433493#M563986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several indicator for which I need to calculate through an expression the value for last month for which value is not null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="264"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl26" height="19" width="88"&gt;Month&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="88"&gt;site A&lt;/TD&gt;&lt;TD class="xl25" style="border-left: none;" width="88"&gt;Site B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl26" height="19" style="border-top: none;"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl26" height="19" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;127&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl26" height="19" style="border-top: none;"&gt;11&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl26" height="19" style="border-top: none;"&gt;12&lt;/TD&gt;&lt;TD class="xl24" style="border-top: none; border-left: none;"&gt;null&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-top: none; border-left: none;"&gt;155&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the below example,I need to obtain in my graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Site A --&amp;gt; 21&lt;/P&gt;&lt;P&gt;Site B --&amp;gt; 155&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage to get the last month (12)&lt;/P&gt;&lt;P&gt;But I get Site --&amp;gt; &lt;STRONG&gt;null&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Site B --&amp;gt; 155&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose i could combinate something like &lt;STRONG&gt;max(month where len(my_value)&amp;gt;0)&lt;/STRONG&gt; but I don't know how to do that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody has an idea ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 08:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433493#M563986</guid>
      <dc:creator>mall1m</dc:creator>
      <dc:date>2013-01-18T08:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: [Set Analysis] Last Month fot which value is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433494#M563987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I manage to obtain my result through a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vLastMonthReported=Max(if(len(&lt;STRONG&gt;my_value&lt;/STRONG&gt;)&amp;gt;0 AND len(&lt;STRONG&gt;Month&lt;/STRONG&gt;)&amp;gt;0, &lt;STRONG&gt;Month&lt;/STRONG&gt;)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the following set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;={'=&lt;STRONG&gt;Month&lt;/STRONG&gt;=vLastMonthReported'} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 09:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433494#M563987</guid>
      <dc:creator>mall1m</dc:creator>
      <dc:date>2013-01-18T09:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: [Set Analysis] Last Month fot which value is not null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433495#M563988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please post a qvw with the example? Because I am looking for the same concept to get it to work but I am not able to reuse your syntax...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Last-Month-fot-which-value-is-not-null/m-p/433495#M563988</guid>
      <dc:creator />
      <dc:date>2013-06-14T11:42:13Z</dc:date>
    </item>
  </channel>
</rss>

