Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Difference between Match(a , 1 AND b,2) & Match(a,1) AND Match(b,2)

Hi all,

I don't find any difference between these two expressions, yet I want to clarify.

Expression 1:  If(Match(a , 1 AND b,2) ,good,bad)

Expression 2:  If(Match(a,1) AND Match(b,2),good,bad)

Anybody think the time to execute both differs if the number of nested if increases ?

Thanks

     J

1 Solution

Accepted Solutions
marcus_sommer

Exp1 has a wrong syntax but Exp2 would work if the then and else part from the if would be wrapped within single-quotes like 'good'.

- Marcus

View solution in original post

3 Replies
nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

There is no diff b/w them

Both will give same o/p and same perfomance.

-Nagarjun

marcus_sommer

Exp1 has a wrong syntax but Exp2 would work if the then and else part from the if would be wrapped within single-quotes like 'good'.

- Marcus

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Yes u r ryt marcus_sommer‌. I did not check it properly.

-Nagarjun