Is the issue related to Summary table?
I did just today notice some weird behaviour with summary tables when I tried to remove formulas. I'm currently testing the issue out and will send ticket to JMP support after I a proper example. I can also post the example here after it is ready.
Edit:
Here is quick example about the issue I came across today (I fairly rarely use formulas...):
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
//create some formula colums
dt << New Column("deduction", Numeric, "Continuous", Format("Best", 12), Formula(:height - :weight));
dt << New Column("concat_col", Character, "Nominal", Formula(:name||"_"||Char(:name)));
dt_summary = dt << Summary(
Group(:name,:sex, :concat_col),
Mean(:height),
Mean(:deduction),
Freq("None"),
Weight("None"),
Link to original datatable(0)
);
Try(
dt_summary << Delete Column("name");
,
show(exception_msg);
);
Try(
f = Column(dt_summary, "concat_col") << Get Formula;
show(f);
Column(dt_summary, "concat_col") << Delete Formula;
,
show(exception_msg);
);
/*
Cannot delete column "name" while it is referenced by the formula of column "concat_col".
Removing a formula leaves the data unchanged. Removing references replaces each reference with an empty value. These effects are permanent and cannot be undone.
f = :name || "_" || Char(:name);
exception_msg = {"Column concat_col has no formula"(1, 2, "Delete Formula", Delete Formula /*###*/)};
*/
Formula not visible in column listing on the left and formula not visible in Formula panel box either.
The formula is there if I click Edit Formula. And if I change "_" in concatenate to " " the formula disappears, column gets locked and values do get changed in datatable:
Simple fix in this case could be to first delete all formulas from original data table before creating the summary table, but I would think that formulas shouldn't be copied over (just values) to summary table, as it might have some very weird behaviour depending in the formulas.
Edit2:
I have now sent ticket about this issue/feature I described to JMP Support.
-Jarmo