<?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 3 Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236828#M393295</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;RangeSum(Above(Sum(Marks), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 06:42:26 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-11-11T06:42:26Z</dc:date>
    <item>
      <title>RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236827#M393294</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 below data. Column 5 is the expected value required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using RangeSum it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Column 1-4&lt;/P&gt;&lt;P&gt;Expression 1: Sum(Value)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression 2: RangeSum(Above(Total Sum(Value),0,RowNo(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="174" style="border: 1px solid #000000; width: 591px; height: 175px;" width="589"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Branch&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Expected Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;S5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 06:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236827#M393294</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T06:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236828#M393295</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;RangeSum(Above(Sum(Marks), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 06:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236828#M393295</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-11T06:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236829#M393296</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;a:&lt;/P&gt;&lt;P&gt;LOAD Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[Expected Value]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="239515" data-objecttype="1" href="https://community.qlik.com/thread/239515?sr=inbox&amp;amp;ru=69692"&gt;https://community.qlik.com/thread/239515?sr=inbox&amp;amp;ru=69692&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Load Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Value, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Peek(Country)=Country,PEEK('Value'),0)+Value as Value&lt;/P&gt;&lt;P&gt;Resident a Order by Country;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Drop Table a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sul.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143623_sul.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 06:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236829#M393296</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-11T06:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236830#M393297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doesn't work. Sum(Value) and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum(Marks), 0, RowNo())) &lt;/STRONG&gt;provides same result set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 06:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236830#M393297</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T06:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236831#M393298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try full accumalation option in&amp;nbsp; Expression tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orelse try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accumalate[2]&amp;nbsp; stepback option below that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 06:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236831#M393298</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-11T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236832#M393299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script was working fine for the above data. It doesn't work fine for the below data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I need this to be written in Chart. Please help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143624_Capture.JPG" style="height: 112px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 07:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236832#M393299</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T07:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236833#M393300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;you can try full accumalation option in&amp;nbsp; Expression tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;orelse try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Accumalate[2]&amp;nbsp; stepback option below that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 07:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236833#M393300</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-11T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236834#M393301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236834#M393301</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236835#M393302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum is calculated at Country Level.&lt;/P&gt;&lt;P&gt;Full Accumulation or Accumulate 2 steps back won't work for this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236835#M393302</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236836#M393303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;Can you explain the logic behind getting 15 for last row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236836#M393303</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-11T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236837#M393304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan, I created a document and it's working with your original expression, what isn't working for you?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing this in a pivot table or in a straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 10:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236837#M393304</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-11T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236838#M393305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I spotted the difference, now I have the same doubt as Manish, why that 15? shouldn't be '6' (it's a new country so it starts again)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a new document with this behaviour, I used a hidden column to calculate how many rows of the same country has to sum the above() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 10:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236838#M393305</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-11T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236839#M393306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;That was a typo. Sorry for inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I was expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how these 2 expression works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL Sum(Value), 0, Cont)) ---------------------&amp;gt; Correct (RangeSum Grouped at Country Level)&lt;/P&gt;&lt;P&gt;RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL))) -----&amp;gt; Full Accumulation Not Required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you so much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 14:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236839#M393306</guid>
      <dc:creator>qv_jagan</dc:creator>
      <dc:date>2016-11-11T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with 3 Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236840#M393307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&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;RangeSum(Above(TOTAL Sum(Value), 0, Cont)&lt;/SPAN&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;Cont&lt;/STRONG&gt; is another expression on the chart, it's an incremental autonumeric that starts at 1 each time it founds a different country than the previous row, so each row knows how many rows of the same country are above (those rows have to be accumulated)&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;This column is hidden in the presentation tab, so it's only used to calculate another expression, not to show in chart.&lt;BR /&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;RowNo(TOTAL)&lt;/STRONG&gt; counts the number of rows, the TOTAL identifier specifies to ignore chart dimensions, so it counts all rows, without restarting in each country.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You can add an expression with just &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RowNo(TOTAL) and another with RowNo() to check the differences. The behaviour also changes between a straigh table and a pivot table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 10:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-3-Dimension/m-p/1236840#M393307</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-14T10:20:04Z</dc:date>
    </item>
  </channel>
</rss>

