Returns value in the specified column.
x ← col(string_column_name)
string_column_name
The column whose data value is to be returned. Note that it must be a string, e.g., "Q1" rather than just a character sequence, e.g., Q1
pctin(col("Q1"),1)
The above is equivalent to:
pctin(Q1,1)
This function is useful when the column name is stored in a variable, such as in a loop instance variable. For example:
pctin(col(@loopvar),1)
pctin(strreplace("Q5_{brandcode}_1", @loopvar_brandcode),1)