I quick way to do a subsample using a column formula is the use the Col Shuffle() function. The function returns a random reordering of row numbers. If you choose rows where the values of Col Shuffle() are less than than or equal to the subsample size (n_sub), this equivalent to doing a random ordering of the column and selecting the first n_sub rows.
For example, adding new column with this formula will do this for a subsample size of 30.
example table attached.
If you want to do this repeatedly, then learning some JMP Scripting would make this easier. A basic script to add columns like this repeatedly is
Names Default to Here( 1 );
Number_of_Cols_to_Add = 100;
For( i = 1, i <= Number_of_Cols_to_Add, i++,
Current Data Table() <<
New Column( "Y Subsample (Size 30)",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( If( Col Shuffle() <= 30, :Y, . ) )
)
);