Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nickedw0
Creator
Creator

Load using a sub load

I need to filter out values from one field which occur in another field. I thought something like the following , but cannot get Qlikview to work:

tMgr2:
Load distinct
 Mgr2SID as NewMgr2SID
 ,Mgr2Name as NewMgr2Name
  Resident tQC_Exceptions


  Where Mgr2SID Not exists
    (Load distinct Mgr1SID
     Resident tQC_Exceptions)
  ;

Any help would be appreciated.

4 Replies
Anil_Babu_Samineni

Will INNER JOIN won't work?
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
nickedw0
Creator
Creator
Author

The objective is to purge matching values from the Mgr1SID column from all rows, not just the matching row.

passionate
Specialist
Specialist

Provide some sample data to get quick solution.

 

marcus_sommer

Within the where-clause is no further load possible but the following is quite common to filter loads based on another load:

Load distinct Mgr1SID as Mgr2SID Resident tQC_Exceptions;

tMgr2: Load distinct
     Mgr2SID as NewMgr2SID, Mgr2Name as NewMgr2Name
Resident tQC_Exceptions  Where Not exists(Mgr2SID);

Important by this approach is to use the right fields and to keep in mind that the match runs against a field and not fields within a certain table and therefore it might be necessary to adjust the load-order or to rename fields and similar things.

- Marcus