<?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 Col score &amp;amp; Col N unique in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/905815#M106418</link>
    <description>&lt;P&gt;&lt;LI-MESSAGE title="Add dense ranking to Ranking Tie and Col Rank functions" uid="590079" url="https://community.jmp.com/t5/JMP-Wish-List/Add-dense-ranking-to-Ranking-Tie-and-Col-Rank-functions/m-p/590079#U590079" 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;
&lt;P&gt;&lt;LI-MESSAGE title="Col N Categories  (💚)" uid="592610" url="https://community.jmp.com/t5/JMP-Wish-List/Col-N-Categories/m-p/592610#U592610" 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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new in JMP19 :&amp;nbsp;&lt;LI-MESSAGE title="New in Graph Builder for JMP 19" uid="895744" url="https://community.jmp.com/t5/JMPer-Cable/New-in-Graph-Builder-for-JMP-19/m-p/895744#U895744" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;very helpful : )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1759813931381.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84473i284AD417C117C1F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1759813931381.png" alt="hogi_0-1759813931381.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Details you should be aware of:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1) excluded rows are not included in the calculation&lt;BR /&gt;[&amp;nbsp;very useful, along the idea of &lt;LI-MESSAGE title="Formula Editor: meaningful results with excluded rows" uid="589701" url="https://community.jmp.com/t5/JMP-Wish-List/Formula-Editor-meaningful-results-with-excluded-rows/m-p/589701#U589701" 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;
&lt;P&gt;nevertheless:&amp;nbsp; somewhat inconsistent, in view of the behavior of other &lt;FONT face="courier new,courier"&gt;Col...&lt;/FONT&gt; aggregations!]&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dt &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows( Index( 3, 8 ) ) &amp;lt;&amp;lt; Exclude;

dt&amp;lt;&amp;lt; New Formula Column(
	Operation( Category( "Aggregate" ), "Score Unique" ),
	Columns( :name ),
	Group By( :sex )
) &amp;lt;&amp;lt; Run Formulas;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1759508880772.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84299iC1EAFBD7FD2D6BB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1759508880772.png" alt="hogi_0-1759508880772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1b) unfortunately, the results don't get update when row states are changed:&lt;/P&gt;
&lt;P&gt;[TS-00231503]&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;wait(2);
dt&amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows( Index( 3, 8 ) )  &amp;lt;&amp;lt; Exclude;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;[to trigger an update, change a cell in the input column and change it back]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Just work with "columns", don't work with expressions.&lt;BR /&gt;this column has missing entries:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Column( "Score Unique[1st character of name][sex]",
	Formula( Col Score( Substr( :name, 1, 1 ), :sex ) ))&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;[This appears to be somewhat inconsistent, in view of the behavior of other &lt;FONT face="courier new,courier"&gt;Col...&lt;/FONT&gt; aggregations]&lt;/P&gt;
&lt;P&gt;[TS- 00215787]&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 22:24:46 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-12-03T22:24:46Z</dc:date>
    <item>
      <title>Col score &amp; Col N unique</title>
      <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/905815#M106418</link>
      <description>&lt;P&gt;&lt;LI-MESSAGE title="Add dense ranking to Ranking Tie and Col Rank functions" uid="590079" url="https://community.jmp.com/t5/JMP-Wish-List/Add-dense-ranking-to-Ranking-Tie-and-Col-Rank-functions/m-p/590079#U590079" 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;
