<?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: How Do I create a Column formula for N Categories? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/335074#M58261</link>
    <description>&lt;P&gt;Here is the formula that I would use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	Summarize( Current Data Table(), bygp = by( :sex ) );
	n = N Items( bygp );
);
n;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Nov 2020 14:28:37 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-11-18T14:28:37Z</dc:date>
    <item>
      <title>How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/334847#M58256</link>
      <description>&lt;P&gt;I would like to create a column formula that provides a count of the number of distinct values in a column.&amp;nbsp; I can use the Column viewer, Show summary function in JMP 15 but I want to have that value in a column for use in other calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example in the Big Class Table - N Items in column "Sex" should show 2 as 2 distinct values.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 00:36:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/334847#M58256</guid>
      <dc:creator>trish_roth</dc:creator>
      <dc:date>2020-11-18T00:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/335074#M58261</link>
      <description>&lt;P&gt;Here is the formula that I would use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	Summarize( Current Data Table(), bygp = by( :sex ) );
	n = N Items( bygp );
);
n;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:28:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/335074#M58261</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-18T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/335417#M58283</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp; you're the man!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6401"&gt;@trish_roth&lt;/a&gt;&amp;nbsp; and I also came up with the following ode to the gracious support from some of the other JMP team members.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Summarize( x = by( :sex ) );
N Items( x );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;very much the same but a few less lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 02:32:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/335417#M58283</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2020-11-19T02:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704418#M88849</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/10483"&gt;@PatrickGiuliano&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get the N Items by Variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the unique N values per Year per Work Week. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 17:47:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704418#M88849</guid>
      <dc:creator>CTrahon0526</dc:creator>
      <dc:date>2023-11-30T17:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704421#M88850</link>
      <description>&lt;P&gt;The function is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Number(&amp;lt;:column Name&amp;gt;)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See the Scripting Index for details&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 18:07:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704421#M88850</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-11-30T18:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704449#M88860</link>
      <description>&lt;P&gt;Thank you Jim!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53695"&gt;@CTrahon0526&lt;/a&gt;&amp;nbsp;If you're new to JMP, here's a bit more elaboration on what Jim shared.&lt;/P&gt;
&lt;P&gt;You can put the Col Number() function in a column formula and compute it directly in the data table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm attaching a mock example jmp data table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, I created a "Year Week" column by using an Instant Column Formula in JMP. Right Click on the time column, New Formula Column &amp;gt; Date Time &amp;gt; Year Week.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I created a "Count by Year Week" column with the following column formula in it:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Number(:time, :Year Week)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 20:22:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704449#M88860</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2023-11-30T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704589#M88876</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/10483"&gt;@PatrickGiuliano&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fairly new to JMP, still learning. Good to know about the Col Number() operator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a sample of my data set. I am looking for the unique number of tools per week per year. Each tool could have multiple rows per week. I put an ideal outcome column in the set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 02:33:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704589#M88876</guid>
      <dc:creator>CTrahon0526</dc:creator>
      <dc:date>2023-12-01T02:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704598#M88878</link>
      <description>&lt;P&gt;I would not do what you are asking for in a formula.&amp;nbsp; Rather, I would:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Click on&amp;nbsp; Tables=&amp;gt;Summary&amp;nbsp; and create a summary data table, grouping by Year, WW and ToolID&lt;/LI&gt;
