<?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 Merge Rows of Text Data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406716#M65682</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an Excel file with Text Data in it. The format of the data in the Excel file looks something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-08-03 154447.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34725i31F4EC35CC0A2277/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-08-03 154447.png" alt="Screenshot 2021-08-03 154447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to merge the text in the Document Body Col in a single cell based on the Document Title. For example, instead of having two rows for File Name 1, I want one row for File Name 1 with the Document body concatenated together. This is not possible in Excel due to the character limit being exceed. Is there a way to perform this task in JMP Pro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-N&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:34:40 GMT</pubDate>
    <dc:creator>NVarz</dc:creator>
    <dc:date>2023-06-10T23:34:40Z</dc:date>
    <item>
      <title>Merge Rows of Text Data</title>
      <link>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406716#M65682</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an Excel file with Text Data in it. The format of the data in the Excel file looks something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-08-03 154447.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34725i31F4EC35CC0A2277/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-08-03 154447.png" alt="Screenshot 2021-08-03 154447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to merge the text in the Document Body Col in a single cell based on the Document Title. For example, instead of having two rows for File Name 1, I want one row for File Name 1 with the Document body concatenated together. This is not possible in Excel due to the character limit being exceed. Is there a way to perform this task in JMP Pro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-N&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:34:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406716#M65682</guid>
      <dc:creator>NVarz</dc:creator>
      <dc:date>2023-06-10T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Rows of Text Data</title>
      <link>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406728#M65683</link>
      <description>&lt;P&gt;Using Query could work:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(5),
	Compress File When Saved(1),
	New Column("Title", Character, "Nominal", Set Values({"A", "A", "B", "B", "B"})),
	New Column("Body", Character, "Nominal", Set Values({"A", "B", "C", "D", "E"}))
);

Query(Table(dt, "dt1"), "Select title, GROUP_CONCAT(body, ' ') FROM dt1 group by title");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/16.0/index.shtml#page/jmp/sql-functions-available-for-jmp-queries.shtml#" target="_blank" rel="noopener"&gt;SQL Functions Available for JMP Queries&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might also be able to do this with some split/stack/combine columns combination.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Using Transpose:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1628022413589.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34729i7461564AEA414443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1628022413589.png" alt="jthi_3-1628022413589.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Result table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1628022424419.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34730i8EC1F262C17A8298/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1628022424419.png" alt="jthi_4-1628022424419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use Combine Columns with Row 1 - Row 3 selected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1628022466770.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34731iEC1B3B20B99B4B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1628022466770.png" alt="jthi_5-1628022466770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_6-1628022492015.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34732i860A1A10466CFFAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_6-1628022492015.png" alt="jthi_6-1628022492015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Delete unnecessary columns:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_7-1628022506271.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34733i05C9C573B1F1F477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_7-1628022506271.png" alt="jthi_7-1628022506271.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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 20:28:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406728#M65683</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-08-03T20:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Rows of Text Data</title>
      <link>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406744#M65684</link>
      <description>&lt;P&gt;Hi J! Thank you so much! That worked. Appreciate your help :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 21:58:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Merge-Rows-of-Text-Data/m-p/406744#M65684</guid>
      <dc:creator>NVarz</dc:creator>
      <dc:date>2021-08-03T21:58:35Z</dc:date>
    </item>
  </channel>
</rss>