&lt;P&gt;&lt;LI-MESSAGE title="Col N Categories  (💚)" uid="592610" url="https://community.jmp.com/t5/JMP-Wish-List/Col-N-Categories/m-p/592610#U592610" 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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new in JMP19 :&amp;nbsp;&lt;LI-MESSAGE title="New in Graph Builder for JMP 19" uid="895744" url="https://community.jmp.com/t5/JMPer-Cable/New-in-Graph-Builder-for-JMP-19/m-p/895744#U895744" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;very helpful : )&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1759813931381.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84473i284AD417C117C1F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1759813931381.png" alt="hogi_0-1759813931381.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Details you should be aware of:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1) excluded rows are not included in the calculation&lt;BR /&gt;[&amp;nbsp;very useful, along the idea of &lt;LI-MESSAGE title="Formula Editor: meaningful results with excluded rows" uid="589701" url="https://community.jmp.com/t5/JMP-Wish-List/Formula-Editor-meaningful-results-with-excluded-rows/m-p/589701#U589701" 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;
&lt;P&gt;nevertheless:&amp;nbsp; somewhat inconsistent, in view of the behavior of other &lt;FONT face="courier new,courier"&gt;Col...&lt;/FONT&gt; aggregations!]&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dt &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows( Index( 3, 8 ) ) &amp;lt;&amp;lt; Exclude;

dt&amp;lt;&amp;lt; New Formula Column(
	Operation( Category( "Aggregate" ), "Score Unique" ),
	Columns( :name ),
	Group By( :sex )
) &amp;lt;&amp;lt; Run Formulas;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1759508880772.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84299iC1EAFBD7FD2D6BB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1759508880772.png" alt="hogi_0-1759508880772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1b) unfortunately, the results don't get update when row states are changed:&lt;/P&gt;
&lt;P&gt;[TS-00231503]&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;wait(2);
dt&amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows( Index( 3, 8 ) )  &amp;lt;&amp;lt; Exclude;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;[to trigger an update, change a cell in the input column and change it back]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Just work with "columns", don't work with expressions.&lt;BR /&gt;this column has missing entries:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Column( "Score Unique[1st character of name][sex]",
	Formula( Col Score( Substr( :name, 1, 1 ), :sex ) ))&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;[This appears to be somewhat inconsistent, in view of the behavior of other &lt;FONT face="courier new,courier"&gt;Col...&lt;/FONT&gt; aggregations]&lt;/P&gt;
&lt;P&gt;[TS- 00215787]&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 22:24:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/905815#M106418</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T22:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: score Unique &amp; count unique</title>
      <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906142#M106450</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;1b) unfortunately, the results don't get update when row states are changed:&lt;/P&gt;
&lt;P&gt;[TS-00231503]&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;same behavior in Graph Builder - in combination with &lt;STRONG&gt;Scoping:&lt;BR /&gt;When row states are changed after creating the transform column, the values in the plot don't get updated.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I guess this behavior will be fixed in a future version of JMP.&lt;BR /&gt;For now&amp;nbsp;there are multiple workarounds to correct the plot:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;change one of the many inputs which trigger an update of the scoped column formula:&lt;BR /&gt;&lt;/SPAN&gt;change data filter, overlay, wrap, X axis ... and change back&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;save the code and run it again.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;create a new transform column and drag it onto the Y axis&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;edit:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;#3&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;#works for this case - but not for others [see below&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&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-6382105532112w916h540r871" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6382105532112" 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-6382105532112w916h540r871');  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/6382105532112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Some explanation:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Bar graph with default setting:&lt;BR /&gt;counts - by age and student [use it as a reference]&lt;/LI&gt;
&lt;LI&gt;use &lt;FONT face="courier new,courier"&gt;Count Unique[name]&lt;/FONT&gt;&amp;nbsp;on the Y axis:&lt;BR /&gt;count of [all] unique names: 39 (2x Robert)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;The magic:&lt;BR /&gt;scope = "X" &lt;BR /&gt;-&amp;gt;&amp;nbsp; count of unique names - split by "X" [values on the first x axis = age]&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;age=14&lt;/FONT&gt;: 12 students (like in 1.)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;remove some students from the analysis (via exclude &amp;amp; hide)&lt;BR /&gt;-&amp;gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;doesn't change the counting in the plot&lt;BR /&gt;this is very unexpected!&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;remove the transform column from the Y axis &lt;BR /&gt;-&amp;gt; switch back to #1: standard counting&lt;BR /&gt;proves: there are just 4 students with &lt;FONT face="courier new,courier"&gt;age=14&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 08 Oct 2025 11:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906142#M106450</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-08T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: score Unique</title>
      <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906144#M106451</link>
      <description>&lt;P&gt;I just wanted to create a video with &lt;FONT face="courier new,courier"&gt;Col Number()&lt;/FONT&gt; - instead of &lt;FONT face="courier new,courier"&gt;Col N Unique()&lt;/FONT&gt; -&amp;nbsp; to show the difference.&lt;BR /&gt;Unfortunately, Col Number behaves the same :&lt;BR /&gt;according to the setting it should respond to the row states, the local data filter ....&lt;BR /&gt;Indeed, it reacts on changes of the local data filter [not shown] - but it doesn't react on changes of the row states.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6382109106112w856h540r190" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6382109106112" 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-6382109106112w856h540r190');  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/6382109106112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 17:42:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906144#M106451</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-06T17:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: score Unique &amp; count unique</title>
      <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906287#M106466</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I guess this behavior will be fixed in a future version of JMP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, it's already a part of the upcoming 19.1. Col Score and Col Unique behave like other Col functions with respect to exclude.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 13:11:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906287#M106466</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2025-10-07T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: score Unique &amp; count unique</title>
      <link>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906488#M106491</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;For now&amp;nbsp;there are multiple workarounds to correct the plot:
