this is my data table:
And I have three variables: M=10, N=11, and P=13
I want to select rows where A=M and A=N, and A=P.
I wrote this line, but it only selects A=M.
dt << Select Where (A==M& A==N & A==P) ;
do you have any suggestions?
Go to Solution
A can't be 9 and 11 and 13 all at the same time. I think you want an OR operator instead of an AND operator.
dt << Select Where (A==M | A==N | A==P);
should do the trick.
View solution in original post
Thanks a lot.