<?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 sum in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355530#M60554</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/706"&gt;@stan_koprowski&lt;/a&gt;&amp;nbsp;Thank you Stan. This works perfectly.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 17:57:26 GMT</pubDate>
    <dc:creator>billi</dc:creator>
    <dc:date>2021-02-03T17:57:26Z</dc:date>
    <item>
      <title>cumulative sum</title>
      <link>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355460#M60545</link>
      <description>&lt;P&gt;Is there a simple way to&amp;nbsp; calculate the cumulative sum when there is a group and subgroup that are to be cumulative sum. Shown in the following picture, I want to calculate cumulative sum for batch 1 and all sample a, then batch 1 and all sample b and then batch 1 and all sample c.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="billi_0-1612370427447.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29962iD46150D36DB541B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="billi_0-1612370427447.png" alt="billi_0-1612370427447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:25:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355460#M60545</guid>
      <dc:creator>billi</dc:creator>
      <dc:date>2023-06-10T23:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum</title>
      <link>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355481#M60548</link>
      <description>&lt;P&gt;From your description, it sounds like a simple tabulate will give you what you want (script in the attached file - with the batch changed to nominal data type).&amp;nbsp; However, if you want a formula for the cumulative sum, you can use the Cumulative Sum function (found in the Statistics functions) using both batch and sample as By variables (but that gives a running total by row, not the overall cumulative sum like the tabulation will give).&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:21:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355481#M60548</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2021-02-03T17:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum</title>
      <link>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355502#M60550</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14229"&gt;@billi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can add a right-click formula column for cumulative sum.&lt;/P&gt;
&lt;P&gt;Right-Click on a column and choose New Formula Column.&lt;/P&gt;
&lt;P&gt;Choose Row--Cumulative Sum&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP New Formula Column" style="width: 940px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29967iB352F49762B81334/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-03 at 12.22.59 PM.png" alt="JMP New Formula Column" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JMP New Formula Column&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Edit formula to add by variable using &amp;quot;^&amp;quot; insert" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29968i84DFDC9C7EEDAA73/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-03 at 12.23.27 PM.png" alt="Edit formula to add by variable using &amp;quot;^&amp;quot; insert" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Edit formula to add by variable using "^" insert&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will calculate the cumulative sum as shown in the image below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cumulative Sum with By variable" style="width: 722px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29969i4D749DF718C7A415/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-03 at 12.26.23 PM.png" alt="Cumulative Sum with By variable" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Cumulative Sum with By variable&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached a modified version of your data table with the included column formula.&lt;/P&gt;
&lt;P&gt;cheers,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:28:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355502#M60550</guid>
      <dc:creator>stan_koprowski</dc:creator>
      <dc:date>2021-02-03T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum</title>
      <link>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355530#M60554</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/706"&gt;@stan_koprowski&lt;/a&gt;&amp;nbsp;Thank you Stan. This works perfectly.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:57:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/cumulative-sum/m-p/355530#M60554</guid>
      <dc:creator>billi</dc:creator>
      <dc:date>2021-02-03T17:57:26Z</dc:date>
    </item>
  </channel>
</rss>

