<?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 Column to show repeated values in for each run/ID across two data types in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/735219#M91635</link>
    <description>&lt;P&gt;You can use Col Cumulative Sum with if statement&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum(If(Row() == Col Min(Row(), :Sample ID, :Time, :DataType), 1, .), :Sample ID, :DataType)&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-1710528913353.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62253i5946F7B03C17BFEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1710528913353.png" alt="jthi_0-1710528913353.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Kudos&lt;LI-MESSAGE title="Add dense ranking to Ranking Tie and Col Rank functions" uid="590079" url="https://community.jmp.com/t5/JMP-Wish-List/Add-dense-ranking-to-Ranking-Tie-and-Col-Rank-functions/m-p/590079#U590079" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;to make this much much easier&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 18:56:20 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-15T18:56:20Z</dc:date>
    <item>
      <title>New Column to show repeated values in for each run/ID across two data types</title>
      <link>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/735211#M91633</link>
      <description>&lt;P&gt;I tried using lag function to indicate when the first test for a sample ID based on time column. Need to the column, Order Tested, to represent first test conducted for a sample ID and second test based on time. Each test will have a real and maybe a code value. See attached file for JMP file. At the end of the day Order Tested column needs to look like image below. This is just a sample, real one has 10,000+ data points.&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="VT23_0-1710526580201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62249i1B651E612EF74DAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VT23_0-1710526580201.png" alt="VT23_0-1710526580201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 18:18:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/735211#M91633</guid>
      <dc:creator>VT23</dc:creator>
      <dc:date>2024-03-15T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: New Column to show repeated values in for each run/ID across two data types</title>
      <link>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/735219#M91635</link>
      <description>&lt;P&gt;You can use Col Cumulative Sum with if statement&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Cumulative Sum(If(Row() == Col Min(Row(), :Sample ID, :Time, :DataType), 1, .), :Sample ID, :DataType)&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-1710528913353.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62253i5946F7B03C17BFEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1710528913353.png" alt="jthi_0-1710528913353.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Kudos&lt;LI-MESSAGE title="Add dense ranking to Ranking Tie and Col Rank functions" uid="590079" url="https://community.jmp.com/t5/JMP-Wish-List/Add-dense-ranking-to-Ranking-Tie-and-Col-Rank-functions/m-p/590079#U590079" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;to make this much much easier&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 18:56:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/735219#M91635</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-15T18:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: New Column to show repeated values in for each run/ID across two data types</title>
      <link>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/740995#M92211</link>
      <description>&lt;P&gt;Thanks for the solution!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 15:59:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/New-Column-to-show-repeated-values-in-for-each-run-ID-across-two/m-p/740995#M92211</guid>
      <dc:creator>VT23</dc:creator>
      <dc:date>2024-03-29T15:59:43Z</dc:date>
    </item>
  </channel>
</rss>

