What would be a simple column formula to obtain unique values with large datasets (100k rows)? Is this possible?
For example, looking at Cars.jmp. The distribution platform gives already the number of levels (unique elements), but I couldn't find a formula column able to calculate these.
Make column --> 37 levels (different manufacturers).
This is often called cardinality, distinct, or number of unique values.
The formula should be able to use group columns so we will obtain, for example, the number of models per manufacturer.
Where we have Toyota, the value will be 11 models. Mitsubishi 6 models, etc.
This is also possible under JMP Query Builder, for example.

SELECT t1.Make, COUNT(DISTINCT t1.Model) AS "Count DISTINCT-Model"
FROM Cars t1
GROUP BY t1.Make;
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Cars.jmp" );
Distribution(
Nominal Distribution( Column( :Make ) ),
Nominal Distribution( Column( :Model ) ),
Local Data Filter(
Add Filter(
columns( :Make ),
Where( :Make == "Toyota" ),
Display( :Make, N Items( 15 ), Find( Set Text( "" ) ) )
)
),
SendToReport(
Dispatch( {"Make"}, "Frequencies", OutlineBox, {Close( 1 )} ),
Dispatch( {"Model"}, "Distrib Nom Hist", FrameBox,
{Frame Size( 110, 178 )}
)
)
);