<?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 script - After update table, run the embedded formula in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/79915#M36836</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13009"&gt;@ReginaHong&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;When you delete the formula and re-create the column, there is no formula in the column to run that will update the values of the Predicted column. The values that are generated due to your update/join operation will be held in the column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 14:11:29 GMT</pubDate>
    <dc:creator>uday_guntupalli</dc:creator>
    <dc:date>2018-10-22T14:11:29Z</dc:date>
    <item>
      <title>JSL script - After update table, run the embedded formula</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/79879#M36826</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to update my existing table on column name "Capacity". As you can see in the picture below, once the Capacity column is updated, "Predicted_Shipment_1" column need to change the value according to the fomula embedded inside. However, once I run the script below, the value in "Predicted_Shipment_1" column does not change according to the updated Capacity column. Is there anything wrong with my script below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic2.JPG" style="width: 221px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12944iC808FEAC6F89066E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic2.JPG" alt="Pic2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt2 &amp;lt;&amp;lt; Update(&lt;BR /&gt;With( dt3 ),&lt;BR /&gt;Match Columns( :Time = :Time ),&lt;BR /&gt;Add Columns from Update table( "Capacity" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;column(dt2,"Predicted_Shipment_1") &amp;lt;&amp;lt; delete formula;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt3 &amp;lt;&amp;lt; Update(&lt;BR /&gt;With( dt2 ),&lt;BR /&gt;Match Columns( :Time = :Time ),&lt;BR /&gt;Add Columns from Update table( "Predicted_Shipment_1" )&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the end the value in column "Predicted_Shipment_1"&amp;nbsp; updated in dt3 is the old value which is not according to the formula embedded inside. Anything wrong with the formula above?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 08:52:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/79879#M36826</guid>
      <dc:creator>ReginaHong</dc:creator>
      <dc:date>2018-10-22T08:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: JSL script - After update table, run the embedded formula</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/79915#M36836</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13009"&gt;@ReginaHong&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;When you delete the formula and re-create the column, there is no formula in the column to run that will update the values of the Predicted column. The values that are generated due to your update/join operation will be held in the column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:11:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/79915#M36836</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-10-22T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: JSL script - After update table, run the embedded formula</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/81906#M37009</link>
      <description>&lt;P&gt;Thank you for your replied. I have found solution for this. Just add in the syntax below and it will help to run the formula.&lt;/P&gt;&lt;P&gt;column(dt4,4) &amp;lt;&amp;lt; Eval Formula(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 07:14:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-script-After-update-table-run-the-embedded-formula/m-p/81906#M37009</guid>
      <dc:creator>ReginaHong</dc:creator>
      <dc:date>2018-10-30T07:14:25Z</dc:date>
    </item>
  </channel>
</rss>

