<?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 Percent in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Percent/m-p/82079#M37053</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a col with values "yes" and "no". Also I have a col of unquie LotNames. How can I find the total percentage of yes for a lotname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the logic, just dont know how to do it in JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Percent of yes = Number of "yes" groupby LotName/ Total Rows grouped by LotName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rami&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 21:55:59 GMT</pubDate>
    <dc:creator>rshehadah</dc:creator>
    <dc:date>2018-10-30T21:55:59Z</dc:date>
    <item>
      <title>Percent</title>
      <link>https://community.jmp.com/t5/Discussions/Percent/m-p/82079#M37053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a col with values "yes" and "no". Also I have a col of unquie LotNames. How can I find the total percentage of yes for a lotname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the logic, just dont know how to do it in JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Percent of yes = Number of "yes" groupby LotName/ Total Rows grouped by LotName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rami&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 21:55:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Percent/m-p/82079#M37053</guid>
      <dc:creator>rshehadah</dc:creator>
      <dc:date>2018-10-30T21:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Percent</title>
      <link>https://community.jmp.com/t5/Discussions/Percent/m-p/82087#M37055</link>
      <description>&lt;P&gt;Attached is a simple Example data table that uses the below formula to create the Percent values you want&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yesno.PNG" style="width: 393px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14149i1A55E3A6CFE4327B/image-size/large?v=v2&amp;amp;px=999" role="button" title="yesno.PNG" alt="yesno.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Table( "example",
	Add Rows( 100 ),
	New Column( "Lot",
		Character( 6 ),
		"Nominal",
		Set Values(
			{"Lot 1", "Lot 1", "Lot 1", "Lot 1", "Lot 1", "Lot 1", "Lot 1", "Lot 1",
			"Lot 1", "Lot 1", "Lot 2", "Lot 2", "Lot 2", "Lot 2", "Lot 2", "Lot 2",
			"Lot 2", "Lot 2", "Lot 2", "Lot 2", "Lot 3", "Lot 3", "Lot 3", "Lot 3",
			"Lot 3", "Lot 3", "Lot 3", "Lot 3", "Lot 3", "Lot 3", "Lot 4", "Lot 4",
			"Lot 4", "Lot 4", "Lot 4", "Lot 4", "Lot 4", "Lot 4", "Lot 4", "Lot 4",
			"Lot 5", "Lot 5", "Lot 5", "Lot 5", "Lot 5", "Lot 5", "Lot 5", "Lot 5",
			"Lot 5", "Lot 5", "Lot 6", "Lot 6", "Lot 6", "Lot 6", "Lot 6", "Lot 6",
			"Lot 6", "Lot 6", "Lot 6", "Lot 6", "Lot 7", "Lot 7", "Lot 7", "Lot 7",
			"Lot 7", "Lot 7", "Lot 7", "Lot 7", "Lot 7", "Lot 7", "Lot 8", "Lot 8",
			"Lot 8", "Lot 8", "Lot 8", "Lot 8", "Lot 8", "Lot 8", "Lot 8", "Lot 8",
			"Lot 9", "Lot 9", "Lot 9", "Lot 9", "Lot 9", "Lot 9", "Lot 9", "Lot 9",
			"Lot 9", "Lot 9", "Lot 10", "Lot 10", "Lot 10", "Lot 10", "Lot 10",
			"Lot 10", "Lot 10", "Lot 10", "Lot 10", "Lot 10"}
		),
		Set Display Width( 48 )
	),
	New Column( "Yes_No",
		Character( 3 ),
		"Nominal",
		Set Values(
			{"No", "Yes", "No", "No", "No", "Yes", "No", "No", "No", "Yes", "Yes",
			"Yes", "No", "No", "No", "No", "No", "No", "Yes", "Yes", "No", "No",
			"No", "No", "No", "No", "Yes", "No", "No", "Yes", "No", "No", "No",
			"Yes", "No", "Yes", "No", "Yes", "Yes", "No", "No", "No", "Yes", "Yes",
			"No", "No", "Yes", "Yes", "No", "No", "No", "Yes", "Yes", "No", "Yes",
			"No", "Yes", "No", "No", "No", "Yes", "No", "No", "No", "No", "Yes",
			"No", "Yes", "No", "No", "No", "Yes", "No", "No", "No", "No", "No", "No",
			"No", "Yes", "No", "No", "Yes", "Yes", "No", "Yes", "Yes", "Yes", "Yes",
			"No", "No", "Yes", "No", "No", "Yes", "No", "Yes", "No", "No", "No"}
		),
		Set Display Width( 50 )
	),
	New Column( "Percent",
		Numeric,
		"Continuous",
		Format( "Percent", 12, 2 ),
		Formula(
			Col Number( If( :Yes_No == "Yes", 1, . ), :Lot ) /
			Col Number( :Yes_No, :Lot )
		),
		Set Display Width( 186 )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 01:29:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Percent/m-p/82087#M37055</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-31T01:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Percent</title>
      <link>https://community.jmp.com/t5/Discussions/Percent/m-p/82126#M37067</link>
      <description>&lt;P&gt;This is easy to do interactively using &lt;A href="https://www.jmp.com/support/help/14-1/tabulate.shtml#" target="_blank"&gt;Tabulate&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Drag your LotName column to the rows area, your Y/N to the columns area and then the &lt;A href="https://www.jmp.com/support/help/14-1/add-statistics.shtml" target="_blank"&gt;Row % statistic&lt;/A&gt; to the columns area.&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="RowPercentage6.gif" style="width: 722px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14154iF6DCE123CD324102/image-size/large?v=v2&amp;amp;px=999" role="button" title="RowPercentage6.gif" alt="RowPercentage6.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 14:00:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Percent/m-p/82126#M37067</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2018-10-31T14:00:15Z</dc:date>
    </item>
  </channel>
</rss>

