<?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: Odd behaviour with rangesum(before(sum function in pivot chart. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177759#M382098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Try =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;before&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jul 2016 15:20:52 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-07-05T15:20:52Z</dc:date>
    <item>
      <title>Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177758#M382097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having difficulties with this formula, no matter how simple I make it.&amp;nbsp; Basically I'm dealing with financial data, where a field needs to represent a running sum (aggregated to the field value to the left of it, for the previous fiscal period).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I isolate just a single row of data, the aggregated sums are represented correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I have multiple rows (ie. separate balance sheet items), the formula doesn't consistently add to the previous - before - value, but seems to sometimes reset along the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple example that I'm using that shows this issue: &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;before&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: maroon;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone run into a similar issue?&amp;nbsp; I must be doing something wrong here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 14:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177758#M382097</guid>
      <dc:creator />
      <dc:date>2016-07-05T14:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177759#M382098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Try =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;rangesum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;before&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;Budget&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177759#M382098</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-07-05T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177760#M382099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we need another TOTAL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Before(&lt;SPAN style="color: #ff6600;"&gt;TOTAL&lt;/SPAN&gt; Sum(Budget), 0, ColumnNo(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177760#M382099</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-05T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177761#M382100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably, good call. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177761#M382100</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-07-05T15:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177762#M382101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried both of your suggestions and the values shown are consistent with what they were before (incorrect when multiple rows are showing).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177762#M382101</guid>
      <dc:creator />
      <dc:date>2016-07-05T15:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177763#M382102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample or some screenshots? We might be missing something here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177763#M382102</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-05T15:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177764#M382103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="correct (isolated selection).png" class="jive-image image-1" src="/legacyfs/online/130199_correct (isolated selection).png" style="height: 47px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This is correct (isolated a single IncomeGroup).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="incorrect.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/130201_incorrect.png" style="height: 9px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This is the same incomegroup shown without being filtered out, showing the same periods.&amp;nbsp; Note I have the same issue for both Income and Budget expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177764#M382103</guid>
      <dc:creator />
      <dc:date>2016-07-05T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behaviour with rangesum(before(sum function in pivot chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177765#M382104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using if statements or set analysis in your expression to restrict something? I am not 100% sure what might be going on here....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-behaviour-with-rangesum-before-sum-function-in-pivot-chart/m-p/1177765#M382104</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-05T16:50:25Z</dc:date>
    </item>
  </channel>
</rss>

