Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Compare field.table1 with field RANGE in table2

Compare field.table1 with field RANGE in table2 in load script

example something like below but obviously the below doesn't work.

Bring field only when Table1 .FieldX exist in Table2.Field Y


if(Exists(Table2.FieldY,Table1.FieldX)=0,'Does not exist'),

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Exists() only works in script - it is not available in the front end expressions. Use the unqualified field names:

     If(Exists(FieldY, FieldX) = 0, 'Does not exist') As [XYExist],

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jyothish8807
Master II
Master II

Hi Chantelle,

First bring both the fields in to same table using joins, then simply create a field in script.

load

if(field1=field2,field1) as New_field

from <>

Regards

KC

Best Regards,
KC