<?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 Count and accumulate members based on month joined (in script) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279190#M852064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'm loading a bunch of member data, one field being Date_Joined. I need to do a lot of work based on how many members we had at any particular month in time, accumulated from all months prior to it. Eg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp; Members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan-15&amp;nbsp;&amp;nbsp; 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb-15&amp;nbsp;&amp;nbsp; 130&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Mar-15&amp;nbsp;&amp;nbsp; 180&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb-17&amp;nbsp;&amp;nbsp; 3000&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am able to work out how many members joined in any particular month, but I'm not having luck accumulating from all previous months. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping I could produce a table in the script, storing each month-year (e.g Jan-2015, Feb-2015...Feb-2017) and say how many members we would have had at that particular point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did get this working in a graph, using the accumulate radio button and an above() expression, but I need to use this data in more places than just the graph, and doing it this way really only works if no selections are made. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to accomplish this myself by generating the months in a table, which I managed to do, but from there I am not sure how to group and accumulate the member join dates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate the help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Count and accumulate members based on month joined (in script)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279190#M852064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'm loading a bunch of member data, one field being Date_Joined. I need to do a lot of work based on how many members we had at any particular month in time, accumulated from all months prior to it. Eg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp; Members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan-15&amp;nbsp;&amp;nbsp; 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb-15&amp;nbsp;&amp;nbsp; 130&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Mar-15&amp;nbsp;&amp;nbsp; 180&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb-17&amp;nbsp;&amp;nbsp; 3000&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am able to work out how many members joined in any particular month, but I'm not having luck accumulating from all previous months. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping I could produce a table in the script, storing each month-year (e.g Jan-2015, Feb-2015...Feb-2017) and say how many members we would have had at that particular point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did get this working in a graph, using the accumulate radio button and an above() expression, but I need to use this data in more places than just the graph, and doing it this way really only works if no selections are made. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to accomplish this myself by generating the months in a table, which I managed to do, but from there I am not sure how to group and accumulate the member join dates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate the help. &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/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279190#M852064</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count and accumulate members based on month joined (in script)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279191#M852065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;in your load script &lt;/P&gt;&lt;P&gt;if you have a table with the fields : MonthYear , members_who_join&lt;/P&gt;&lt;P&gt;than &lt;/P&gt;&lt;P&gt;you can do something like this in the load script &lt;/P&gt;&lt;P&gt;load MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;members_who_join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rangesum(peek('Members',&lt;SPAN style="font-size: 13.3333px;"&gt;members_who_join&lt;/SPAN&gt;) As &lt;SPAN style="font-size: 13.3333px;"&gt;Members&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;resident XXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;order by MonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 11:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279191#M852065</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2017-02-28T11:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count and accumulate members based on month joined (in script)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279192#M852066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I did need to make a temporary table to count the number of members added each month, and then was able to use your solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 06:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-accumulate-members-based-on-month-joined-in-script/m-p/1279192#M852066</guid>
      <dc:creator />
      <dc:date>2017-03-01T06:19:26Z</dc:date>
    </item>
  </channel>
</rss>

