<?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: How do I insert a row at the top of the table and compute the percentage of negative Numbers for in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69489#M35098</link>
    <description>Different results are obtained by using the JMP model operation, and further processing of these results is not available for direct use by the JMP module.I always have to go to VBA and do my calculations.Lincoln That went well.</description>
    <pubDate>Fri, 24 Aug 2018 12:20:45 GMT</pubDate>
    <dc:creator>lwx228</dc:creator>
    <dc:date>2018-08-24T12:20:45Z</dc:date>
    <item>
      <title>How do I insert a row at the top of the table and compute the percentage of negative Numbers for the</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69303#M35063</link>
      <description>&lt;P&gt;There are multiple rows and columns in the table. Can you insert a row above the first row and calculate the percentage of negative Numbers in the same column?The effect is shown below.&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="2018-08-26_21-26-23.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12153iF9E4BEC6622127ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-08-26_21-26-23.png" alt="2018-08-26_21-26-23.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 13:44:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69303#M35063</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-23T13:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69304#M35064</link>
      <description>It's done with JSL, thanks!</description>
      <pubDate>Thu, 23 Aug 2018 13:45:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69304#M35064</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-23T13:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69305#M35065</link>
      <description>The new inserted row format may not be in the percentage format.</description>
      <pubDate>Thu, 23 Aug 2018 13:51:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69305#M35065</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-23T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69331#M35075</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might not be the most efficient way to handle your specific issue but unlike Excel, JMP&amp;nbsp;does not easily allow for calculations in specific rows as you mentioned. Hence, would it be an option to transpose your table (columns A, B, C, D become rows with 11 columns of data) in which you could add an Average column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a thought.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 18:46:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69331#M35075</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2018-08-23T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69375#M35094</link>
      <description>&lt;P&gt;Generally, it's a bad idea to have data of different levels of granularity held in the same table. Additionally (like other statistical software) JMP requires data in a column to be of the same data type, modeling type and format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, so long as you don't mind a proportion rather than a percentage, if you want to do this you could use JSL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

// (1) Make some data
nr = 10;	// Number of rows
nc = 5;		// Number of columns
dt = NewTable("Data");
for (c = 1, c&amp;lt;=nc, c++, dt &amp;lt;&amp;lt; NewColumn("Col "||Char(c), Formula(RandomINteger(-10, 10))));
dt &amp;lt;&amp;lt; addRows(nr);
dt &amp;lt;&amp;lt; runFormulas;
for (c = 1, c&amp;lt;=nc, c++, Column(dt, c) &amp;lt;&amp;lt; deleteFormula);

// (2) Insert a new first row
dt &amp;lt;&amp;lt; addRows(1, atStart);

// (3) Populate values of first row
for (c=1, c&amp;lt;=NCols(dt), c++,
	vals = Column(dt, c) &amp;lt;&amp;lt; getValues;
	vals = vals[2::NRows(dt)];
	Column(dt, c)[1] = NRows(Loc(vals &amp;lt; 0))/(NRows(dt)-1);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 11:03:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69375#M35094</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2018-08-24T11:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69387#M35095</link>
      <description>&lt;P&gt;Transpose might be a good idea, especially for labeling the percentages.&lt;/P&gt;
&lt;P&gt;You might still want to work with untransposed&amp;nbsp;data, particularly if the number of rows is not always the same.&lt;/P&gt;
&lt;P&gt;You can insert a row above, like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;addrows(1,at start);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and you can fill it in with the percentages. But after you do that the columns won't be useful with the JMP analysis platforms that expect&amp;nbsp;the data in a column to all be the same kind of data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give a better answer, we need to know what the next step is: is this the final presentation (tabulate, perhaps), or is there more analysis planned for the table and the percentages (another table might help)? Will the data be updated (maybe use column formulas)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 10:44:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69387#M35095</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-08-24T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69488#M35097</link>
      <description>Thank you very much! That's what's needed.See the figure of VBA cycle.</description>
      <pubDate>Fri, 24 Aug 2018 12:18:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69488#M35097</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-24T12:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert a row at the top of the table and compute the percentage of negative Numbers for</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69489#M35098</link>
      <description>Different results are obtained by using the JMP model operation, and further processing of these results is not available for direct use by the JMP module.I always have to go to VBA and do my calculations.Lincoln That went well.</description>
      <pubDate>Fri, 24 Aug 2018 12:20:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-a-row-at-the-top-of-the-table-and-compute-the/m-p/69489#M35098</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-24T12:20:45Z</dc:date>
    </item>
  </channel>
</rss>

