<?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 aggr function with rangesum(before()) not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397446#M488792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone can help me why this function doesn't return any value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))=3,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CUSTOMER_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 07:35:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-07T07:35:02Z</dc:date>
    <item>
      <title>aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397446#M488792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone can help me why this function doesn't return any value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))=3,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CUSTOMER_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 07:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397446#M488792</guid>
      <dc:creator />
      <dc:date>2013-01-07T07:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397447#M488794</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;Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))=3,1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CUSTOMER_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 07:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397447#M488794</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-01-07T07:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397448#M488796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey plz clarify what's&amp;nbsp; you actually want in output. i didn't get you exactly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 07:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397448#M488796</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-01-07T07:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397449#M488797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i think you miss this&lt;/P&gt;&lt;P&gt;sum( )CUSTOMER_ID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 07:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397449#M488797</guid>
      <dc:creator />
      <dc:date>2013-01-07T07:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397450#M488798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm sorry..it's still not working..i clarify in a moment..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 07:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397450#M488798</guid>
      <dc:creator />
      <dc:date>2013-01-07T07:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function with rangesum(before()) not working</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397451#M488799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to all for fast response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my little problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to count CUSTOMER_ID which have transaction for the last 3 months..it said Loyal Customer..&lt;/P&gt;&lt;P&gt;if the customer_id doesn't have 3 transactions..it's not counted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because count(if can not be used..so i try to manipulate using sum(aggr(rangesum(..which sometime working..but this case not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/297252/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;1st exp : &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(sum(SALES_VALUE_GROSS)&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt; 2nd exp :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))&lt;/P&gt;&lt;P&gt;3rd exp :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))=3,1)&lt;/P&gt;&lt;P&gt;4th exp :&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RangeSum(Before(if(sum(SALES_VALUE_GROSS)&amp;gt;0,1),0,3))=3,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CUSTOMER_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as everyone see..the 4th exp is just summary the 3rd exp..but unfortunately it is not working..&lt;/P&gt;&lt;P&gt;thanks&lt;IMG alt="loyal customer.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/28776_loyal+customer.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 08:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-with-rangesum-before-not-working/m-p/397451#M488799</guid>
      <dc:creator />
      <dc:date>2013-01-07T08:03:51Z</dc:date>
    </item>
  </channel>
</rss>

