<?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: Rolling cumulative sum by groups of column entries in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/376896#M62678</link>
    <description>Use &lt;BR /&gt;     Tables=&amp;gt;Summarize &lt;BR /&gt;Using your m/y column as the grouping column, and nothing else as the statistics column.  The result will give you a data table that can be plotted where # Rows is the count of projects for that m/y</description>
    <pubDate>Wed, 14 Apr 2021 22:09:45 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-04-14T22:09:45Z</dc:date>
    <item>
      <title>Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220267#M44055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create the cumulative sum column as shown in the table below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the Col cumulative sum( value) directly, it gives cumulative sum for entire value column. Can anyone please help me understand how to calculate the cumulative sum for groups of Type as shown in table below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;value&lt;/TD&gt;&lt;TD&gt;cumulative sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt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D&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;71&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;67&lt;/TD&gt;&lt;TD&gt;138&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;32&lt;/TD&gt;&lt;TD&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;73&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;81&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 21:08:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220267#M44055</guid>
      <dc:creator>dileepkr</dc:creator>
      <dc:date>2019-08-06T21:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220277#M44056</link>
      <description>&lt;P&gt;Use the by capability within the Col Cumulative Sum() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col cumulative sum(:value, :Name, :Type);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Aug 2019 21:13:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220277#M44056</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-08-06T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220278#M44057</link>
      <description>Thank you for quick and precise answer :)&lt;/img&gt;</description>
      <pubDate>Tue, 06 Aug 2019 21:19:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/220278#M44057</guid>
      <dc:creator>dileepkr</dc:creator>
      <dc:date>2019-08-06T21:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/376877#M62675</link>
      <description>&lt;P&gt;Hi txnelson - I'm trying to do a very similar task, however I'm missing something basic.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a list of projects with columns for date_start, status, description, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a graph demonstrating a cumulative total of "Active" projects, grouped by m/y.&amp;nbsp; I see this as basically a running count function grouped by date. (starting date format if d/m/y and spans multiple years)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created the m/y column for grouping, but I haven't been able to graph the count of projects organized by the m/y group. I think I'm missing something basic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a scripting solution, I will need a guide as to how to input it as I'm not experienced with JSL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 21:38:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/376877#M62675</guid>
      <dc:creator>pswilliams</dc:creator>
      <dc:date>2021-04-14T21:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/376896#M62678</link>
      <description>Use &lt;BR /&gt;     Tables=&amp;gt;Summarize &lt;BR /&gt;Using your m/y column as the grouping column, and nothing else as the statistics column.  The result will give you a data table that can be plotted where # Rows is the count of projects for that m/y</description>
      <pubDate>Wed, 14 Apr 2021 22:09:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/376896#M62678</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-14T22:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling cumulative sum by groups of column entries</title>
      <link>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/377416#M62730</link>
      <description>Thanks! This worked perfectly.</description>
      <pubDate>Fri, 16 Apr 2021 19:03:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Rolling-cumulative-sum-by-groups-of-column-entries/m-p/377416#M62730</guid>
      <dc:creator>pswilliams</dc:creator>
      <dc:date>2021-04-16T19:03:34Z</dc:date>
    </item>
  </channel>
</rss>

