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: 
Not applicable

Left join resident tables

Hi

I have this two tables

Temp1

Load distinct Names,Numbers

resident Oldtable

NoConcatenate

Sales:

Load

IDs,Products,Names

Resident OldTable

How do i Left join my Temp1 table to Sales when i have a NoConcatenate? Where should my left join be?

31 Replies
Not applicable
Author

not working

SunilChauhan
Champion II
Champion II

use left join only not noconcatenate

hope this helps

Sunil Chauhan
its_anandrjs

You can use Left Keep in place of the Left Join

Left keep (TempActiveUsersCookies)


Not applicable
Author

When i only use left join it says it can find column Number

SunilChauhan
Champion II
Champion II

it means some column Number has some syntax error .may be you can use like [Column Number]

check for that field

hope this helps

Sunil Chauhan
Not applicable
Author

like:

TempActiveUsersCookies:

Load Distinct

CookieIDINT as TempActiveUsersCookie,Count(DISTINCT SessionIDINT) as NumberOfBuys

Resident Hej

Where  upper(EventType) = 'BUY' and not isnull(CookieIDINT)

Group by CookieIDINT;



Left Keep (TempActiveUsersCookies)

NoConcatenate

Sales:

Load

CookieIDINT, NumberOfBuys



or?

SunilChauhan
Champion II
Champion II

it means some column Number has some syntax error .may be you can use like [Column Number]

check for that field

hope this helps

Sunil Chauhan
its_anandrjs

Try with

Left keep (TempActiveUsersCookies)


and not Noconcatenate

Not applicable
Author

If i do like that with no Noconcatenate it says filed not found (NumberOfBuys)

its_anandrjs

Check your code may be i believe you load any table twice or in the table when you Left Keep the table check the keys and make a composite keys to join them into previous table.

Hope this helps