<?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: Colum formula result error in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894744#M105551</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Left(:Column, 4), &amp;lt;&amp;lt; Use Locale(0))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, in general what are is your decimal separator? If it is comma, it could be causing the issue. You can also first try to "solve" this in JMP Script Editor to avoid all possible "issues" JMP table could be causing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show(Num(Left("0.01 - 0.02", 4), &amp;lt;&amp;lt; Use Locale(0)));
Show(Num(Left("0,01 - 0,02", 4), &amp;lt;&amp;lt; Use Locale(0)));

Show(Num(Left("0.01 - 0.02", 4), &amp;lt;&amp;lt; Use Locale(1)));
Show(Num(Left("0,01 - 0,02", 4), &amp;lt;&amp;lt; Use Locale(1)));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Num() will return missing value if it isn't able to convert the string to a number.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1755320099416.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80473iB107BD8FE1E3A9C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1755320099416.png" alt="jthi_0-1755320099416.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Aug 2025 04:57:18 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-08-16T04:57:18Z</dc:date>
    <item>
      <title>Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894710#M105546</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need help to solve a problem with a colum formula result error that I am having with my JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is important to mention that this error apparently happens only with my JMP. When a collegue in another company uses the same formula in their JMP it works perfectly, and surprisingly, when they send me the JMP Data Table with this formula it works pretty well im my JMP. So the problem is when I start a JMP Data Table from scratch.&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="bc7d095d-4584-4e89-8b63-c510aedfccd3.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80454i81695EC2644ED0E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="bc7d095d-4584-4e89-8b63-c510aedfccd3.png" alt="bc7d095d-4584-4e89-8b63-c510aedfccd3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;I think that the problem is in the settings but could not find it. Could anyone help me with that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your attention!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Débora Mattos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 19:01:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894710#M105546</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-15T19:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894721#M105547</link>
      <description>&lt;P&gt;Could it be your decimal separator? You could try if &amp;lt;&amp;lt; Use Locale(0/1) would help, &lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/numbers-and-strings.shtml#ww361109" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Types of Data &amp;gt; Numbers and Strings&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 19:17:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894721#M105547</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-15T19:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894726#M105548</link>
      <description>&lt;P&gt;Hi Jarmo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you mean like this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="JMP Error1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80458iAA494D6C132B494E/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP Error1.PNG" alt="JMP Error1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 20:27:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894726#M105548</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-15T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894729#M105549</link>
      <description>&lt;P&gt;1.&amp;nbsp; Try displaying Length MM using a Hex format to see if there are any hidden special characters in your data.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; I normally use the Word() function rather than Substr() in cases like this.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;num( trim( word( 1, :length mm, "-") );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Aug 2025 21:13:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894729#M105549</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-08-15T21:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894731#M105550</link>
      <description>&lt;P&gt;When I do this, it works, but the column type changes to nominal.&amp;nbsp; I thought the Substr function produces a nominal result, not a continuous one.&amp;nbsp; It changes the data type when I click ok, but the preview shows the correct result, not a blank result like yours.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 21:31:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894731#M105550</guid>
      <dc:creator>dlehman1</dc:creator>
      <dc:date>2025-08-15T21:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894744#M105551</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Left(:Column, 4), &amp;lt;&amp;lt; Use Locale(0))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, in general what are is your decimal separator? If it is comma, it could be causing the issue. You can also first try to "solve" this in JMP Script Editor to avoid all possible "issues" JMP table could be causing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Show(Num(Left("0.01 - 0.02", 4), &amp;lt;&amp;lt; Use Locale(0)));
Show(Num(Left("0,01 - 0,02", 4), &amp;lt;&amp;lt; Use Locale(0)));

Show(Num(Left("0.01 - 0.02", 4), &amp;lt;&amp;lt; Use Locale(1)));
Show(Num(Left("0,01 - 0,02", 4), &amp;lt;&amp;lt; Use Locale(1)));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Num() will return missing value if it isn't able to convert the string to a number.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1755320099416.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80473iB107BD8FE1E3A9C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1755320099416.png" alt="jthi_0-1755320099416.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 04:57:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894744#M105551</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-16T04:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894763#M105552</link>
      <description>&lt;P&gt;Yes, my decimal separator is a comma.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem was only solved when using the Left function. Do you know why the Substr function didn't work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will post the outcomes below from other formulas I tried, just to document what worked and didn't worked for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps others as well.&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-left" image-alt="JMP Error2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80488iE813FC4E70D0A487/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP Error2.PNG" alt="JMP Error2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="JMP Error3.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80489i14ED7D31DFAEB05C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP Error3.PNG" alt="JMP Error3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="JMP Error solved.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80490i7853CC099DCCB057/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMP Error solved.PNG" alt="JMP Error solved.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 11:47:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894763#M105552</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-16T11:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894764#M105553</link>
      <description>&lt;P&gt;Apparently, the issue is related to my decimal separator, which is a comma.&lt;/P&gt;
&lt;P&gt;When I use the formula suggested by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;it works pretty well.&lt;/P&gt;
&lt;P&gt;Anyway, thanks for your help!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Left(:Length mm, 4), &amp;lt;&amp;lt; Use Locale(0))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 12:21:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894764#M105553</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-16T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894766#M105554</link>
      <description>&lt;P&gt;I tried to change the display in the "Length mm" column, as you suggested, but I couldn't find the Hex format among the format options. Anyway, I tried your formula to see if it worked, but it didn't.&lt;/P&gt;
&lt;P&gt;It ended up working only with the formula suggested by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;Even so, thanks for your support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 12:43:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894766#M105554</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-16T12:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894770#M105555</link>
      <description>&lt;P&gt;I would think Substr(x, 1, 4) works exactly the same as Left(x, 4) so my guess is that in your formula, with Substr, you are just missing comma after Substr&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Num(Substr("0.01 - 0.02", 1, 4), &amp;lt;&amp;lt; Use Locale(0))&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Aug 2025 14:27:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894770#M105555</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-16T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Colum formula result error</title>
      <link>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894773#M105556</link>
      <description>&lt;P&gt;You're right... including comma worked as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your attention and support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 15:35:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Colum-formula-result-error/m-p/894773#M105556</guid>
      <dc:creator>deboraam</dc:creator>
      <dc:date>2025-08-16T15:35:20Z</dc:date>
    </item>
  </channel>
</rss>

