Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Where Condition

Hi Friends

WHERE BRA_CODE =('AL00' 'AP00' 'AA00')

When I load data I have added the above where clause in my sql. But it is not working . Pls correct me

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Try with

WHERE Match(BRA_CODE,'AL00','AP00','AA00')


and what is your complete SQL script let me know


View solution in original post

5 Replies
its_anandrjs
Champion III
Champion III

Try with

WHERE Match(BRA_CODE,'AL00','AP00','AA00')


and what is your complete SQL script let me know


jagan
Partner - Champion III
Partner - Champion III

Hi,

Use In

WHERE BRA_CODE IN ('AL00' 'AP00' 'AA00')


Regarsd,

Jagan.

rbecher
MVP
MVP

WHERE BRA_CODE IN ('AL00', 'AP00', 'AA00')

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
jagan
Partner - Champion III
Partner - Champion III

Hi,

If you want to use in Qlikview Script then try like this

WHERE Match(BRA_CODE, 'AL00' 'AP00' 'AA00')


Regards,

Jagan.

rbecher
MVP
MVP

..would be much better to use the Where Clause on SQL level than LOAD level! This prevents a lot of traffic from the database to QlikView.

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine