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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
xx_emanis
Contributor
Contributor

Filtering in tmap

Hello All,

Im trying to filter two columns ORGANIZATION_ID and TRANSACTION_SOURCE_TYPE_ID in my job and below is the expression I used in TMAP. 

 

Not sure why but the job is not loading any records to the target table. Please correct me if im missing anything in the way I used the expression in TMAP.

0683p000009M3Hs.png0683p000009M3KJ.png

Thank You

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

"&&" is for "and". For "or" use "||" as ORGANIZATION_ID cannot be equals to 116, 117, ... at the same time!

The answer is

(Source1.ORGANIZATION_ID.equals("116") || Source1.ORGANIZATION_ID.equals("117") || ...) && 
Source1.TRANSACTION_SOURCE_TYPE_ID.equals("25")

View solution in original post

2 Replies
TRF
Champion II
Champion II

"&&" is for "and". For "or" use "||" as ORGANIZATION_ID cannot be equals to 116, 117, ... at the same time!

The answer is

(Source1.ORGANIZATION_ID.equals("116") || Source1.ORGANIZATION_ID.equals("117") || ...) && 
Source1.TRANSACTION_SOURCE_TYPE_ID.equals("25")
xx_emanis
Contributor
Contributor
Author

Thank You. That worked.