<?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: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72529#M35648</link>
    <description>&lt;P&gt;but if you delete formula property, then based on your statement both should be same. but i guess there are more intrinsic differences.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 14:16:06 GMT</pubDate>
    <dc:creator>ram</dc:creator>
    <dc:date>2018-09-13T14:16:06Z</dc:date>
    <item>
      <title>JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72436#M35611</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can anyone highlight what are the differences between using "Formula" and "Set Each Value"? What are the pros and cons?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:25:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72436#M35611</guid>
      <dc:creator>ram</dc:creator>
      <dc:date>2023-06-09T23:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72452#M35615</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/8800"&gt;@ram&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If you use the test script I put together below, you will be able to realize starting at a = 6, that set each value is more efficient .&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;a = 7; // Varied from 2 to 7 

dt = New Table(); 

dt &amp;lt;&amp;lt; Begin Data Update; 
 
dt &amp;lt;&amp;lt; Add Rows(10^a);

t1 = Tick Seconds(); 

dt &amp;lt;&amp;lt; New Column("Test",Numeric,Continuous,Formula(5));

t2 = Tick Seconds();  

dt &amp;lt;&amp;lt; End Data Update; 

Print(t2-t1);

t3 = Tick Seconds(); 

dt &amp;lt;&amp;lt; New Column("Test",Numeric,Continuous,&amp;lt;&amp;lt; Set Each Value(a));

t4 = Tick Seconds(); 

Print(t4-t3);

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; However, it is important to note that Set Each Value can only achieve one objective unlike Formula which is much more versatile. So I don't know the exact objective of performing this comparison, but this is one way to look at it&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:29:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72452#M35615</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-09-12T20:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72522#M35642</link>
      <description>&lt;P&gt;I was basically looking for functionality comparison between set each value vs formula function&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:01:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72522#M35642</guid>
      <dc:creator>ram</dc:creator>
      <dc:date>2018-09-13T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72525#M35645</link>
      <description>&lt;P&gt;Set Each Value places the value specified into each cell for the column it is pointed at.&lt;/P&gt;
&lt;P&gt;The Formula element is a dynamic element, that allows for the specifying of a script of any complexity desired.&amp;nbsp; Additionally, a formula will be rerun anytime that components within the provided script(column values) are changed.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:21:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72525#M35645</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-09-13T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72529#M35648</link>
      <description>&lt;P&gt;but if you delete formula property, then based on your statement both should be same. but i guess there are more intrinsic differences.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:16:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72529#M35648</guid>
      <dc:creator>ram</dc:creator>
      <dc:date>2018-09-13T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: What to use for new columns, Formula or Set Each Value? Pros and Cons?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72852#M35690</link>
      <description>&lt;P&gt;I concur with Jim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an interactive JMP user, my only way to compute values when making a new column is to use a formula. As a scripter, I have a choice between using a formula or using myriad other means of populating the new column. I &lt;STRONG&gt;never&lt;/STRONG&gt; use a formula in a script unless the values &lt;STRONG&gt;must&lt;/STRONG&gt; update due to dependencies that might change after the script has run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The decision is as simple as that IMO. But I would never tell someone else to follow my way.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:34:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-What-to-use-for-new-columns-Formula-or-Set-Each-Value-Pros/m-p/72852#M35690</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-09-14T13:34:05Z</dc:date>
    </item>
  </channel>
</rss>

