<?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 How can I treat a missing value in a locked column as zero? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778438#M96005</link>
    <description>&lt;P&gt;JMP 17.2.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across &lt;A href="https://community.jmp.com/t5/Discussions/Calculate-time-difference-and-summing-the-values/td-p/488599" target="_self"&gt;this thread&lt;/A&gt;, which was a perfect solution to calculating a time difference between rows, using the formula below in a Formula Column.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum(Dif(:Time))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I am getting a blank/missing item in the first cell of the Formula Column, which then causes my resulting graph to not start at zero.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="polymerist_1-1722622321987.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66773iE436A7EEB50CC323/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polymerist_1-1722622321987.png" alt="polymerist_1-1722622321987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I'm getting around it by inserting a row at the top of the data table with the same time, which results in Row 2 providing a zero-point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="polymerist_2-1722622422505.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66774iD3B108FC8AA3FDF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polymerist_2-1722622422505.png" alt="polymerist_2-1722622422505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to treat the missing value as zero in a locked column? Or better yet, is there an edit I can make to the formula to form a T0 point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 18:20:09 GMT</pubDate>
    <dc:creator>polymerist</dc:creator>
    <dc:date>2024-08-02T18:20:09Z</dc:date>
    <item>
      <title>How can I treat a missing value in a locked column as zero?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778438#M96005</link>
      <description>&lt;P&gt;JMP 17.2.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across &lt;A href="https://community.jmp.com/t5/Discussions/Calculate-time-difference-and-summing-the-values/td-p/488599" target="_self"&gt;this thread&lt;/A&gt;, which was a perfect solution to calculating a time difference between rows, using the formula below in a Formula Column.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum(Dif(:Time))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, I am getting a blank/missing item in the first cell of the Formula Column, which then causes my resulting graph to not start at zero.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="polymerist_1-1722622321987.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66773iE436A7EEB50CC323/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polymerist_1-1722622321987.png" alt="polymerist_1-1722622321987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I'm getting around it by inserting a row at the top of the data table with the same time, which results in Row 2 providing a zero-point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="polymerist_2-1722622422505.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66774iD3B108FC8AA3FDF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polymerist_2-1722622422505.png" alt="polymerist_2-1722622422505.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to treat the missing value as zero in a locked column? Or better yet, is there an edit I can make to the formula to form a T0 point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:20:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778438#M96005</guid>
      <dc:creator>polymerist</dc:creator>
      <dc:date>2024-08-02T18:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I treat a missing value in a locked column as zero?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778470#M96007</link>
      <description>&lt;P&gt;You can for example add if statement&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(Row() == 1,
	0
,
	Col Cumulative Sum(Dif(:Time))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:43:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778470#M96007</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-02T18:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I treat a missing value in a locked column as zero?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778477#M96009</link>
      <description>&lt;P&gt;Beautiful, thank you! The below worked perfectly.&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="polymerist_0-1722624756894.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66778iE2C1925CD2A86B4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="polymerist_0-1722624756894.png" alt="polymerist_0-1722624756894.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:53:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-treat-a-missing-value-in-a-locked-column-as-zero/m-p/778477#M96009</guid>
      <dc:creator>polymerist</dc:creator>
      <dc:date>2024-08-02T18:53:15Z</dc:date>
    </item>
  </channel>
</rss>

