<?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: Why is there such unexpected re-calculation of columns without formulas? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906944#M106539</link>
    <description>&lt;P&gt;Not a nice workaround, but you can suppress formula eval temporarily from the original table, run the query and re-enable formula evaluation (this should in my opinion already happen by Query Builder).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1760074384015.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84742i0424E536D056C1AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1760074384015.png" alt="jthi_0-1760074384015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I would contact JMP support about this as there is some weirdness going on,&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Support/ct-p/jmp-support" target="_self"&gt;JMP Support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2025 05:34:24 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-10-10T05:34:24Z</dc:date>
    <item>
      <title>Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906901#M106532</link>
      <description>&lt;P&gt;I often use JMP to prototype data pipelines, calculating column values in one table, then querying data into another table based on calculation results. I noticed a behaviour that looks to me very strange and counterintuitive. Say, I have a table with three columns:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dyakunin1_0-1760063081445.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84722iB26D81B4F5286FF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dyakunin1_0-1760063081445.png" alt="dyakunin1_0-1760063081445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The second and the third columns are calculated as Lag ( :Column 1 ) and Col Sum ( :Column 1 ).&lt;/P&gt;
&lt;P&gt;Now I query the rows into a new table where :Column 1 &amp;gt; 2. The result is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dyakunin1_1-1760063388612.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84724iC0011328B17F40D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dyakunin1_1-1760063388612.png" alt="dyakunin1_1-1760063388612.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;":Lag of Column 1" and ":Column 1 Sum" get re-calculated, since the table inherited the formulas. This is understandable.&lt;/P&gt;
&lt;P&gt;But what if I delete the formulas and update the table? Then, since I do not have formulas and I do not re-calculate values in the destination table, I will see the data as it is in the the source table, right? Guess what, wrong! Nothing changes. I still see null, 3 and 7, 7 not 2, 3 and 10, 10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this a defect? Or is this as expected? How can this be explained?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 02:43:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906901#M106532</guid>
      <dc:creator>dyakunin1</dc:creator>
      <dc:date>2025-10-10T02:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906922#M106533</link>
      <description>&lt;P&gt;Ouch, a surprisingly toxic mixture:&amp;nbsp;Query Builder and Column formulas! &lt;BR /&gt;&lt;BR /&gt;Some settings like in Subset&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1760069921288.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84735iE2C079BA89B3F705/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1760069921288.png" alt="hogi_2-1760069921288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;would remove&amp;nbsp; lot of headache.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Besides that: a nice magnifying glass for the nuts and bolts of JMP : )&lt;BR /&gt;Which version of JMP? Can you share the steps from the log?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I tested it with JMP 18.2.2 and 19.0, where&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Lag()&lt;/FONT&gt; gets executed after executing the query,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Col Sum()&lt;/FONT&gt; doesn't.&lt;BR /&gt;&lt;BR /&gt;After removing the formulas, everything is fine.&lt;BR /&gt;[maybe: did you reference an old data table "untitled" - with formulas?]&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="hogi_1-1760069665334.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84734iAE48A0A283FD267F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1760069665334.png" alt="hogi_1-1760069665334.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="hogi_0-1760069558813.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84733i91C2EE0580993DC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1760069558813.png" alt="hogi_0-1760069558813.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;names default to here(1);

dt = New Table( "Untitled",
	Add Rows( 4 ),
	New Column( "Column 1",
		Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4] )
	),
	New Column( "Sum[Column 1]",
		Formula( Col Sum( :Column 1 ) )
	),
	New Column( "Lag[Column 1]",
		Formula( Lag( :Column 1, 1) )
	)
);

dt &amp;lt;&amp;lt; run formulas();
wait(0);

queryDT= Expr(New SQL Query(
	Connection( "JMP" ),
	Select(
		Column( "Column 1", "t1" ),
		Column( "Sum[Column 1]", "t1" ),
		Column( "Lag[Column 1]", "t1" )
	),
	From( Table( "Untitled", Alias( "t1" ) ) ),
	Where(
		GT(
			Column( "Column 1", "t1" ),
			2,
			UI( Comparison( Base( "Continuous" ) ) )
		)
	)
) &amp;lt;&amp;lt; Run Foreground);

queryDT;

Column (dt, 2) &amp;lt;&amp;lt; delete formula();
Column (dt, 3) &amp;lt;&amp;lt; delete formula();

wait(0);
queryDT;
wait(0);
dt &amp;lt;&amp;lt; set name("input");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:33:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906922#M106533</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-10T04:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906923#M106534</link>
      <description>&lt;P&gt;Are you making the query to JMP data table? Are you removing formulas from which table? Can you share example datasets to replicate the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:21:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906923#M106534</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-10-10T04:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906927#M106536</link>
      <description>&lt;P&gt;Yes, the second table in the second screenshot is a result of the querying first JMP data table in the first screenshot. Tables are attached - place them in the same folder and execute "Update From Database" script in the second one. The second table does not have formulas; yet, the results are as if the formulas existed and got evaluated.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:56:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906927#M106536</guid>
      <dc:creator>dyakunin1</dc:creator>
      <dc:date>2025-10-10T04:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906928#M106537</link>
      <description>&lt;P&gt;JMP Pro V.17&lt;/P&gt;
