<?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: How to find the difference between rows by a group with missing data? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921766#M108047</link>
    <description>&lt;P&gt;This is exactly what I was looking for! Thank you so much I've been trying for hours to figure this out.&lt;/P&gt;
&lt;P&gt;Solution accepted.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2025 17:55:31 GMT</pubDate>
    <dc:creator>PruningTheBird9</dc:creator>
    <dc:date>2025-12-30T17:55:31Z</dc:date>
    <item>
      <title>How to find the difference between rows by a group with missing data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921743#M108045</link>
      <description>&lt;P&gt;I'm running into this issue where I have two sets of datapoints across my timeline. One is collected at every point in the interval, the other is collected sporadically. When placed together in a data table, one of the columns is missing data every in the interval. I attached a data table as an example but essentially looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PruningTheBird9_0-1767111143533.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89944i433912ED2F446B0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PruningTheBird9_0-1767111143533.png" alt="PruningTheBird9_0-1767111143533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I need now is to get the difference between rows that contain data in the Glucose (g/L) column, grouped by Bioreactor column. For e.g., at 36 hrs for Bioreactor 1, my value would be "-1" (3 - 4). For bioreactor 2 at 120 hrs, my value would be "1" (2 - 1).&lt;/P&gt;
&lt;P&gt;Lag hasn't been working since it requires that the values are spaced apart similarly, which they are not. I would appreciate any help and/or guidance!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 16:17:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921743#M108045</guid>
      <dc:creator>PruningTheBird9</dc:creator>
      <dc:date>2025-12-30T16:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between rows by a group with missing data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921765#M108046</link>
      <description>&lt;P&gt;As you seem to be using JMP19 Col At() might do what you are looking for (but I'm not 100% sure). You could try with formula like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:"Glucose (g/L)"n - Col At(:"Glucose (g/L)"n, -1, :Bioreactor, &amp;lt;&amp;lt; relative(1), &amp;lt;&amp;lt;Skip Missing(:"Glucose (g/L)"n))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1767115608220.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89947i8BD25A08647F5CAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1767115608220.png" alt="jthi_0-1767115608220.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this isn't what you are looking for, could you provide full "correct result" column? For example for Bioreactor 1 what would be the values at 0, 84, 132 and 180 hours? Or are you just interested in the first difference which can be calculated?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 17:27:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921765#M108046</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-30T17:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the difference between rows by a group with missing data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921766#M108047</link>
      <description>&lt;P&gt;This is exactly what I was looking for! Thank you so much I've been trying for hours to figure this out.&lt;/P&gt;
&lt;P&gt;Solution accepted.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 17:55:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-find-the-difference-between-rows-by-a-group-with-missing/m-p/921766#M108047</guid>
      <dc:creator>PruningTheBird9</dc:creator>
      <dc:date>2025-12-30T17:55:31Z</dc:date>
    </item>
  </channel>
</rss>

