Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

mazacini
Not applicable

Can I combine Right function with Where Exists in load

I am loading a Table1 with script Right(Field1,4) as Field2.

Now I want to load Table2 with script Right(Field1,4) as Field2 but only where Field2 exists in Table1 load.

Any suggestions?

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Not applicable

Re: Can I combine Right function with Where Exists in load

Try:

Table1:

Load *, right(Field1,4) as Field2

from ...table1source...;

Table2:

Load *, right(Field1,4) as Field2

from ...table2source...

where exists(Field2, right(Field1,4));


talk is cheap, supply exceeds demand
2 Replies
Gysbert_Wassenaar
Not applicable

Re: Can I combine Right function with Where Exists in load

Try:

Table1:

Load *, right(Field1,4) as Field2

from ...table1source...;

Table2:

Load *, right(Field1,4) as Field2

from ...table2source...

where exists(Field2, right(Field1,4));


talk is cheap, supply exceeds demand
mazacini
Not applicable

Re: Can I combine Right function with Where Exists in load

Thanks Gysbert

That worked great!

Joe