Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I have two tables: A and B. I want something like: Select * From A Where A.DTIN > B.DTCK.
We can do this in Qlikview?
Hi thechacal,
First, you need to create a temporary table joining the tables A and B to get the fields DTIN and DTCK on the same table.
Then, you can create an other table to filter the values using the where clause DTIN > DTCK.
The code would be similar the following code:
tmp:
Load *;
Select * From A;
Left Join(tmp)
Load *;
Select * From B;
Table:
Noconcatenate
Load *
Resident tmp
Where DTIN > DTCK;
drop table tmp;
Hope it helps you
Regards:
Hi thechacal,
First, you need to create a temporary table joining the tables A and B to get the fields DTIN and DTCK on the same table.
Then, you can create an other table to filter the values using the where clause DTIN > DTCK.
The code would be similar the following code:
tmp:
Load *;
Select * From A;
Left Join(tmp)
Load *;
Select * From B;
Table:
Noconcatenate
Load *
Resident tmp
Where DTIN > DTCK;
drop table tmp;
Hope it helps you
Regards:
Thanks jeffmartins!