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

requirement on if condition

hi frnds

if([BTS Contact]='Manager' and Portfolio ='US Pharma','Kelly ',

if([BTS Contact]='Manager' and Portfolio ='Corporate','’Tasha ',

if([BTS Contact]=' Manager' and Portfolio ='MDS','Juli ',

if([BTS Contact]='Manager' and Portfolio ='MTS (McK Tech Solutions)','Terri ',

if([BTS Contact]='Solution Manager','solution_manager_name',

if([BTS Contact]='Project Manager','project_manager')))))) as contact

it is working in frontend object level but if i apply back end it is not working

here the condition is :"

if([BTS Contact]='Solution Manager' then bring data solution_manager_name field;

if([BTS Contact]='Project Manager then bring data roject_manager' field;

Thanks,

siddiq

1 Solution

Accepted Solutions
SunilChauhan
Champion
Champion

Can you use field name without single quote

if([BTS Contact]='Manager' and Portfolio ='US Pharma','Kelly ',

if([BTS Contact]='Manager' and Portfolio ='Corporate','’Tasha ',

if([BTS Contact]=' Manager' and Portfolio ='MDS','Juli ',

if([BTS Contact]='Manager' and Portfolio ='MTS (McK Tech Solutions)','Terri ',

if([BTS Contact]='Solution Manager',Solution_manager_name,

if([BTS Contact]='Project Manager',project_manager)))))) as contact

Sunil Chauhan

View solution in original post

3 Replies
sunny_talwar

Did the solution provided here not work for you? Need clarification on if condition with two fields

Not applicable
Author

Thanks sunny now i got it

SunilChauhan
Champion
Champion

Can you use field name without single quote

if([BTS Contact]='Manager' and Portfolio ='US Pharma','Kelly ',

if([BTS Contact]='Manager' and Portfolio ='Corporate','’Tasha ',

if([BTS Contact]=' Manager' and Portfolio ='MDS','Juli ',

if([BTS Contact]='Manager' and Portfolio ='MTS (McK Tech Solutions)','Terri ',

if([BTS Contact]='Solution Manager',Solution_manager_name,

if([BTS Contact]='Project Manager',project_manager)))))) as contact

Sunil Chauhan