<?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: Help make the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70167#M458246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this can be done using set analysis... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(D1 &amp;gt; Max(TOTAL &amp;lt;P&amp;gt; D2), Sum(S)), P, D1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2018 09:05:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-04-20T09:05:09Z</dc:date>
    <item>
      <title>Help make the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70165#M458244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help formulate an expression for the MagicExpression column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values should be equal to the sum of the values of the field S where D1 is greater than max(D2), for each P.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="200310" alt="2018-04-20_141858.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200310_2018-04-20_141858.png" style="height: 147px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I tried the expression sum({&amp;lt;D1={"&amp;gt;$(=Date(max(D2)))"}&amp;gt;} S) but this is not correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 08:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70165#M458244</guid>
      <dc:creator>mikhail_sirik</dc:creator>
      <dc:date>2018-04-20T08:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help make the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70166#M458245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDITED:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;{&amp;lt;D2={"$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;Max(Date(D2)))"}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;Aggr(Sum({&amp;lt;D2={"$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;Max(Date(D2)))"}&amp;gt;}S),P))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 08:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70166#M458245</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-04-20T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help make the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70167#M458246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this can be done using set analysis... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(D1 &amp;gt; Max(TOTAL &amp;lt;P&amp;gt; D2), Sum(S)), P, D1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 09:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-make-the-expression/m-p/70167#M458246</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-20T09:05:09Z</dc:date>
    </item>
  </channel>
</rss>

