Jim,
Thanks for following up.
1. Can we make theCount column stop counting when the value is missing? In you example, it repeats the last count number, will will presummably do so until the ID number changes.
2. I copied and pasted your formula. The only thing I changed in your formula is the name of the variables so that it exactly matches my data set.
3. The word "count" does not appear in any of my variable names. I renamed my "TheCount" variable to "Column 10" and got the same error message. I've also tried renaming my site variable. Same problem.
4. I'm using JMP Pro 13.1
Is Missing (Var1) == 0 Then TheCount=1
Translates as if Var1 is missing then the new variable (TheCount)=1? But what does "==0" do?
This is what I have, including my variable names.
If( Lag( :SiteID ) != :SiteID,
If( Is Missing( :NozeroValue ) == 0,
:Column 10 = 1,
:Column 10 = .
),
If( Is Missing( :NozeroValue ) == 0,
:Column 10 = Sum( :Column 10, 1 )
)
);
:Column 10;