Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have a expression in qlik.
if([Connection Type]='G','C'and match([Status],'A','Rejected')and match([MOSL REF ID],'MPS3A')>0 ,[MOSL REF ID])
Perhaps you mean this:
if(Match([Connection Type],'G','C') and match([Status],'A','Rejected') and match([MOSL REF ID],'MPS3A')>0 ,[MOSL REF ID])
If not the please explain what the conditions are and what the different branches of the if statement are.
What are you trying to do?
1)
if([Connection Type]='G','C'
This isn't right, I guess use Match here as well. And also
2) match([MOSL REF ID],'MPS3A')>0
will return 0 or -1 and in your case both the condition will never meet because you have > 0. What are you trying to do here?
if(Match([Connection Type]='GS','CU')and match([Status],'Accepted','Rejected') and match([REF ID],'MPS3A'),[REF ID])
now check ?/
if(Match([Connection Type]='GS','CU')and match([Status],'Accepted','Rejected') and match([REF ID],'MPS3A'),[REF ID])
now it is showing blank
You still have an extra = sign. Try this:
If(Match([Connection Type], 'GS', 'CU') and Match([Status], 'Accepted', 'Rejected') and Match([REF ID],'MPS3A'), [REF ID])