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: 
theboss-123
Creator II
Creator II

MATCH SYNTAXE

Hello  would like to only just the value related to AO011 and BM001 but i got error can check please if the syntaxe below is correct

Load

"CUR_0" as "Devise",
"ORDDAT_0",
"POHFCY_0" as Dim8;

SQL SELECT *
FROM SEED.PORDER where match ([POHFCY_0],'AO011','BM001');

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

@theboss-123 like this.

Load

"CUR_0" as "Devise",
"ORDDAT_0",
"POHFCY_0" as Dim8

Where match ([POHFCY_0],'AO011','BM001');

SQL SELECT *
FROM SEED.PORDER ;

View solution in original post

3 Replies
MayilVahanan

Hi

Match is Qlik function, for SQL, try with "in" like below

Load

"CUR_0" as "Devise",
"ORDDAT_0",
"POHFCY_0" as Dim8;

SQL SELECT *
FROM SEED.PORDER where [POHFCY_0] in ('AO011','BM001');

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
theboss-123
Creator II
Creator II
Author

Hi Dear,

 

First I would like to thanks for your assist and reply secondly i tried ur syntaxe but the resultat it returns all site.

BrunPierre
Partner - Master II
Partner - Master II

@theboss-123 like this.

Load

"CUR_0" as "Devise",
"ORDDAT_0",
"POHFCY_0" as Dim8

Where match ([POHFCY_0],'AO011','BM001');

SQL SELECT *
FROM SEED.PORDER ;