I have written my saql like
q = load "Opportunities";
q = filter q by !('Opportunity.Name' in ["test","TEST ","Test"]);
q = group q by 'Opportunity.Name';
q = foreach q generate 'Opportunity.Name' as 'Opportunity.Name', count() as 'count';
Also I have tried
q = load "Opportunities";
q = filter q by 'Opportunity.Name' not in ["test","TEST ","Test"];
q = group q by 'Opportunity.Name';
q = foreach q generate 'Opportunity.Name' as 'Opportunity.Name', count() as 'count';
But in the final results I am getting the Opportunity names contains "Test","TEST"