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

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
Champion

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
Champion

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