<?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: New Sequence column creation based on another ID columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215552#M43067</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/15232"&gt;@venkateshc78&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also try this for more disscussion on the topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Syntax-How-do-I-create-an-index-column-by-ID/m-p/9751/highlight/true#M9537" target="_self"&gt;https://community.jmp.com/t5/Discussions/Syntax-How-do-I-create-an-index-column-by-ID/m-p/9751/highlight/true#M9537&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jun 2019 20:56:50 GMT</pubDate>
    <dc:creator>ron_horne</dc:creator>
    <dc:date>2019-06-30T20:56:50Z</dc:date>
    <item>
      <title>New Sequence column creation based on another ID columns</title>
      <link>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215541#M43065</link>
      <description>&lt;P&gt;I've an existing column which has the Customer ID which occurs multiple times in the whole data table on a different date/time. I want to create a sequence such as 1,2,3 for each of the Unique Customer ID based on the date/time variable. How to acheive the same in JMP ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Data snippet (Customer ID | Date)&lt;/P&gt;&lt;P&gt;ABC | 1-JUN-2019&amp;nbsp;&lt;/P&gt;&lt;P&gt;XYZ | 1-JUN-2019&lt;/P&gt;&lt;P&gt;ABC | 3-JUN-2019&lt;/P&gt;&lt;P&gt;ABC | 4-JUN-2019&lt;/P&gt;&lt;P&gt;XYZ | 7-JUN-2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a result like below ((Customer ID | Date | Sequence for Customre ID/Date combination)&lt;/P&gt;&lt;P&gt;ABC | 1-JUN-2019 | 1&lt;/P&gt;&lt;P&gt;XYZ | 1-JUN-2019 | 1&lt;/P&gt;&lt;P&gt;ABC | 3-JUN-2019 | 2&lt;/P&gt;&lt;P&gt;ABC | 4-JUN-2019 | 3&lt;/P&gt;&lt;P&gt;XYZ | 7-JUN-2019 | 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jun 2019 18:42:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215541#M43065</guid>
      <dc:creator>venkateshc78</dc:creator>
      <dc:date>2019-06-30T18:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: New Sequence column creation based on another ID columns</title>
      <link>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215551#M43066</link>
      <description>&lt;P&gt;Here is a formula that will work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
theRow = Row();
theCustomer = :Customer ID;
seq = N Rows( dt &amp;lt;&amp;lt; get rows where( :Customer ID == theCustomer &amp;amp; Row() &amp;lt; theRow ) ) + 1;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 30 Jun 2019 20:39:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215551#M43066</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-06-30T20:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: New Sequence column creation based on another ID columns</title>
      <link>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215552#M43067</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/15232"&gt;@venkateshc78&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also try this for more disscussion on the topic:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Syntax-How-do-I-create-an-index-column-by-ID/m-p/9751/highlight/true#M9537" target="_self"&gt;https://community.jmp.com/t5/Discussions/Syntax-How-do-I-create-an-index-column-by-ID/m-p/9751/highlight/true#M9537&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jun 2019 20:56:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Sequence-column-creation-based-on-another-ID-columns/m-p/215552#M43067</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2019-06-30T20:56:50Z</dc:date>
    </item>
  </channel>
</rss>

