<?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 Accumulation Not Working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1567256#M41381</link>
    <description>Thanks Sunny!!</description>
    <pubDate>Tue, 09 Apr 2019 22:51:38 GMT</pubDate>
    <dc:creator>asmithids</dc:creator>
    <dc:date>2019-04-09T22:51:38Z</dc:date>
    <item>
      <title>Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559317#M40737</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following "As of" expression that is not showing the accumulation of the payment amount after the period when the payment first happened in 2012-Dec. &amp;nbsp;The set analysis syntax has a search parameter to include all payments on or before the &amp;nbsp;Max([Year Month]). &amp;nbsp;In this case the&amp;nbsp;Max([Year Month]) is 2018-May. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression: Sum({&amp;lt;Year=,Month=,[Year Month]={"&amp;lt;= $(=Max([Year Month]))"}&amp;gt;} PaymentAmount)&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached screen shot of a table showing the payments. &amp;nbsp;The periods following 2012-Dec are zero, but should be 1,891.87.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any information to resolve this issue would be greatly appreciated! &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559317#M40737</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2024-11-16T06:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559326#M40738</link>
      <description>&lt;P&gt;The Max aggregation is for numeric fields, the Year month is a text string, so max will not work here&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 02:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559326#M40738</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-03-21T02:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559381#M40741</link>
      <description>&lt;P&gt;It's better to deal with the string date fields in the script. However, if that is not in the scope, you could try parsing the string in set analysis itself like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;Year=,Month=,[Year Month]={"&lt;STRONG&gt;=Date#([Year Month], 'MMM-YYYY') &lt;/STRONG&gt;&amp;lt;=&lt;BR /&gt; $(=Max(&lt;STRONG&gt;Date#&lt;/STRONG&gt;([Year Month],&lt;STRONG&gt;'MMM-YYYY'&lt;/STRONG&gt;)))"}&amp;gt;} PaymentAmount) &lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Mar 2019 07:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1559381#M40741</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-03-21T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1560215#M40814</link>
      <description>&lt;P&gt;Hi Lisa_P,&lt;/P&gt;&lt;P&gt;Thank you for the help! &amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression I am using is numeric. &amp;nbsp;However, to confirm if the "Year Month" was the issue, I changed the expression to the following. &amp;nbsp;The change did not correct the issue. &amp;nbsp;Please see attached screen shot of the table using the new expression. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression: Sum({&amp;lt;Year=,Month=,[_MonthSerial]={"&amp;lt;= $(=Max([_MonthSerial]))"}&amp;gt;} PaymentAmount)&lt;/P&gt;&lt;P&gt;I would have thought the "&amp;lt; =" syntax in the expression would be able to show the balance forward to all future periods after the initial posting in Dec-2012. &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 15:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1560215#M40814</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2019-03-22T15:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1560256#M40816</link>
      <description>&lt;P&gt;Are you looking for this may be&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;RangeSum(Above(&lt;/FONT&gt;
Sum({&amp;lt;Year=,Month=,[Year Month]={"&amp;lt;=$(=Max([Year Month]))"}&amp;gt;} PaymentAmount)
&lt;FONT color="#FF0000"&gt;, 0, RowNo()))&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2019 18:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1560256#M40816</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-22T18:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Accumulation Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1567256#M41381</link>
      <description>Thanks Sunny!!</description>
      <pubDate>Tue, 09 Apr 2019 22:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Accumulation-Not-Working/m-p/1567256#M41381</guid>
      <dc:creator>asmithids</dc:creator>
      <dc:date>2019-04-09T22:51:38Z</dc:date>
    </item>
  </channel>
</rss>

