<?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: Merging Rows with Sum in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308367#M56271</link>
    <description>Now you need to go to &lt;BR /&gt;     Help=&amp;gt;JMP Documentation Library&lt;BR /&gt;and read both the Discovering JMP and the Using JMP documents!!!&lt;BR /&gt;It will make your time with JMP far more enjoyable.</description>
    <pubDate>Thu, 17 Sep 2020 00:30:05 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-09-17T00:30:05Z</dc:date>
    <item>
      <title>Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308186#M56256</link>
      <description>&lt;P&gt;Help!&amp;nbsp; I have a datatset with 200ish rows.&amp;nbsp; There are 170ish unique IDs, meaning multiple people have multiple rows.&amp;nbsp; Is there a way to merge the data from the applicable rows (e.g., some rows are dates so that would not be applicable) with a sum?&amp;nbsp; Such that each unique subject ID only has ONE row in the dataset.&amp;nbsp; If its only possible to this with a dataset with applicable rows (i.e., all numeric/continuous variables), I could subset my data to just subject ID + the needed rows for summing.&amp;nbsp; Does this make sense?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:19:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308186#M56256</guid>
      <dc:creator>plfazeli</dc:creator>
      <dc:date>2023-06-10T23:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308249#M56261</link>
      <description>I assume this is the same question you subsequently added to a previous discussion topic.  The answer is to use the Summary platform&lt;BR /&gt;     Tables=&amp;gt;Summary</description>
      <pubDate>Wed, 16 Sep 2020 18:57:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308249#M56261</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-16T18:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308251#M56263</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Can you elaborate?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 19:41:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308251#M56263</guid>
      <dc:creator>plfazeli</dc:creator>
      <dc:date>2020-09-16T19:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308280#M56267</link>
      <description>&lt;P&gt;OK....here is a display of a data table that has 200 rows, with 118 different IDs and contains a date and an Expense column.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="merge1.PNG" style="width: 402px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26796i9A4383D1815E6830/image-size/large?v=v2&amp;amp;px=999" role="button" title="merge1.PNG" alt="merge1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I want is a data table with just one entry per ID and for the date to be the last date the person had a transaction, and I want to know the sum of the expenses.&amp;nbsp; So I go to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables=&amp;gt;Summary&lt;/P&gt;
&lt;P&gt;and it brings up the following Dialog window which I fill in the information to group by IDs, return the Maximum Date value and the Sum of the Expenses&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="merge2.PNG" style="width: 588px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26797i59C8E427CFADCAF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="merge2.PNG" alt="merge2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I then click on the OK button and it creates a data table with the summary statistics&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="merge3.PNG" style="width: 573px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26798iA0C69CE25A20E5FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="merge3.PNG" alt="merge3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I could have also gotten the same results by using the Tabulate Platform&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Analyze=&amp;gt;Tabulate&lt;/P&gt;
&lt;P&gt;It is a drag and drop report writer, that once you have the report the way you want, you can go to the red triangle and request that a data table be made from the report&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="merge4.PNG" style="width: 534px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26799iC095BD763A71969B/image-size/large?v=v2&amp;amp;px=999" role="button" title="merge4.PNG" alt="merge4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 20:12:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308280#M56267</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-16T20:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308366#M56270</link>
      <description>&lt;P&gt;That was INCREDIBLY helpful.&amp;nbsp; Thanks so much!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 00:05:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308366#M56270</guid>
      <dc:creator>plfazeli</dc:creator>
      <dc:date>2020-09-17T00:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308367#M56271</link>
      <description>Now you need to go to &lt;BR /&gt;     Help=&amp;gt;JMP Documentation Library&lt;BR /&gt;and read both the Discovering JMP and the Using JMP documents!!!&lt;BR /&gt;It will make your time with JMP far more enjoyable.</description>
      <pubDate>Thu, 17 Sep 2020 00:30:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/308367#M56271</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-17T00:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/720199#M90239</link>
      <description>&lt;P&gt;Follow on question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would you graph this as a bar chart with IDs on the x-axis and the Sum on the y-axis, without any spaces in the graph?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am finding this challenging on a similar problem, the graph comes out with a uniformly spaced numbers on the x-axis, but there is a gap for ID8 for example because there is no data, I want to squish the bars together when there is no data for that number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 16:54:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/720199#M90239</guid>
      <dc:creator>ATenB89</dc:creator>
      <dc:date>2024-01-30T16:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Rows with Sum</title>
      <link>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/720296#M90249</link>
      <description>&lt;P&gt;Never mind! I figured out my problem. I needed to change the ID data type from continuous to ordinal. :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 19:22:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merging-Rows-with-Sum/m-p/720296#M90249</guid>
      <dc:creator>ATenB89</dc:creator>
      <dc:date>2024-01-30T19:22:47Z</dc:date>
    </item>
  </channel>
</rss>

