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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jeebix
Contributor
Contributor

Join in tMap on value list matching

Hello dear community,

I have two csv files and I want through an inner join in a tMap component retrieve matching data. In the first file, the data for the join is a string like 'E100000'. In the other csv file, the data to match is also a string like 'E100000' but it can be like a string concatenation like 'E100000,E100001,E100002'.

I know that to find a string correspondence in a list, it would be like 'field2.split(",")[java.utils.Arrays.asList(

field2.split(",")).indexOf(field1)], but how can I build an inner join between a string and a correspondence in a string list (splitting the other field) ?

Thanks in advance

Jeebix

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@Jean-Baptiste Belin​ , You do cartesian join in tMap and in output section of tMap enable filter expression and you can use function like row1.Col.contains(row2.col).

 

Thanks,

Manohar

View solution in original post

3 Replies
manodwhb
Champion II
Champion II

@Jean-Baptiste Belin​ , You do cartesian join in tMap and in output section of tMap enable filter expression and you can use function like row1.Col.contains(row2.col).

 

Thanks,

Manohar

Jeebix
Contributor
Contributor
Author

Hi @Manohar B​ ,

 

I succeeded with your response. Thanks a lot !

 

Best regards,

Jeebix

manodwhb
Champion II
Champion II

@Jean-Baptiste Belin​ ,Glad to help you!