Counting number of values or words in each column
i have a data set and i want to count the number of "OK" and put the calculate value at the bottom of the row for each column.
For example:abacadOH;OC;OKOKOH;OC;OKOKOH;OC;OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK699For(i=1,i<=NCol(dt),i++,
Column(dt,i)[NRows(dt)] = Char(N Rows( dt<< get rows where( As Column(dt,i) == "OK")));
)
I was using the code above but it seems to not let me put the value in f...