&lt;LI&gt;Using the newly created summary data table, once again, click on&amp;nbsp; &amp;nbsp;Tables=&amp;gt;Summary&amp;nbsp; and create a new summary data table by grouping on just Year and WW.&amp;nbsp; The new table's column called # Rows will give you the number of unique toolIDs per year/WW.&lt;/LI&gt;
&lt;LI&gt;Next, click on&amp;nbsp; &amp;nbsp;the original data table, and then using the Tables pull down menu once again, select&amp;nbsp; Update.&amp;nbsp; This will copy the data from the second summary table into the original table.&amp;nbsp; In the dialog box for the Update,&amp;nbsp;
&lt;OL&gt;
&lt;LI&gt;Select the table to update from(the second summary table)&lt;/LI&gt;
&lt;LI&gt;Select to Match Columns&lt;/LI&gt;
&lt;LI&gt;Select Year from each table and click on Match&lt;/LI&gt;
&lt;LI&gt;Select WW from each table and click on Match&lt;/LI&gt;
&lt;LI&gt;Click on OK&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The data will now be in your original data table&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 03:17:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704598#M88878</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-12-01T03:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704601#M88879</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53695"&gt;@CTrahon0526&lt;/a&gt;, Jim's solution is beautiful! And it teaches you a lot about Table operations in JMP.&amp;nbsp; I agree that a Column formula in this case is very tricky.&amp;nbsp; Tables Summary 2X is a very elegant solution.&amp;nbsp; Then "updating back" the results to the original data table using Tables &amp;gt; Update.&amp;nbsp; That last step can kind be done interactively (by literally dragging and dropping the column from the second summary table back to the first, and finally to the main table) instead of using Tables &amp;gt; Update, but the solution using Update is more robust (reproducible) if you are going to be doing this calculation on many tables.&amp;nbsp; But this kind of gives you a sense of how interactive JMP is as GUI-based tool.&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6342131871112w960h540r458" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6342131871112" 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-6342131871112w960h540r458');  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/6342131871112"&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, 01 Dec 2023 03:51:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/704601#M88879</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2023-12-01T03:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/765796#M94556</link>
      <description>&lt;P&gt;The drag &amp;amp; drop is very cool.&lt;BR /&gt;&lt;BR /&gt;Nevertheless, there is a HUGE disadvantage o this approach:&lt;BR /&gt;it's not dynamic. If data is added to the table, the entries will be wrong.&lt;BR /&gt;&lt;BR /&gt;This is THE benefit of a column formula: The values will be always correct.&lt;BR /&gt;&lt;BR /&gt;Astonishing that there is no New Column Formula / JSL command &lt;FONT face="courier new,courier"&gt;Col N Categories ( ) &lt;/FONT&gt;available in JMP.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 13:58:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/765796#M94556</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-03T13:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/778824#M96025</link>
      <description>&lt;P&gt;here is a wish to add such a functionality&lt;BR /&gt;... to JSL&lt;BR /&gt;... to New Column Formula&lt;BR /&gt;... to Graph Builder&lt;BR /&gt;&lt;BR /&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;BR /&gt;&lt;BR /&gt;I guess there are only a few JMP users in the world who don't need it ; )&lt;BR /&gt;Most JMP users will be excited to see such a functionality in a future version of JMP (... along with&amp;nbsp;&lt;LI-MESSAGE title="dense ranking" 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;</description>
      <pubDate>Sat, 03 Aug 2024 14:01:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/778824#M96025</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-03T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/783750#M96841</link>
      <description>&lt;P&gt;[removed] didn't show up at the right position.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 13:46:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/783750#M96841</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-24T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/821980#M100129</link>
      <description>&lt;P&gt;A little late to the thread, but I was looking for a solution to the same problem.&amp;nbsp; The formula below in&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53695"&gt;@CTrahon0526&lt;/a&gt;&amp;nbsp;'s datatable reproduces the values in "Unique Tool IDs Per Work Week Per Year" column&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Sum( Col Cumulative Sum( 1, :Year, :WW, :Tool ID ) == 1, :Year, :WW )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Dec 2024 19:11:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/821980#M100129</guid>
      <dc:creator>wgardnerQS</dc:creator>
      <dc:date>2024-12-11T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/822054#M100141</link>
      <description>&lt;P&gt;Nice, I can use this a lot - so, now I have:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Try(dt = CurrentDataTable(), stop());


updateLBox = Function( {t},
	(t &amp;lt;&amp;lt; sib) &amp;lt;&amp;lt; setitems( (t &amp;lt;&amp;lt; topparent)[listboxbox( 1 )] &amp;lt;&amp;lt; getselected )
);

nw = New Window("count unique entries",
&amp;lt;&amp;lt; Type("Modal Dialog"),
	Border Box( Left( 10 ), Right( 10 ), bottom( 5 ),
		V List Box(
			Lineup Box( N Col( 1 ), spacing( 10 ),
				// Text Box( "XG Boost Specification" ), 
				// colistbox only necessary if the script is standalone
				H List Box(
					Panel Box( "Select Columns", Col List Box( all, nlines( 15 ) ) ),
					Panel Box( "Cast Selected Columns into Roles",
						Lineup Box( N Col( 2 ),
							Button Box("Unique",
								&amp;lt;&amp;lt;setfunction( Function( {t}, updateLBox( t ) ) )
							),
							Cunique = Col List Box( nlines( 2 ), minitems( 1 ) ),
							Button Box("By Group",
								&amp;lt;&amp;lt;setfunction( Function( {t}, updateLBox( t ) ) )
							),
							CBy = Col List Box( nlines( 2 ), minitems( 0 ) )
						)
					)
				)
			),
			spacerbox(size(1,10)),
			Button Box( "OK",
				&amp;lt;&amp;lt;setfunction(
					Function({t}, ColsUnique = Cunique &amp;lt;&amp;lt; get items;ColsBy= Cby &amp;lt;&amp;lt; get items)
				)
			),
			spacerbox(size(1,10)),
		)
	)
);

ccs= Expr(Col Cumulative Sum( 1));
for each ({col}, ColsUnique, Insert Into(ccs, Name Expr(As column(col))));
for each ({col}, ColsBy, Insert Into(ccs, Name Expr(As column(col))));
cs = Eval Expr(Col Sum( Expr(Eval Expr(Expr(Name Expr(ccs)) == 1 ))));
for each ({col}, ColsBy, Insert Into(cs, Name Expr(As column(col))));

Eval (Eval Expr(new column ("unique_"|| concat items (ColsUnique,"_"),
	Formula(Expr(Name Expr(cs))))))
	

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;... available at a single mouse click : )&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:19:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/822054#M100141</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-12-11T21:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I create a Column formula for N Categories?</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/825178#M100513</link>
      <description>&lt;P&gt;to get the next level of interactivity -&amp;nbsp;please vote here:&lt;BR /&gt;&lt;LI-MESSAGE title="Transform Columns - as comfortable as Summary Statistics?" uid="676711" url="https://community.jmp.com/t5/JMP-Wish-List/Transform-Columns-as-comfortable-as-Summary-Statistics/m-p/676711#U676711" 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;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;to show the number of car makers - correct values for individual years - and split by door size:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6366435561112w806h540r405" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6366435561112" 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-6366435561112w806h540r405');  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/6366435561112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;... there may be more useful applications : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 19:26:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-create-a-Column-formula-for-N-Categories/m-p/825178#M100513</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-12-25T19:26:07Z</dc:date>
    </item>
  </channel>
</rss>

