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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

lookup concern

Hi,

I have two tables:

table1:

billno

billdate

amount

table2:

billno

billdate

usercode

i need to make the table1 look like

table1:

billno

billdate

amount

usercode

i used the lookup function, it takes a lot of time.. is there any alternative..

thanks

Labels (1)
1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try with this type of approach

table1:

Load

     billno & billdate as Key,

     billno,

     billdate,

     amount

From

     datafile1;

Left Join(table1)

Load

     billno & billdate as Key,

     usercode

From

     datafile2;

If you don't need the Key filed anymore just delete it using Drop Field Key; command.

Hope it helps

Celambarasan 

View solution in original post

2 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try with this type of approach

table1:

Load

     billno & billdate as Key,

     billno,

     billdate,

     amount

From

     datafile1;

Left Join(table1)

Load

     billno & billdate as Key,

     usercode

From

     datafile2;

If you don't need the Key filed anymore just delete it using Drop Field Key; command.

Hope it helps

Celambarasan 

Not applicable
Author

thanks bro