<?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 how do i create a customized tabulate table adding free text comments summary in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-do-i-create-a-customized-tabulate-table-adding-free-text/m-p/451982#M69876</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am building a reporting table where I aggregate statistics for different production campaign, I would leave the opportunity to user to add free text descriptive comments, for each campaign.&lt;/P&gt;
&lt;P&gt;I tried one way by adding text column "comment" to my&amp;nbsp; data table, where user can add multiple comment at different rows&amp;nbsp; (different moment of the campaign).&lt;/P&gt;
&lt;P&gt;I used the tabulate option in my script to generate the stats. I can not find the way to easily add the free text comments in tabulate table (I was thinking concatenating the different comments/character strings into one comment/summary for each campaign)&lt;/P&gt;
&lt;P&gt;Scrolling the community, one way might be to create a similar table box, with more flexibility to add an additional row with free text comments? I must admit it starts to be over my scripting skills:-)&lt;/P&gt;
&lt;P&gt;working on JMP 16.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my test table looks like that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeromeH_0-1642179209704.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38997i7AC98BF5D16C4362/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeromeH_0-1642179209704.png" alt="JeromeH_0-1642179209704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and the classic tabulate script is here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tabulate(
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Grouping Columns( :Campaign ID ) ),
		Row Table( Analysis Columns( :U.R24, :E401.Run, :LVL.BED.R24 ), Statistics( Mean ) )
	),
	Local Data Filter(
		Add Filter(
			columns( :POLY.GRADE ),
			Where( :POLY.GRADE == "PPK0132F" ),
			Display( :POLY.GRADE, N Items( 15 ) )
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:42:47 GMT</pubDate>
    <dc:creator>JeromeH</dc:creator>
    <dc:date>2023-06-10T23:42:47Z</dc:date>
    <item>
      <title>how do i create a customized tabulate table adding free text comments summary</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-i-create-a-customized-tabulate-table-adding-free-text/m-p/451982#M69876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am building a reporting table where I aggregate statistics for different production campaign, I would leave the opportunity to user to add free text descriptive comments, for each campaign.&lt;/P&gt;
&lt;P&gt;I tried one way by adding text column "comment" to my&amp;nbsp; data table, where user can add multiple comment at different rows&amp;nbsp; (different moment of the campaign).&lt;/P&gt;
&lt;P&gt;I used the tabulate option in my script to generate the stats. I can not find the way to easily add the free text comments in tabulate table (I was thinking concatenating the different comments/character strings into one comment/summary for each campaign)&lt;/P&gt;
&lt;P&gt;Scrolling the community, one way might be to create a similar table box, with more flexibility to add an additional row with free text comments? I must admit it starts to be over my scripting skills:-)&lt;/P&gt;
&lt;P&gt;working on JMP 16.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my test table looks like that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeromeH_0-1642179209704.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38997i7AC98BF5D16C4362/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeromeH_0-1642179209704.png" alt="JeromeH_0-1642179209704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and the classic tabulate script is here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tabulate(
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Grouping Columns( :Campaign ID ) ),
		Row Table( Analysis Columns( :U.R24, :E401.Run, :LVL.BED.R24 ), Statistics( Mean ) )
	),
	Local Data Filter(
		Add Filter(
			columns( :POLY.GRADE ),
			Where( :POLY.GRADE == "PPK0132F" ),
			Display( :POLY.GRADE, N Items( 15 ) )
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:42:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-i-create-a-customized-tabulate-table-adding-free-text/m-p/451982#M69876</guid>
      <dc:creator>JeromeH</dc:creator>
      <dc:date>2023-06-10T23:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: how do i create a customized tabulate table adding free text comments summary</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-i-create-a-customized-tabulate-table-adding-free-text/m-p/452005#M69878</link>
      <description>&lt;P&gt;You could use GROUP_CONCAT with SQL-query to get comments concatenated. Here is example using Big Class:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt_concat = Query(
	Table(dt, "t1"),
	"\[
SELECT sex, GROUP_CONCAT(name)
FROM t1
GROUP BY sex
	]\"
);

dt &amp;lt;&amp;lt; Update(
	With(dt_concat),
	Match Columns(:sex = :sex)
);

dt &amp;lt;&amp;lt; Tabulate(
	Show Control Panel(0),
	Add Table(
		Column Table(Analysis Columns(:height, :weight), Statistics(Mean)),
		Row Table(Grouping Columns(:sex, :"GROUP_CONCAT(name)"n))
	)
);&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-1642499606317.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39066iF320F9A54BEC40E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1642499606317.png" alt="jthi_0-1642499606317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Depending on the use, I would most likely prefer using Summary table instead of Tabulate.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 09:54:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-i-create-a-customized-tabulate-table-adding-free-text/m-p/452005#M69878</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-01-18T09:54:21Z</dc:date>
    </item>
  </channel>
</rss>