&lt;P&gt;- &lt;STRONG&gt;create a new transform column and drag it onto the Y axis&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Another level of confusion:&lt;BR /&gt;this workaround just works for the &lt;STRONG&gt;new&lt;/STRONG&gt; col aggregations - like&lt;FONT face="courier new,courier"&gt; Col N unique() [&lt;/FONT&gt;red]&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;For other col aggregations like &lt;FONT face="courier new,courier"&gt;Col Median()&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;Col Number()&lt;/FONT&gt; ... it &lt;U&gt;doesn't help&lt;/U&gt; to create a new transform column [blue].&lt;BR /&gt;They seem to recycle the row state settings which were defined when the first Col aggregation was calculated - or even the results of the first calculation.&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-1759921000864.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/84598iA629EBC971FD236C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1759921000864.png" alt="hogi_0-1759921000864.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;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb =Graph Builder(
	Transform Column( "count Unique1", Formula( Col N unique( :weight, :"@Exclude"n ) ) ),
	Transform Column( "Count1", Formula( Col Number( :height, :"@Exclude"n ) ) ),
	Variables( Y( :Count1 ), Y( :count Unique1, Position( 1 ) ) ),
	Elements( Bar( Y( 1 ), Y( 2 ) ) )
);
//gb =Graph Builder();



dt &amp;lt;&amp;lt; Select Rows( Index( 3, 9 ) ) &amp;lt;&amp;lt; Exclude &amp;lt;&amp;lt; Clear select;
wait(2);

gb &amp;lt;&amp;lt; 	Transform Column(
		"Count2",
		Formula( Col Number( :weight, :"@Exclude"n ) )
	);
gb &amp;lt;&amp;lt; 	Transform Column(
		"count Unique2",
		Formula( Col N unique( :weight, :"@Exclude"n ) )
	);
	
gb &amp;lt;&amp;lt; Add Variable( {:Count2, Role( "Y" ),Position(1)} );
gb &amp;lt;&amp;lt; Add Variable( {:count Unique 2, Role( "Y" ),Position(1)} );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;the other 2 workarounds are OK:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;- change one of the many inputs which trigger an update of the scoped column formula:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;change data filter, overlay, wrap, X axis ... and change back&lt;/P&gt;
&lt;P&gt;- save the code and run it again.&lt;/P&gt;
&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 11:08:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Col-score-amp-Col-N-unique/m-p/906488#M106491</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-10-08T11:08:07Z</dc:date>
    </item>
  </channel>
</rss>

