Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
swathidumpala
Contributor
Contributor

SQL In operator in Qlik sense

Hi,

Can anyone please help me how to use Sql In operator in Qlik sense.

I have to get

load  branch,

name from tableA where branch in (100,200,300,400) ;

 

1 Solution

Accepted Solutions
JordyWegman
Partner - Master
Partner - Master

Hi,

You are trying to rephrase the SQL statement to a Qlik statement?

Then use this:

Load
  branch,
  name 
From tableA 
Where Wildmatch(branch,100,200,300,400);

Jordy

Climber

Work smarter, not harder

View solution in original post

3 Replies
JordyWegman
Partner - Master
Partner - Master

Hi,

You are trying to rephrase the SQL statement to a Qlik statement?

Then use this:

Load
  branch,
  name 
From tableA 
Where Wildmatch(branch,100,200,300,400);

Jordy

Climber

Work smarter, not harder
swathidumpala
Contributor
Contributor
Author

Thanks Jordy,

The below is giving 100,200,300,400 and also one blank (with all other values as one group).

How can we get rid of that bank.

JordyWegman
Partner - Master
Partner - Master

Maybe you can check the solution @sunny_talwar gave here. In combination with the pick you can be able to give all other values the value you want.

Jordy

Climber

Work smarter, not harder