Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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