<?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: Clarification on Categorizing the Same ID in Rows with Other Columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739166#M92060</link>
    <description>&lt;P&gt;Few questions:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt; I want to exclude Category 1 entries that do not have Category 2 or 3 counterparts&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711467838486.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62686i021C9B4A84727A67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1711467838486.png" alt="jthi_0-1711467838486.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID=1 should be removed? Or all expect for ID4 as it has all the categories&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;span for Categories 1 to 3 should not exceed 1 month&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Is this based on which date found for categories as there can be multiple entries for them? Min, max, mean, all, random? Should row 23 be kept or should both row 23 and 24 be thrown out?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1711467998006.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62688iD39331D91C9E494C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1711467998006.png" alt="jthi_2-1711467998006.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide a dataset which contains all possible edge-cases that come to your mind + simple cases so solutions can be tested?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 15:48:41 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-26T15:48:41Z</dc:date>
    <item>
      <title>Clarification on Categorizing the Same ID in Rows with Other Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739124#M92051</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;I have a dataset where the same ID appears in multiple rows, each with 1 to 3 categories. The columns range from costA to costZ, and I need to consolidate them into a single "Cost" column. My goal is to group by Category 1 according to specific criteria (1 if Category 1 &amp;lt; 2000, 2 if Category 1 = 2000 - 4000, 3 if Category 1 = 4000 - 6000, 4 if Category 1 = 6000 - 10000, 5 if Category 1 &amp;gt; 10000).&lt;/P&gt;&lt;P&gt;However, I want to exclude Category 1 entries that do not have Category 2 or 3 counterparts. Additionally, the time span for Categories 1 to 3 should not exceed 1 month (I have a date column for reference). It's important to note that one ID can have multiple Category 1 to 3 entries.&lt;/P&gt;&lt;P&gt;I've attempted to stack the data but encountered difficulties in properly grouping Category 1 with the other categories. My objective is to create a graph showing Category (x) versus Cost (y) by group.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas or suggestions? Your assistance would be greatly appreciated. Thank you! (I've also attached the Excel file for reference.) I'm using JMP version 16.&lt;/P&gt;&lt;P&gt;Attached: 1 picture and Excel file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-03-26 at 12.27.55 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62682iCB2EC2393F03129A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-03-26 at 12.27.55 AM.png" alt="Screenshot 2024-03-26 at 12.27.55 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Mar 2024 13:06:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739124#M92051</guid>
      <dc:creator>doraemengs</dc:creator>
      <dc:date>2024-03-26T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Categorizing the Same ID in Rows with Other Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739166#M92060</link>
      <description>&lt;P&gt;Few questions:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt; I want to exclude Category 1 entries that do not have Category 2 or 3 counterparts&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711467838486.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62686i021C9B4A84727A67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1711467838486.png" alt="jthi_0-1711467838486.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID=1 should be removed? Or all expect for ID4 as it has all the categories&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;span for Categories 1 to 3 should not exceed 1 month&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Is this based on which date found for categories as there can be multiple entries for them? Min, max, mean, all, random? Should row 23 be kept or should both row 23 and 24 be thrown out?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1711467998006.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62688iD39331D91C9E494C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1711467998006.png" alt="jthi_2-1711467998006.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide a dataset which contains all possible edge-cases that come to your mind + simple cases so solutions can be tested?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 15:48:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739166#M92060</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-26T15:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Categorizing the Same ID in Rows with Other Columns</title>
      <link>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739182#M92064</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Jarmo, Thank you for your help. My criteria involve ensuring that each ID is associated with category 1 and then linked with category 2 and/or 3. If there are multiple entries with categories 1-3, I prioritize the most updated entry in each category. Additionally, I need to collapse all cost1 - cost10 columns into one cost column. Furthermore, I aim to categorize category 1 into five groups that are linked to category 2 and 3. Finally, I would like to generate a graph based on these criteria. Here is the new data table on excel that have more information. Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:43:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Clarification-on-Categorizing-the-Same-ID-in-Rows-with-Other/m-p/739182#M92064</guid>
      <dc:creator>doraemengs</dc:creator>
      <dc:date>2024-03-26T16:43:15Z</dc:date>
    </item>
  </channel>
</rss>

