Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
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: 
vikas_nandanwar
Creator II
Creator II

Filters at the opening of APP

Hi,

I have a group of data where i have regions as one of the column header

Like

OGC

JNY

JIN

JAN

JIS

JCN

DC

JHK

I wan't a filter at the start with JIN and DC

I am using single below expression for single filter in Data Editor -

Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where OGC = 'JIN';

But for multiple filter this donot work -

Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where OGC = 'JIN' OR 'DC';

this donot work.

Please help.

Thanks,

Vikas


1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

In a SQL statement you would need to use a different syntax:

SQL

  SELECT

     ......

  WHERE OGC IN('JIN','DC');

View solution in original post

15 Replies
lovekeshs
Contributor
Contributor

Where OGC = 'JIN' OR OGC= 'DC';


I am sure you have tried like this as well!

prma7799
Master III
Master III

use this

Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where match(OGC , 'JIN' OR 'DC') ;

vikas_nandanwar
Creator II
Creator II
Author

It gives me OR Function error

prma7799
Master III
Master III

Try this



Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where match(OGC , 'JIN' , 'DC')

vikas_nandanwar
Creator II
Creator II
Author

Match function also do not work

prma7799
Master III
Master III

Try this



Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where wildmatch(OGC , 'JIN' , 'DC')

vikas_nandanwar
Creator II
Creator II
Author

Wildmatch function also not getting recognised

prma7799
Master III
Master III

Please share some sample data.

vikas_nandanwar
Creator II
Creator II
Author

Hi,

I am sharing excel with you

I want data for

JIN and DC

Thanks,

Vikas