Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
neerajthakur
Creator III
Creator III

How to do this type of Join in QlikView

LEFT OUTER JOIN VisIn VI ON VI.ConsID = INSP.ConsID AND CASE WHEN VI.ItemCode IS NOT NULL THEN VI.ItemCode ELSE 1 END = CASE WHEN VI.ItemCode IS NOT NULL THEN INSP.ItemCode ELSE 1 END

Hi, everyone how can I do this type of join on this logic in QlikView.

Thanks & Regards,
Please Accepts as Solution if it solves your query.
1 Reply
Gysbert_Wassenaar

In both tables redefine the ItemCode field (or create a new field in both tables) as Alt(ItemCode,1) as ItemCode. If you do that a LEFT JOIN will join both tables as you want since both tables contain the fields ConsID and ItemCode.


talk is cheap, supply exceeds demand