<?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: Cumulative calculation from 3rd day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116535#M908192</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;Are you looking like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(total sum(Amount), 0, rowno(Total)-2))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 04:48:02 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2016-06-15T04:48:02Z</dc:date>
    <item>
      <title>Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116532#M908189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We were using the below logic to get the cumulative total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic: &lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&lt;STRONG&gt;rangesum(above(total sum(Product$TY), 0, rowno(Total)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we need to calculate the cumulative total from 3rd row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116532#M908189</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116533#M908190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this expression is used in straight table. You can use rank() there and just write a if condition that if rank is 3 then &lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;rangesum(above(total sum(Product$TY), 0, rowno(Total)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116533#M908190</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-06-15T04:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116534#M908191</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;Can you please provide the complete logic,because when i include the rank in the logic it gives error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116534#M908191</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-15T04:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116535#M908192</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;Are you looking like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(total sum(Amount), 0, rowno(Total)-2))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116535#M908192</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-06-15T04:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116536#M908193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;Rangesum(Above(total If(Rowno(Total)&amp;gt;2, sum(Product$TY)), 0, Rowno(Total)))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116536#M908193</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-15T04:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116537#M908194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We need to accumulate the data as below..&lt;/P&gt;&lt;P&gt;31st would remain same..1st would remain same and from 2nd it should accumulate with 1st and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127910_Untitled.png" style="height: auto;" /&gt; &lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 05:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116537#M908194</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-15T05:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116538#M908195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(If(Rowno(Total)&amp;gt; 2, rangesum(above(total sum(Amount), 0, rowno(Total)-1)), 0), Sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 05:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116538#M908195</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-06-15T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116539#M908196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mayil..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same if we need to do it for %..and we use the below logic..but it simply adds the sum like 1st the % is 10.5% on 2nd its 90.5% but here the cumulative gives 101% which is not correct..we need the avg %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the logic used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(If(Rowno(Total)&amp;gt; 2, rangesum(above(total ((&lt;STRONG&gt;Sum(Product$TY))/Sum(Product$LY&lt;/STRONG&gt;)), 0, rowno(Total)-1)), 0), ((&lt;STRONG&gt;Sum(Product$TY))/Sum(Product$LY)&lt;/STRONG&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>Wed, 15 Jun 2016 06:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116539#M908196</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-15T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative calculation from 3rd day</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116540#M908197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Instead of RangeSum, try with RangeAvg() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 06:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-calculation-from-3rd-day/m-p/1116540#M908197</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-06-15T06:08:26Z</dc:date>
    </item>
  </channel>
</rss>

