Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Requirement on if condition

Hi guys

i have implemented this if condition but it showing error.could you please help me out on this

if(Product='Two Wheelers' and Level='Level1','Test3',

  if(Product='Three Wheelers' and Level='Level1','Test4,

  if(item='gear' and id=2 ,'Test1',

  if(item5='clach' and pid=7, 'Test2')))) as New_Skill,

Thanks,

Siddik

3 Replies
trdandamudi
Master II
Master II

What is the error you are getting ? Can post it here please.

Clever_Anjos
Employee
Employee

You are missing a ' after Test4

Chanty4u
MVP
MVP

try this

if(Product='Two Wheelers' and Level='Level1','Test3',

  if(Product='Three Wheelers' and Level='Level1','Test4',

  if(item='gear' and id=2 ,'Test1',

  if(item5='clach' and pid=7, 'Test2')))) as New_Skill,