<?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 For Sum Function (Set Analyses) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39757#M780482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Year = {"$(=Max(Year))"}, Month = {"$(=Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;}&lt;/SPAN&gt;Month))"}&amp;gt;} Envanter)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2018 12:32:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-04-02T12:32:22Z</dc:date>
    <item>
      <title>Help For Sum Function (Set Analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39755#M780478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the filter screen, when 2017 and 2018 is selected, I can see all available months for selection. However, while doing the calculations, I want to use the months of 2018 only. For instance, when I execute this code, the biggest year 2018 can be selected as well as the biggest month the 12th can be selected whereas there is no 12th month available for 2018 in my dataset, due to this it doesn't work properly. What I want is, when I select a year, months should be filtered out based on the selected month and calculations should be done accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={"$(=(Max(Year)))"}, Month={"$(=(Max(Month)))"}&amp;gt;} Envanter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={"$(=(Max(Year)))"}&amp;gt; * $&amp;lt;Month={"$(=(Max(Month)))"}&amp;gt;} Envanter)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/198135_Picture.png" style="font-size: 13.3333px; float: none;" /&gt;&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/Help-For-Sum-Function-Set-Analyses/m-p/39755#M780478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help For Sum Function (Set Analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39756#M780480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally, in this scenario you should use date field instead, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;&lt;STRONG&gt;Year, Month,&lt;/STRONG&gt; Date={"&amp;gt;=$(=&lt;STRONG&gt;MonthStart&lt;/STRONG&gt;(Max(Date))) &amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=&lt;STRONG&gt;MonthEnd&lt;/STRONG&gt;(Max(Date)))&lt;/SPAN&gt;"}&amp;gt;} Envanter)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 12:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39756#M780480</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-02T12:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help For Sum Function (Set Analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39757#M780482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Year = {"$(=Max(Year))"}, Month = {"$(=Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;}&lt;/SPAN&gt;Month))"}&amp;gt;} Envanter)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 12:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39757#M780482</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-02T12:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help For Sum Function (Set Analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39758#M780483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You so much , its work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 13:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39758#M780483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-02T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help For Sum Function (Set Analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39759#M780486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, we are glad that we were able to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 14:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-For-Sum-Function-Set-Analyses/m-p/39759#M780486</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-02T14:00:55Z</dc:date>
    </item>
  </channel>
</rss>

