Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Reko_freed
Contributor III
Contributor III

Exclude values from a column if they consist of few lists of character in load script

I have a column say 'Department' and they contains values like - 
ab xyz EXT 0098
cd mno INT 887
ef qrs DEV 77
gh uvw EXT 332
ij rst LIQ 21

I just want to add an expression in load script (something like WHERE department NOT IN ('EXT' & 'INT') which will exclude the values which has EXT and INT in them, so my output will be - 
ef qrs DEV 77
ij rst LIQ 21

 

Labels (2)
1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Dear @Reko_freed ,

 

can you try where condition with wild match function like below

Where NOT WildMatch(Data,'*EXT*','*INT*') ;

View solution in original post

5 Replies
mdmukramali
Specialist III
Specialist III

Dear @Reko_freed ,

 

can you try where condition with wild match function like below

Where NOT WildMatch(Data,'*EXT*','*INT*') ;

Or
MVP
MVP

Assuming this is a load script rather than an SQL statement, perhaps:

Where Not WildMatch(Department,'*EXT*','*INT*')

Reko_freed
Contributor III
Contributor III
Author

Here what should I put in place of data, is it the column name?

mdmukramali
Specialist III
Specialist III

yes, column name.

 

Department

 

Reko_freed
Contributor III
Contributor III
Author

Many Thanks, @mdmukramali