<?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: Rangesum with Aggr? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166673#M379729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea,i tried above thing.&lt;/P&gt;&lt;P&gt;I m getting 0 where i have mentioned my expression i.e Balance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2016 09:48:25 GMT</pubDate>
    <dc:creator>prasadcm</dc:creator>
    <dc:date>2016-05-19T09:48:25Z</dc:date>
    <item>
      <title>Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166665#M379721</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;I have straight with expressions as Amount =Sum(Amount),Balance=RangeSum(above(total(sum(Amount)),0,rowno(Total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balance is total of Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="102.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124894_102.png" style="height: 90px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i search for bank name eg: Bank Indosuez singapore&lt;/P&gt;&lt;P&gt;its amount is 102000 &amp;amp; balance is 102000 which is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i dont make any selections and view the table I get &lt;IMG alt="103.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124895_103.png" style="height: 158px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above bank Balance gets added&lt;/P&gt;&lt;P&gt;I want the balance to be grouped by bank name&lt;/P&gt;&lt;P&gt;I tried with aggr(RangeSum(above(total(sum(Amount)),0,rowno(Total))),[Bank Name]) bt didn't get desired output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 07:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166665#M379721</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-18T07:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166666#M379722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QV12? If you are then this might work using this approach &lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;‌. Else for Aggr to work properly you will have to sort your data properly on the back end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So are you using QV12? Can you provide a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166666#M379722</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T08:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166667#M379723</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;I am using v11.20.&lt;/P&gt;&lt;P&gt;I am providing sample data which is different than above mentioned example.&lt;/P&gt;&lt;P&gt;in the example i have tried to group by quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166667#M379723</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-18T08:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166668#M379724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're going to need an AsOf table for this so you can aggregate the amounts over the Posting Date per bank. See this document: &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166668#M379724</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-18T08:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166669#M379725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166669#M379725</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T08:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166670#M379726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through ur link,I m finding it difficult to implement it in my app.&lt;/P&gt;&lt;P&gt;I created &lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;AsOf table &amp;amp; linked it to my table thorugh PostingDate i.e Period1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;I have added expression to Balance as: sum({&amp;lt;PeriodType={'Rolling 3'}&amp;gt;}Amount).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;I have attached qvw,can u let me know where im going wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;Changes are made in 'Copy of Bank Balance Report' tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;Prasad !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 04:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166670#M379726</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-19T04:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166671#M379727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above example works correctly,how am i supposed to do it in my application?&lt;/P&gt;&lt;P&gt; U have mentioned &lt;STRONG&gt; AutoNumber(RowNo(), quarter) as Row&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I added the above like&lt;STRONG&gt;&amp;nbsp; AutoNumber(RowNo(),[Posting Date]) as Row&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am getting 0 in my result.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can u help me out...I have added qvw in &lt;A href="https://community.qlik.com/thread/217439"&gt;AsofTable&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 08:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166671#M379727</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-19T08:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166672#M379728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mentioned wanting to accumulate on Bank right? Try using this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(RowNo(), BankNameField) as Row&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 09:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166672#M379728</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-19T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166673#M379729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea,i tried above thing.&lt;/P&gt;&lt;P&gt;I m getting 0 where i have mentioned my expression i.e Balance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 09:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166673#M379729</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-19T09:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166674#M379730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you fix the sorting in a resident load before you use AutoNumber()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 09:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166674#M379730</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-19T09:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166675#M379731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,How am i supposed to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 09:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166675#M379731</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-19T09:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166676#M379732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will take a look at the attached sample you have posted on the other thread and give you suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 09:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166676#M379732</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-19T09:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166677#M379733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution suggested by you works,but i am getting duplicate records for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166677#M379733</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-20T11:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166678#M379734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did it? I am still not fully sure what the expected output here is? Would be able to elaborate where you see the issue. May be take snapshots and circle the issue for us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166678#M379734</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-20T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166679#M379735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="b1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125213_b1.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="b2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125214_b2.png" style="height: 171px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-with-Aggr/m-p/1166679#M379735</guid>
      <dc:creator>prasadcm</dc:creator>
      <dc:date>2016-05-20T11:58:08Z</dc:date>
    </item>
  </channel>
</rss>

