<?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: Accumulated count in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37530#M6347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(StartDate &amp;lt; Previous(EndDate), RangeSum(Peek('AccumulatedCount'), 1), Peek('AccumulatedCount')) as AccumulatedCount&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 12:27:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-16T12:27:04Z</dc:date>
    <item>
      <title>Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37527#M6344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I need to do something it may be simple but so far I'm no able to get it. So basically what I want is illustrated in the "AccumulatedCount" column below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;Key&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;StartDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;EndDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Count&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;AccumulatedCount&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/02/2018&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;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;13/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;14/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&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;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;15/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&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;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;14/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;16/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest shoot I got so far is use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;StartDate&lt;/SPAN&gt;&amp;lt; Previous(&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;EndDate&lt;/SPAN&gt;), &lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;Count&lt;/SPAN&gt;+1, Previous(&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;Count&lt;/SPAN&gt;))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS&amp;nbsp; &lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;AccumulatedCount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff; font-size: 13.3333px; text-align: center; background-color: #6690bc;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But, of course that's not what I want cause I'm summing 1 to 1 all the time:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&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;Key&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;StartDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;EndDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Count&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;AccumulatedCount&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/02/2018&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;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;13/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;14/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;15/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;14/02/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;16/02/2018&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need something like that expression but over the AccumulatedCount field but not sure how to do it. Hope it makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 11:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37527#M6344</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37528#M6345</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(Peek('AccumulatedCount'), 1) as AccumulatedCount&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 12:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37528#M6345</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37529#M6346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work. The problem really is that you need to add 1 every single time the conditions fulfills (i.e. a simple a++ in any programming language) but here in the load editor you can't just do that. So I'm not sure if this is doable or you need to do it in the chart instead (although the same problem might happen there). &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how to solve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 12:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37529#M6346</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T12:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37530#M6347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(StartDate &amp;lt; Previous(EndDate), RangeSum(Peek('AccumulatedCount'), 1), Peek('AccumulatedCount')) as AccumulatedCount&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 12:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37530#M6347</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T12:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37531#M6348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what I tried before. But something weird is happening or I'm missing something cause even in a table chart using the below expression and simplifying it without taking into account the date fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(SessionCount,0)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193615_RangeSum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which should work to gave me and accumulated value, it's just displaying always 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same thing happens in the script if I use peek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 12:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37531#M6348</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37532#M6349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really, you have not used RowNo()&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(SessionCount, 0, RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 12:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37532#M6349</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37533#M6350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, you're right but still not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193622_RangeSum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37533#M6350</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T13:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37534#M6351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have more than one dimensions in there.... Try this&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;RangeSum(Above(TOTAL SessionCount, 0, RowNo(TOTAL)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37534#M6351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37535#M6352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Didn't know you need to do that when you have more than 1 dimension. Thanks a lot, you've been very helpful! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37535#M6352</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37536#M6353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this will continue to accumulate regardless of change in any of your dimensions.... if that is what you want, then that is great... else you will have to play around with your expression to make it to work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37536#M6353</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T13:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37537#M6354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although if I tried to applied the date logic to it or put it into the script I fail miserably:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Session Start]&amp;lt; Above([Session End]), RangeSum(Above(TOTAL SessionCount,0, RowNo(TOTAL))), Above(SessionCount)) // Chart Not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if([Session Start]&amp;lt; Previous([Session End]), RangeSum(Peek(SessionCount,0, RowNo())), Peek(SessionCount)) AS RollingSessionCount&amp;nbsp; // Script Not working&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37537#M6354</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37538#M6355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, indeed that's not what I really want, but it's a step forward. I'll try to figure it out playing around yest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37538#M6355</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37539#M6356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be provide few rows of data where the condition is met and where the condition isn't met and then share the output you expect to see from it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37539#M6356</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T13:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37540#M6357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, this is an xlsx sample file and the image below explains what I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AccumulatedCount.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193626_AccumulatedCount.PNG" style="height: 144px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope it makes sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 13:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37540#M6357</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2018-02-16T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated count in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37541#M6358</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;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD StartDate, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Session&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;[..\..\Downloads\AccumulatedCount.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; If(StartDate &amp;lt;= Previous(EndDate), RangeSum(Peek('Accu'), Session), Alt(Peek('Accu'), Session)) as Accu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Order By StartDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-count-in-script/m-p/37541#M6358</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-16T14:16:45Z</dc:date>
    </item>
  </channel>
</rss>

