<?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: Summing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Summing/m-p/857156#M1011150</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=SUM({&amp;lt;Referral_Date = {"&amp;gt;=$(=MonthStart(AddYears(Today(), -1)))"}&amp;gt;}Referral_Count)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 10:53:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-30T10:53:42Z</dc:date>
    <item>
      <title>Summing</title>
      <link>https://community.qlik.com/t5/QlikView/Summing/m-p/857155#M1011149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a bit of a brain block here, It's the simplest of things to do but my brain has gone. I am trying to sum a field that has 1's in it where the referral date is greater than this time last year. example of my code&amp;nbsp; =SUM({&amp;lt;Referral_Date = {"MONTHSTART(TODAY()-366)"}&amp;gt;}Referral_Count)&amp;nbsp; any help will be greatful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing/m-p/857155#M1011149</guid>
      <dc:creator />
      <dc:date>2015-04-30T10:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Summing</title>
      <link>https://community.qlik.com/t5/QlikView/Summing/m-p/857156#M1011150</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=SUM({&amp;lt;Referral_Date = {"&amp;gt;=$(=MonthStart(AddYears(Today(), -1)))"}&amp;gt;}Referral_Count)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing/m-p/857156#M1011150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-30T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Summing</title>
      <link>https://community.qlik.com/t5/QlikView/Summing/m-p/857157#M1011151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set_analysis can be tricky. The easiest way to deal with it is - not to use it if you don't have to.&lt;/P&gt;&lt;P&gt;If you just want to sum this field with a condition, just try&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; sum(IF(Referral_Date &amp;gt; Monthstart(Today(), -12), Referral_Count, 0) &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The function &amp;gt;&amp;gt; Monthstart(Today(), -12) &amp;lt;&amp;lt; returns the start of the same month one year ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible with set_analysis, no doubt, but that is resource_heavy and, as one can see (not only from your post, there are many who have trouble with it), error_prone - so avoid it if it's not necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing/m-p/857157#M1011151</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-04-30T10:56:37Z</dc:date>
    </item>
  </channel>
</rss>

