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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Join if Value1 Contains Value2

Field            Values

________________________

TABLE1

Line         |  Coaxial@Robertstown, Fiber@Steelburgh, Fiber@Robertstown

Location   |  Robertstown, Steelburgh, Robertstown

JOIN TABLE2 to TABLE1

Cable      | Coaxial, Fiber

Speed     | 100mbps, 1gbps

I need to join the 2nd table to the first table based on 'Line' containing 'Cable'.

Ideally this is the output

Line           Coaxial@Robertstown, Fiber@Steelburgh, Fiber@Robertstown

Location     Robertstown, Steelburgh, Robertstown

Speed        100mbps, 1gbps, 1gbps  

2 Replies
neelamsaroha157
Specialist II
Specialist II

You can create a field in table 1 as -

Left(Line, index(Line, '@')-1) as Cable

and join it with the second table.