<?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: Find row differences in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813761#M99543</link>
    <description>&lt;P&gt;You can also set the rowstate to selected for the rows you find that have met the criteria&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; select rows(.....)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Nov 2024 15:40:24 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-11-18T15:40:24Z</dc:date>
    <item>
      <title>Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813711#M99528</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a file and I need to determine if any of the numbers in the 'Pos UCN' column are within 10 of any other row in that column. For example, rows 6344 and 6345 are within 10 of each other. How do I identify that? I know that this will create a new column, which is what I want. I have spent 2 days on the user community trying various things and have not had any luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patriciafm811_0-1731935443448.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70339i9D699E4A617534C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patriciafm811_0-1731935443448.png" alt="patriciafm811_0-1731935443448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the difference between the rows. I believe this would creat a new column of 'difference' between the. I would also like to identify (in another new column)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 13:15:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813711#M99528</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2024-11-18T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813746#M99534</link>
      <description>&lt;P&gt;What do you want to do with the values that contain characters?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:25:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813746#M99534</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-18T14:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813748#M99535</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the difference between 2 rows, then you have the formula below.&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="SophieCuvillier_0-1731940403834.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70342iCE0BFEDE5166E388/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieCuvillier_0-1731940403834.png" alt="SophieCuvillier_0-1731940403834.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to make sure that your line is at least 10 away from all the other lines, you can do this as follows:&lt;/P&gt;&lt;P&gt;- Convert your column into a number (see what we do with characters)&lt;BR /&gt;- Arrange your column in ascending order&lt;BR /&gt;- Create the Diff column using the formula above and check if there are some diff &amp;lt; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:43:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813748#M99535</guid>
      <dc:creator>SophieCuvillier</dc:creator>
      <dc:date>2024-11-18T14:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813751#M99537</link>
      <description>&lt;P&gt;They have to be character values because I need the leading 0's.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:40:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813751#M99537</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2024-11-18T14:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813754#M99539</link>
      <description>&lt;P&gt;Thank you. This gives me a count difference between rows. Now how do I highlight rows that a difference of less than 10?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:44:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813754#M99539</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2024-11-18T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813758#M99540</link>
      <description>&lt;P&gt;In the same way, you can create a formula as below to get if the difference is less than 10 (1) or not (0) in a new column&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="SophieCuvillier_0-1731941430105.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70344iA31D65C95EDE5BE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieCuvillier_0-1731941430105.png" alt="SophieCuvillier_0-1731941430105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And use color values property to highlight rows with less than 10 of difference&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="SophieCuvillier_1-1731941463867.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70345i5BC6699D1EC94D20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieCuvillier_1-1731941463867.png" alt="SophieCuvillier_1-1731941463867.png" /&gt;&lt;/span&gt;&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="SophieCuvillier_2-1731941473623.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70346iB870B804D5A79995/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SophieCuvillier_2-1731941473623.png" alt="SophieCuvillier_2-1731941473623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 14:51:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813758#M99540</guid>
      <dc:creator>SophieCuvillier</dc:creator>
      <dc:date>2024-11-18T14:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813761#M99543</link>
      <description>&lt;P&gt;You can also set the rowstate to selected for the rows you find that have met the criteria&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; select rows(.....)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2024 15:40:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813761#M99543</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-11-18T15:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813763#M99544</link>
      <description>&lt;P&gt;I was talking about these:&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="mmarchandFSLR_0-1731946586521.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70347iFE07592F734AB532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandFSLR_0-1731946586521.png" alt="mmarchandFSLR_0-1731946586521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 16:16:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813763#M99544</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-18T16:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813802#M99553</link>
      <description>&lt;P&gt;So I was able to make my two additional columns (Diff and Prev UCN &amp;lt;=5). But I want to be able to get both the numbers. So for row 6345, it identifies as a previous row within 5, but I want to also identify that row before (6344)? This is looking for a "Pos UCN" +/- 5 to see if there are numbers that are close together. If they are close together, I want to identify both so I can look further and determine any potential issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 18:45:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813802#M99553</guid>
      <dc:creator>patriciafm811</dc:creator>
      <dc:date>2024-11-18T18:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find row differences</title>
      <link>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813833#M99559</link>
      <description>&lt;P&gt;One option is to change the Diff column to perform the comparison&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(Dif(Num(:Pos UCN), 1) &amp;lt;= 5 | Abs(Dif(Num(:Pos UCN), -1)) &amp;lt;= 5,
	1,
	0
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or just calculate minimum difference and then perform check after&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Min(Dif(Num(:Pos UCN), 1), Abs(Dif(Num(:Pos UCN), -1)))&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2024 20:13:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-row-differences/m-p/813833#M99559</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-18T20:13:19Z</dc:date>
    </item>
  </channel>
</rss>

