I have a requirement to Map or copy the previous row of the table if for next Date, data is not be available.
I have a Stock Table with some fields like Key, Invoice date, Material and Stock etc. This table is mapped with an external calender date.
So here calender date is available from Date of year Start till today date. But Invoice date is available in only those cases when Invoice has been done. So In Input table maximum records (Rows) are Null because Calender Date is available for all the dates but Invoice date is available in case of very less records.
Here My Requirement is that if key and Stock (row is null except Calender date) is Null in this case for next dates we need to consider the same column till the next available key and Stock. We need to follow this process for whole year for all the keys.
Kindly find the attached excel Input table with Output Table.