Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bsnoles
Contributor
Contributor

How do I use the "IN" statement in a script

I currently have a routine in a dimension field that says the following:

=IF(([CCaR Budget FMS Country Code] = 'A3' OR ([CCaR Budget FMS Country Code] = '7B' OR and this goes on forever until I get to the end and the routine says ... 'Update Record', NULL())

 

How do I use an IN statement to avoid having to retype ([CCaR Budget FMS Country Code] = .....

 

 

 

Labels (2)
1 Solution

Accepted Solutions
Saravanan_Desingh

Try this

=IF(WildMatch([CCaR Budget FMS Country Code],'A3','7B','XYZ'),'Update Record', NULL())

View solution in original post

3 Replies
Saravanan_Desingh

Try this

=IF(WildMatch([CCaR Budget FMS Country Code],'A3','7B','XYZ'),'Update Record', NULL())
bsnoles
Contributor
Contributor
Author

Thank you, this worked perfect....

 

aniaqueen232
Contributor II
Contributor II

A catch can in a car is a modification often employed by automotive enthusiasts to enhance engine performance and reduce carbon deposits. It is especially popular in high-performance and turbocharged vehicles.