&lt;P&gt;Tables are attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:56:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906928#M106537</guid>
      <dc:creator>dyakunin1</dc:creator>
      <dc:date>2025-10-10T04:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906944#M106539</link>
      <description>&lt;P&gt;Not a nice workaround, but you can suppress formula eval temporarily from the original table, run the query and re-enable formula evaluation (this should in my opinion already happen by Query Builder).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1760074384015.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84742i0424E536D056C1AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1760074384015.png" alt="jthi_0-1760074384015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I would contact JMP support about this as there is some weirdness going on,&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Support/ct-p/jmp-support" target="_self"&gt;JMP Support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 05:34:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906944#M106539</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-10-10T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906961#M106540</link>
      <description>&lt;P&gt;suggestion for JMP 19.1:&lt;BR /&gt;&lt;LI-MESSAGE title="Query Builder: disable formula column" uid="906951" url="https://community.jmp.com/t5/JMP-Wish-List/Query-Builder-disable-formula-column/m-p/906951#U906951" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 07:29:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906961#M106540</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-10T07:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906962#M106541</link>
      <description>&lt;P&gt;Ah, I misinterpreted the&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;But what if I delete the formulas and update the table?&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;OK, still the same in JMP19.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;So, JMP runs the query (including the formulas) - and fills the columns in the target table with the new results?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This is actually what I expected with 'Update'. But why can't JMP do such a&amp;nbsp;&lt;EM&gt;'keep the table, just update the data&lt;/EM&gt;' update if a new column has been added in the meantime? Concerning &lt;FONT face="courier new,courier"&gt;Column4&lt;/FONT&gt;, it looks more like it's deleting everything that was there and replacing it with the new query results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe: it takes the query result - but copies and applies the old column settings?&lt;BR /&gt;... thereby removing the column formula - and hiding the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6382546236112w814h430r487" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6382546236112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6382546236112w814h430r487');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6382546236112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 15:44:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/906962#M106541</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-10T15:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907051#M106545</link>
      <description>&lt;P&gt;Yes, this workaround works. Another clumsy workaround I use is to query all rows into an intermediate table &lt;U&gt;without formulas&lt;/U&gt; and then query this intermediate table.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 15:17:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907051#M106545</guid>
      <dc:creator>dyakunin1</dc:creator>
      <dc:date>2025-10-10T15:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907053#M106546</link>
      <description>&lt;P&gt;What was the response from JMP Support?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 15:43:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907053#M106546</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-10T15:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907054#M106547</link>
      <description>&lt;P&gt;I did not contact them. I'd rather count on this community and myself :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 15:46:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907054#M106547</guid>
      <dc:creator>dyakunin1</dc:creator>
      <dc:date>2025-10-10T15:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907058#M106549</link>
      <description>&lt;P&gt;Hm, I prefer an official fix vs. "workarounds".&lt;BR /&gt;&lt;BR /&gt;get it fixed - and forget about it.&lt;BR /&gt;&lt;BR /&gt;find a workaround and don't forget!!&lt;BR /&gt;- and don't forget to tell every colleague!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 16:10:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907058#M106549</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-10T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is there such unexpected re-calculation of columns without formulas?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907100#M106551</link>
      <description>&lt;P&gt;Concerning "community and myself" - I added the topic to&lt;BR /&gt;&lt;LI-MESSAGE title="Caution: Places where Jmp does something unexpected" uid="699820" url="https://community.jmp.com/t5/Discussions/Caution-Places-where-Jmp-does-something-unexpected/m-p/699820#U699820" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;On the other hand, I am quite confident that this issue can be resolved in the GUI.&lt;BR /&gt;Options similar to those in Subset could help the customer to understand the issue, and the &lt;STRONG&gt;default&lt;/STRONG&gt; option should be to remove or disable the formula column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1760165421633.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84826i597733CF69A6E969/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1760165421633.png" alt="hogi_0-1760165421633.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Let's see if this behavior is considered a bug: TS-00244891.&lt;/P&gt;
&lt;P&gt;If not, it will take longer, as we first need to collect enough Kudos on the wish list:&amp;nbsp;&lt;LI-MESSAGE title="Query Builder: disable formula column" uid="906951" url="https://community.jmp.com/t5/JMP-Wish-List/Query-Builder-disable-formula-column/m-p/906951#U906951" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 07:00:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-there-such-unexpected-re-calculation-of-columns-without/m-p/907100#M106551</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-11T07:00:40Z</dc:date>
    </item>
  </channel>
</rss>

