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: 
Smamm
Contributor
Contributor

Filter rows from file with values from database (With tFilterRow and tJDBCRow)

Hello!

 

I have a small problem using tFilterRow component in TOS Data Integration (version 6.5.1.).

I have two files that output into a database table. I need to filter the second filed based on values from the first file. My job currently looks like this (non-essential parts ommited)

0683p000009LznQ.png

 

My thinking is: Filter the first file base on set values in the file (this works fine).

Then filter the second file based on the output values of the first file (that has already been filtered). The tJDBCRow component has a SQL-query "select distinct id from table" that should be used as the filter for the second file.

 

Any help would be greatly appreciated! 0683p000009MACn.png

 

BR. Smam

Labels (3)
1 Reply
Anonymous
Not applicable

Hi ,

You can use following solution

tDBInput ------->tFlowToIterate ---> tFileInputDelimeted -----> tFilterRow ----->tfileOutputDelemited

In tFilterRow use condition as id Equals ((Integer)globalMap.get("row2.id")) 

and tFileOutputDelimeted in append mode 


Capture.JPG