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

If statement for multiple argument

Hi Team,

By applying below login I am able to remove 'UNKNOWN'  from my data.

=IF([End Customer Global Ultimate Name] <>'UNKNOWN' ,[End Customer Global Ultimate Name],NULL())

But I have one more non usable field which is 'Uknown' I wanted to remove that also.

Pls help me how to apply this multiple logic.

Regards,

KK

KK
9 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Load again the table without the field 'Unknow'

Anonymous
Not applicable

try

if match([End Customer Global Ultimate Name],'UNKNOWN','Uknown')=0,[End Customer Global Ultimate Name],NULL())

in match you define all values you donot want

if only UNKNOWN , UnKnown or similiar you may use upper function to convert all in upper case letters

kkkumar82
Specialist III
Specialist III

If you mean to say you have UNKNOWN and unknown in your data, try this

=IF([End Customer Global Ultimate Name] <>'UNKNOWN' OR [End Customer Global Ultimate Name] <>'UNKNOWN' ,[End Customer Global Ultimate Name],NULL())


Thanks

Kiran Kumar

Karim_Khan
Creator III
Creator III
Author

Tnx buddy

KK
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Or try:

=IF (UPPER([End Customer Global Ultimate Name]) <> 'UNKNOWN', [End Customer Global Ultimate Name], NULL())

to capture every possible capitalization of the word Unknown.

sasiparupudi1
Master III
Master III

IF([End Customer Global Ultimate Name] <>'UNKNOWN' or [End Customer Global Ultimate Name] <>'Uknown' ,[End Customer Global Ultimate Name],NULL())

qlikviewwizard
Master II
Master II

Please use as shown in below script:

Capture.JPGHi,

qlikviewwizard
Master II
Master II

Hope this will help you.

Kushal_Chawda

Try,

IF(lower(trim([End Customer Global Ultimate Name]))<>'unknown' ,[End Customer Global Ultimate Name],NULL())