<?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: Create New Column with variables in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7812#M7806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mine is JMP8.0.0 Windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with or without it still the same. T_T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2013 09:05:57 GMT</pubDate>
    <dc:creator>fitri</dc:creator>
    <dc:date>2013-11-28T09:05:57Z</dc:date>
    <item>
      <title>Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7808#M7802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to create a new column with formula, which represented by 2 variables as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; New Column("myNewColumn", Numeric, Continuous, Formula(:Ceiling( XXColumn / Size) * Size));&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;XXColumn is one of column name in dt, selected in column dialog&lt;/P&gt;&lt;P&gt;Size = numeric value from column dialog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My attempt resulted a new column with formula with no value as formula create as below:&lt;/P&gt;&lt;P&gt;Ceiling(Column(XXColumn ) / Size) * Size&lt;/P&gt;&lt;P&gt;without actually assign it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how I can accomplish this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 06:17:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7808#M7802</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-28T06:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7809#M7803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variables in formulas are not evaluated when created and should therefore be expressed literally. One way to circumvent that is to manipulate and parse strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;cols &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2800e1;"&gt;Column Dialog&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; Col1 &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; ColList&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #801392;"&gt;"X"&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Max Col&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Datatype&lt;STRONG&gt;(&lt;/STRONG&gt; numeric &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Col2 &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; ColList&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #801392;"&gt;"Y"&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Max Col&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Datatype&lt;STRONG&gt;(&lt;/STRONG&gt; numeric &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;XXColumn &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; cols&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #801392;"&gt;"Col1"&lt;/SPAN&gt;&lt;STRONG&gt;][&lt;/STRONG&gt;&lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; get name&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Size &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; cols&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #801392;"&gt;"Col2"&lt;/SPAN&gt;&lt;STRONG&gt;][&lt;/STRONG&gt;&lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; get name&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Parse&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval Insert&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"dt &amp;lt;&amp;lt; New Column(\!"myNewColumn\!", Numeric, Continuous, Formula(Ceiling( ^XXColumn^ / ^Size^) * ^Size^))"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 07:26:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7809#M7803</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-28T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7810#M7804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you MS.&lt;/P&gt;&lt;P&gt;The new column created with correct formula. But, the rows are empty. I need to go to the formula section on UI and click apply then only values prompts. &lt;/P&gt;&lt;P&gt;is it expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 07:45:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7810#M7804</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-28T07:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7811#M7805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it was not expected. For me (JMP 10 for Mac) it works without clicking "Apply". There was an inadvertant colon before "Ceiling..." that remained from your original code (I've now edited my code above). Maybe it helps to delete that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 08:25:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7811#M7805</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-28T08:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7812#M7806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mine is JMP8.0.0 Windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with or without it still the same. T_T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 09:05:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7812#M7806</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-28T09:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7813#M7807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &amp;lt;&amp;lt;eval formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Parse&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval Insert&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"dt &amp;lt;&amp;lt; New Column(\!"myNewColumn\!", Numeric, Continuous, Formula(Ceiling( ^XXColumn^ / ^Size^) * ^Size^), &amp;lt;&amp;lt;eval formula)"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 09:46:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7813#M7807</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-28T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7814#M7808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not working. The result still same. &lt;/P&gt;&lt;P&gt;In JSL, apply button == ? do you know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:44:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7814#M7808</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-28T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7815#M7809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. Eval Formula is supposed to be eqivalent as far s I know.&lt;/P&gt;&lt;P&gt;Try to separate the new column and set formula into separate expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #2800e1;"&gt;&lt;SPAN style="color: #000000;"&gt;cols &lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;Column Dialog&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp; Col1 &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; ColList&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #801392;"&gt;"X"&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Max Col&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Datatype&lt;STRONG&gt;(&lt;/STRONG&gt; numeric &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp; Col2 &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; ColList&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #801392;"&gt;"Y"&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Max Col&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Datatype&lt;STRONG&gt;(&lt;/STRONG&gt; numeric &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;XXColumn &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; cols&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #801392;"&gt;"Col1"&lt;/SPAN&gt;&lt;STRONG&gt;][&lt;/STRONG&gt;&lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; get name&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Size &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; cols&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="color: #801392;"&gt;"Col2"&lt;/SPAN&gt;&lt;STRONG&gt;][&lt;/STRONG&gt;&lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; get name&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;col &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; dt &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #2800e1;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #801392;"&gt;"myNewColumn"&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Numeric&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Continuous &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Parse&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval Insert&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"col &amp;lt;&amp;lt; Set Formula(Ceiling( ^XXColumn^ / ^Size^) * ^Size^)"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;col &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; eval formula&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:57:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7815#M7809</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-28T10:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7816#M7810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did not work. Maybe I should explain what I am doing and share paste my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1: Collect input from Column dialog&lt;/P&gt;&lt;P&gt;Step 2: Do Summary table with Min,Mean, Max for selected column + default column&lt;/P&gt;&lt;P&gt;Step 3: Create new column for Ceiling&lt;/P&gt;&lt;P&gt;Step 4: Do plotting using Graph builder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;dt0 = current data table();&lt;/P&gt;&lt;P&gt;FN = dt0 &amp;lt;&amp;lt; Get Name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r = Column Dialog(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Bin = ColList( "X, Binning By", Max Col( 1 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Overlay = ColList( "Group by / Overlay by", Max Col( 1 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Split = ColList( "Y, Response",Max Col( 5 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Compare = ColList( "X-Axis Top", Max Col( 1 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; HList( "Bin Size: ", BinSize = EditNumber( .1 ) ),&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;Bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = r["Bin"];&lt;/P&gt;&lt;P&gt;Overlay = r["Overlay"];&lt;/P&gt;&lt;P&gt;Split&amp;nbsp;&amp;nbsp; = r["Split"];&lt;/P&gt;&lt;P&gt;Compare = r["Compare"];&lt;/P&gt;&lt;P&gt;BinSize = r["BinSize"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dts = dt0 &amp;lt;&amp;lt; Summary(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Group(:Fixed, column(dt0,Overlay), column(dt0,Compare) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( :Yield ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Bin) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Bin) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Bin) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Split[1]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Split[1]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Split[1]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Split[2]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Split[2]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Split[2]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Split[3]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Split[3]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Split[3]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Split[4]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Split[4]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Split[4]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min ( column(dt0,Split[5]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean( column(dt0,Split[5]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max ( column(dt0,Split[5]) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; statistics column name format( "column stat" ),&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;dts &amp;lt;&amp;lt; Set Name (FN || " Summary");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n_Bin = Bin[1]||" Mean";&lt;/P&gt;&lt;P&gt;f_Bin = Column(dts, n_Bin);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;col = dts &amp;lt;&amp;lt; New Column("Binning", Numeric, Continuous);&lt;/P&gt;&lt;P&gt;Eval( Parse( Eval Insert( "col &amp;lt;&amp;lt; Set Formula(Ceiling( ^f_Bin^ / ^BinSize^) * ^BinSize^)" )) );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:10:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7816#M7810</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-28T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7817#M7811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try use n_Bin directly instead of f_Bin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Parse&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Eval Insert&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"col &amp;lt;&amp;lt; Set Formula(Ceiling( ^n_Bin^ / ^BinSize^) * ^BinSize^)"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;))&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:55:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7817#M7811</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-28T11:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7818#M7812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;finally the magic happened !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the code i used.. &lt;/P&gt;&lt;P&gt;col = dts &amp;lt;&amp;lt; New Column("Binning", Numeric, Continuous);&lt;/P&gt;&lt;P&gt;Eval( Parse( Eval Insert( "col &amp;lt;&amp;lt; Set Formula(:Ceiling( ^n_Bin^ / ^BinSize^) * ^BinSize^)&amp;lt;&amp;lt; eval formula" )) );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You MS for the guidance; what is the diff on f_bin and n_bin i used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 01:52:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7818#M7812</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-11-29T01:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7819#M7813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I could tell from reading your code f_Bin refers to a column whereas n_Bin is a string, which is the data type that is safest to use here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 11:19:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7819#M7813</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-11-29T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Column with variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7820#M7814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you again, MS. I shall take note on this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 08:22:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-New-Column-with-variables/m-p/7820#M7814</guid>
      <dc:creator>fitri</dc:creator>
      <dc:date>2013-12-02T08:22:18Z</dc:date>
    </item>
  </channel>
</rss>

