<?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 Set Analysis: Max Date for Sales not Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119840#M765283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression with set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( {&amp;lt;Type = {'North','South'}, &lt;SPAN style="color: #0000ff;"&gt;Operation_Date = {"$(=Max(Operation_Date))"}&amp;gt;}&lt;/SPAN&gt; &amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to get the Sum of Sales for the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with the expression is that the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt; could have n&lt;EM&gt;ull values&lt;/EM&gt; for &lt;SPAN style="text-decoration: underline;"&gt;Sales&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I need to modify the &lt;SPAN style="color: #0000ff;"&gt;Max(Operation_Date)&lt;/SPAN&gt; to get the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt; &lt;STRONG&gt;where Sales are not null&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>microwin88x</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis: Max Date for Sales not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119840#M765283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression with set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( {&amp;lt;Type = {'North','South'}, &lt;SPAN style="color: #0000ff;"&gt;Operation_Date = {"$(=Max(Operation_Date))"}&amp;gt;}&lt;/SPAN&gt; &amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to get the Sum of Sales for the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with the expression is that the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt; could have n&lt;EM&gt;ull values&lt;/EM&gt; for &lt;SPAN style="text-decoration: underline;"&gt;Sales&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I need to modify the &lt;SPAN style="color: #0000ff;"&gt;Max(Operation_Date)&lt;/SPAN&gt; to get the Max &lt;SPAN style="text-decoration: underline;"&gt;Operation_Date&lt;/SPAN&gt; &lt;STRONG&gt;where Sales are not null&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how could I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119840#M765283</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Max Date for Sales not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119841#M765284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum( {&amp;lt;Type = {'North','South'}, &lt;SPAN style="color: #ff0000;"&gt;Sales = {'*'}&lt;/SPAN&gt;,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Operation_Date = {"$(=Max(Operation_Date))"}&amp;gt;}&lt;/SPAN&gt; &amp;gt;} Sales) ??&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 17:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119841#M765284</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-07-06T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Max Date for Sales not Null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119842#M765285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Type = {'North', 'South'}, Operation_Date = {"$(=Max({&amp;lt;Sales = {&lt;/STRONG&gt;&lt;LI&gt;&lt;STRONG&gt;}&amp;gt;} Operation_Date))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 17:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Max-Date-for-Sales-not-Null/m-p/119842#M765285</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T17:18:31Z</dc:date>
    </item>
  </channel>
</rss>

