
Anonymous
Not applicable
2019-06-13
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to filter data based on dates?
I want to filter invoice data based on invoice date greater than 1 Jan 18.
how can i implement this using tfilter? do i need to use advanced mode ?
294 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2019-06-13
04:49 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pankaj,
In advanced mode, try this :
input_row.date.after( TalendDate.parseDate("yyyy-MM-dd","2018-01-01"))
What you put in the parseDate depends of the format of your date. Here i'ts an example.
294 Views
4 Replies

Anonymous
Not applicable
2019-06-13
04:49 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pankaj,
In advanced mode, try this :
input_row.date.after( TalendDate.parseDate("yyyy-MM-dd","2018-01-01"))
What you put in the parseDate depends of the format of your date. Here i'ts an example.
295 Views

Master
2019-06-13
04:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you may use something like that:
TalendDate.diffDate(Date1(), Date2(), "dd")>0
TalendDate.diffDate(Date1(), Date2(), "dd")>0
294 Views

Anonymous
Not applicable
2019-06-13
06:02 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some date in which we have invoice date null, So how can I NVL that?
Say if invoice date is null then I want to check invoice_Sent_Date after 1 jan 18
Say if invoice date is null then I want to check invoice_Sent_Date after 1 jan 18
294 Views

Master
2019-06-13
08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(yourdate==null)?ifyes:ifnot
it's an inlin if in java. you can use it on tmap
it's an inlin if in java. you can use it on tmap
294 Views
