Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get result by first immidiate less date from another table

Hello Friends,

Here i have two tables.

In Table A, there are some part no. with different created date and task no.

In Table B, there are some part no. with different ID no. and ID_Date.

Now

Example 1:

In Table A, Task No. 1, Part No. A and Created Date: 08/07/2013  10:27:03

Now i want to get ID No from Table B according to part no. and created date.

Task No. 1, Part No. A and Created date: 08/07/2013  10:27:03, So for same part no. immidiate first less date of created date in Table B is 08/07/2013  10:20:00

So ID No is ID_1

Example : 2

Task No. 3, Part No. A and Created date: 08/07/2013  12:27:03, So for same part no. immidiate first less Id_date of created date in Table B is 08/07/2013  10:30:00

So ID No is ID_2

Example : 2

Task No. 4, Part No. C and Created date: 08/07/2013  13:07:00, So for same part no. immidiate first less Id_date of created date in Table B is 08/07/2013  11:30:00

So ID No is ID_5

TABLE: A

TASK NO.CREATED BYPART_NOCREATED DATE
1AAAA08/07/2013  10:27:03
2AAAB08/07/2013  11:00:00
3AAAA08/07/2013  12:27:03
4BBBC08/07/2013  13:07:00
5CCCB08/07/2013  14:20:03

TABLE: B

PART_NOIDID_DATE
A

ID_1

08/07/2013  10:20:00
AID_208/07/2013  10:30:00
BID_308/07/2013  11:30:00
B

ID_4

08/07/2013  12:00:00
CID_508/07/2013  11:30:00

Please let me know how do i achive this result?

Thanks

4 Replies
Not applicable
Author

Try the Interval function.

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

I have a qvw file scheduled based on another qvw filw succeded the reload ifs fine in the physical folder but the task status is still showing running and it is showing Abort Reload button enable it doesn't go to grey but the other tasks are fine Could you help me what is the problem

Not applicable
Author

This sounds like the old server bug, you will need to restart the services and probably update to a new SR