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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using Exist or Left Join

I have two resident table

Table 1 has a list of Controlling Areas

          Key field is A

Table 2 has Controlling Area data

     Key field is %$CO_Area

I want to create another table from Table 2 if the A exists in Table 2.

I tried

Resident Table 2

     where exists(%CO_Area,A) ;

I am getting a syntax error that A does not exist.  

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Change order in Exists()

Resident Table 2

     where exists(A,%CO_Area) ;

View solution in original post

5 Replies
buzzy996
Master II
Master II

seems here A existing in Table1?right

Not applicable
Author

Yes you are correct A is in Table 1, and I only want to pull data from table 2 if the CO Area is in Table 1


anbu1984
Master III
Master III

Change order in Exists()

Resident Table 2

     where exists(A,%CO_Area) ;

buzzy996
Master II
Master II

can u try Applymap() here?

Not applicable
Author

Change to have the Table 1 field prior to the Table 2 field worked.

Thank you