Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Please find the attached excel sheet, I have provided the Input, Mapping table and Out put , Based on the Mapping table I need to match the date field. Please do the needful. Thanks in advance
Mapping table Table | |
Date | ITC Day |
1/18/2017 | 1/25/2017 |
2/15/2017 | 2/22/2017 |
3/20/2017 | 3/27/2017 |
4/17/2017 | 4/24/2017 |
5/17/2017 | 5/24/2017 |
6/19/2017 | 6/26/2017 |
7/18/2017 | 7/25/2017 |
8/18/2017 | 8/25/2017 |
input date |
date |
1/10/2017 |
1/1/2017 |
1/10/2017 |
1/14/2017 |
1/16/2017 |
1/17/2017 |
2/10/2017 |
2/12/2017 |
2/14/2017 |
2/15/2017 |
2/16/2017 |
2/17/2017 |
2/18/2017 |
3/1/2017 |
3/10/2017 |
3/11/2017 |
3/12/2017 |
3/20/2017 |
4/1/2017 |
4/12/2017 |
4/16/2017 |
Output | |
date | ITC Day |
1/10/2017 | 1/25/2017 |
1/1/2017 | 1/25/2017 |
1/10/2017 | 1/25/2017 |
1/14/2017 | 1/25/2017 |
1/16/2017 | 1/25/2017 |
1/17/2017 | 1/25/2017 |
2/10/2017 | 2/22/2017 |
2/12/2017 | 2/22/2017 |
2/14/2017 | 3/27/2017 |
2/15/2017 | 3/27/2017 |
2/16/2017 | 3/27/2017 |
2/17/2017 | 3/27/2017 |
2/18/2017 | 3/27/2017 |
3/1/2017 | 3/27/2017 |
3/10/2017 | 4/24/2017 |
3/11/2017 | 4/24/2017 |
3/12/2017 | 4/24/2017 |
3/20/2017 | 4/24/2017 |
4/1/2017 | 4/24/2017 |
4/12/2017 | 4/24/2017 |
4/16/2017 | 4/24/2017 |
Using Interval match,I could get the above date.
Thanks all for your replies.
please elaborate
first step::::
DateMap:
Mapping Load
Date("Date"),
ITCDate
From [filepath];
second step::::
DateLoad:
Date
ApplyMap('DateMap',Date("Date"),-99) as ITCDate
From [filepath]
Using apply map how can i get the less than value. here, input date need to match with less than date of mapping table.
Using Interval match,I could get the above date.
Thanks all for your replies.