<?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 Starting at Zero in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335597#M29264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies your absolutely right, reason it wasnt working for me was because I have multiple Products in the main App which means the first Product is RowNo 0 and then everyone else isnt (Due to an AGGR sorting on Product name and then Date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Potentially then a mix of Min(Date) to try and show it Zero on the mindate or something else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 11:19:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-25T11:19:42Z</dc:date>
    <item>
      <title>RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335591#M29258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the support on this one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way to start a RangeSum Accumilation at Zero when the data range isn't zero at the original start point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the attached Excel I can use RangeSum(Above(Return(Value),0,rowno())) to see the accumilation of totals which is great but If I needed that initial point to start at Zero (Without just writing 0 on the Excel sheet) is there a way to have the Rangesum start at Zero before starting the Ranged Sum please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAny thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2021 20:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335591#M29258</guid>
      <dc:creator />
      <dc:date>2021-12-22T20:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335592#M29259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(RowNo() = 1, 0, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;RangeSum(Above(Return(Value), 0, RowNo())))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 10:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335592#M29259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-25T10:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335593#M29260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, cheers for the rapid reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above doesn't activate them both, so it will always have a RowNo 1 so will set it to 0 and won't then do the RangeSum giving you a horizontal 0 line on the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 10:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335593#M29260</guid>
      <dc:creator />
      <dc:date>2017-05-25T10:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335594#M29261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand.....&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The above doesn't activate them both&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;both? activate? can you elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 10:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335594#M29261</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-25T10:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335595#M29262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, not sure the best way to explain but if you use the attached Excel and use that Expression in a line chart you'll see what I mean, it makes every RowNo = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 10:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335595#M29262</guid>
      <dc:creator />
      <dc:date>2017-05-25T10:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335596#M29263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not true... When I use RowNo() as the expression, I see a upward sloping line like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="164728" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164728_Capture.PNG" style="height: 192px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: So this tells me that RowNo() is not 0 and keeps on changing based on dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 10:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335596#M29263</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-25T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335597#M29264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies your absolutely right, reason it wasnt working for me was because I have multiple Products in the main App which means the first Product is RowNo 0 and then everyone else isnt (Due to an AGGR sorting on Product name and then Date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Potentially then a mix of Min(Date) to try and show it Zero on the mindate or something else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335597#M29264</guid>
      <dc:creator />
      <dc:date>2017-05-25T11:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335598#M29265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your IF statement was the key so thank you, for the actual date set it went a bit more complex and I used a flag to set start dates but otherwise spot on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Date = min({$&amp;lt;[#RecommendationFlag] = {1}&amp;gt;} total Date), 0, Max(Aggr(rangesum(above(sum({$&amp;lt;[#RecommendationFlag] = {1}&amp;gt;} return),0,rowno())),[Product Name], Date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335598#M29265</guid>
      <dc:creator />
      <dc:date>2017-05-25T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Starting at Zero</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335599#M29266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 11:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-Starting-at-Zero/m-p/1335599#M29266</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-25T11:39:53Z</dc:date>
    </item>
  </channel>
</rss>

