<?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 Sum WHEN max date - help!! in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-WHEN-max-date-help/m-p/1795256#M62341</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to create an expression that generates a SUMPRODUCT value but only for the latest date in my data set.&lt;/P&gt;&lt;P&gt;Current expression is&amp;nbsp;SUM(CLOSED*C_AGE)/SUM(CLOSED).&amp;nbsp; But this will calculate for all dates in my data set.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this to only calculate for the latest week in my data set based on the week field name being 'WEEK_COMMENCING'&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 10:42:23 GMT</pubDate>
    <dc:creator>SAM81</dc:creator>
    <dc:date>2021-03-29T10:42:23Z</dc:date>
    <item>
      <title>Sum WHEN max date - help!!</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-WHEN-max-date-help/m-p/1795256#M62341</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to create an expression that generates a SUMPRODUCT value but only for the latest date in my data set.&lt;/P&gt;&lt;P&gt;Current expression is&amp;nbsp;SUM(CLOSED*C_AGE)/SUM(CLOSED).&amp;nbsp; But this will calculate for all dates in my data set.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this to only calculate for the latest week in my data set based on the week field name being 'WEEK_COMMENCING'&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 10:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-WHEN-max-date-help/m-p/1795256#M62341</guid>
      <dc:creator>SAM81</dc:creator>
      <dc:date>2021-03-29T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum WHEN max date - help!!</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-WHEN-max-date-help/m-p/1795261#M62342</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;WEEK_COMMENCING={'$(=max(WEEK_COMMENCING))'}&amp;gt;} CLOSED*C_AGE) /&amp;nbsp;sum({&amp;lt;WEEK_COMMENCING={'$(=max(WEEK_COMMENCING))'}&amp;gt;} CLOSED)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 11:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-WHEN-max-date-help/m-p/1795261#M62342</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-29T11:02:35Z</dc:date>
    </item>
  </channel>
</rss>

