The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Bangalore, IN

Welcome to the Bangalore User Group

Click the 'Join Group' button to get updates on group news and events.

SOLVED

!Contain (doesn't contain)

Neeta_Latwal
7 - Meteor

Hi All,

 

We have one column where more than 200 type of currency are populated but I want the data excluidng 6-7 currency what function can use, please help.

 

I was using !contains("USD" + "INR" + "GBP" + "abd" + "DEF") but this function is not woking.

 

Thanks,

Neeta

4 REPLIES 4
SangeetaDoni
5 - Atom

You have use filter tool with "doesn't contain" and syntax  instead of  !contains("USD" + "INR" + "GBP" + "abd" + "DEF")  could be !Contains([column name],"USD") and !Contains([column name],"INR") and !Contains([column name],"GBP") and !Contains([column name],"GBP") 

kapilrautela_1990
6 - Meteoroid

Use Filter tool :
Expression :  [Input_field_name] NOT IN ('USD' , 'INR' , 'GBP' , 'abd' , 'DEF')

Neeta_Latwal
7 - Meteor

Thankyou Sangeeta & Kapil for your quick response

Its really helpful.

shashanksaie28
5 - Atom

Additionally to the above you can also use 'Select Records' tool if these currency codes always appear at a particular record number. You can mention their respective record numbers (row numbers) in the Configuration options of the Select Records Tool to exclude them.