Thank you very much!! Of the options you presented, the formula implementation is the most intuitive to me; I thought maybe the "if" needed to be implemented as a formula, but wasn't sure; I replaced by existing script segment with that below. Unfortunately, it still only returns a "." in the Module Failures data column, so something is still not right. The new column is created and the data type is correct, but the "if logic" does not seem to be getting implemented.
Thanks for any further advice. I could provide more info too if needed.
dt << New Column( "Module Failures",
data type( Numeric ),
Format( "Fixed Dec", 1, 0 ),
Modeling Type( Continuous ),
Formula( If( :Proceess Step Description == "Unit fails", 1, 0 ) )
);
... View more