<?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- Sum based on different month values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Sum-based-on-different-month-values/m-p/1908297#M74872</link>
    <description>&lt;P&gt;I want to sum up the amount of four different fields. Three of them I need based on the current month. The last one I need based on next month's summation of the field [PD.Statement Line Amount]. Below is what I currently have but I am not sure if it works. There will not be a "max month" in my data since I am trying to find this within historical data. The result I am looking for is in the picture. It will be broken down by the year, month, and then the different amounts. The results&amp;nbsp; Any help would be appreciated! Dont worry about the overall formula, it works fine, just trying to figure out the last bit in bold.&lt;/P&gt;
&lt;P&gt;(((Sum([OS.Payment Amount])+&amp;nbsp; &amp;nbsp; &amp;nbsp;Sum([IS.Payment Amount]))-&amp;nbsp; &amp;nbsp; Sum([VD.Payment Amount])&lt;/P&gt;
&lt;P&gt;- Sum(&lt;STRONG&gt;{$&amp;lt;[CanonicalDate.autoCalendar.Month] = {$(=Max([CanonicalDate.autoCalendar.Month]) + 1)}&lt;/STRONG&gt;&amp;gt;}&lt;BR /&gt;[PD.Statement Line Amount]))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CadeTrav_0-1647967203857.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75063i91A62801EE0A937E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CadeTrav_0-1647967203857.png" alt="CadeTrav_0-1647967203857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 16:41:05 GMT</pubDate>
    <dc:creator>Kayde_72</dc:creator>
    <dc:date>2022-03-22T16:41:05Z</dc:date>
    <item>
      <title>Set Analysis- Sum based on different month values</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Sum-based-on-different-month-values/m-p/1908297#M74872</link>
      <description>&lt;P&gt;I want to sum up the amount of four different fields. Three of them I need based on the current month. The last one I need based on next month's summation of the field [PD.Statement Line Amount]. Below is what I currently have but I am not sure if it works. There will not be a "max month" in my data since I am trying to find this within historical data. The result I am looking for is in the picture. It will be broken down by the year, month, and then the different amounts. The results&amp;nbsp; Any help would be appreciated! Dont worry about the overall formula, it works fine, just trying to figure out the last bit in bold.&lt;/P&gt;
&lt;P&gt;(((Sum([OS.Payment Amount])+&amp;nbsp; &amp;nbsp; &amp;nbsp;Sum([IS.Payment Amount]))-&amp;nbsp; &amp;nbsp; Sum([VD.Payment Amount])&lt;/P&gt;
&lt;P&gt;- Sum(&lt;STRONG&gt;{$&amp;lt;[CanonicalDate.autoCalendar.Month] = {$(=Max([CanonicalDate.autoCalendar.Month]) + 1)}&lt;/STRONG&gt;&amp;gt;}&lt;BR /&gt;[PD.Statement Line Amount]))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CadeTrav_0-1647967203857.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75063i91A62801EE0A937E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CadeTrav_0-1647967203857.png" alt="CadeTrav_0-1647967203857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Sum-based-on-different-month-values/m-p/1908297#M74872</guid>
      <dc:creator>Kayde_72</dc:creator>
      <dc:date>2022-03-22T16:41:05Z</dc:date>
    </item>
  </channel>
</rss>

