<?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: Accumulation - include first row in totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788459#M662509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(RowNo(total) = 1,column(1)/sum(total cnt),&lt;/P&gt;&lt;P&gt;rangesum(column(1)/sum(total cnt),Above(total [Running Total]))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 00:40:52 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-03-12T00:40:52Z</dc:date>
    <item>
      <title>Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788454#M662504</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'm having an issue with my accumulation function. I need it to include the value on the first row as well. Below is the output I am currently experiencing, however what I was expecting to see is in the "Running Total" column - 75.73% on the first row and the subsequent values adding on top of the initial value. Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how the columns are being calculated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relative Total: sum(count) WITH relative option selected&lt;/P&gt;&lt;P&gt;Total Count: sum(count) WITHOUT relative option selected&lt;/P&gt;&lt;P&gt;Running Total: Above(TOTAL Column(1)) + If(Above(TOTAL Column(3)) &amp;gt; 0, Above(TOTAL Column(3)), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80488" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80488_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 20:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788454#M662504</guid>
      <dc:creator />
      <dc:date>2015-03-11T20:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788455#M662505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this help:&lt;/P&gt;&lt;P&gt;if(rowno()=1,sum([Relative Total]),RangeSum (above(sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Relative Total]&lt;/SPAN&gt;),0,RowNo())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80500_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is different data set but as you see is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 20:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788455#M662505</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-11T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788456#M662506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply but using your solution fills all of the rows with 0%&lt;IMG alt="test.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80501_test.png" style="height: 342px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 21:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788456#M662506</guid>
      <dc:creator />
      <dc:date>2015-03-11T21:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788457#M662507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm at home using PE so I can not ask for qvw file unless you can wait till tomorrow when I at work.&lt;/P&gt;&lt;P&gt;But if you can post sample of your data I can look at this again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 21:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788457#M662507</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-11T21:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788458#M662508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a .csv of the raw data. In the table i'm rolling the data up to Month-Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 21:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788458#M662508</guid>
      <dc:creator />
      <dc:date>2015-03-11T21:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788459#M662509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(RowNo(total) = 1,column(1)/sum(total cnt),&lt;/P&gt;&lt;P&gt;rangesum(column(1)/sum(total cnt),Above(total [Running Total]))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 00:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788459#M662509</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-03-12T00:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788460#M662510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply Ramon. Unfortunately using your solution is not accumulating the relative percentage.Is there any other options i need enabled?&lt;IMG alt="test.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80511_test.png" style="height: 314px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 02:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788460#M662510</guid>
      <dc:creator />
      <dc:date>2015-03-12T02:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation - include first row in totals</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788461#M662511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running Total: Alt(Above( Column(3)),0)+Sum(cnt)&lt;/P&gt;&lt;P&gt;Running Total %: Column(3)/ Sum(TOTAL cnt)*100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 02:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-include-first-row-in-totals/m-p/788461#M662511</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-12T02:42:11Z</dc:date>
    </item>
  </channel>
</rss>

