Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Transforming Sporadic Forecast Data

I need help transforming some sporadic data I have in a table. I need it in a new table with all the products but with new rows for every date. The latest forecast is used for the new rows. Any help would be appreciated. Thanks.

 

Example:

Start    End  
Productforecastdate  Productforecastdate
rice101/1/2020  rice101/1/2020
milk51/3/2020  rice101/2/2020
eggs21/5/2020  rice101/3/2020
rice111/7/2020  rice101/4/2020
eggs51/7/2020  rice101/5/2020
rice91/9/2020  rice101/6/2020
milk31/9/2020  rice111/7/2020
     rice111/8/2020
     rice91/9/2020
     rice91/10/2020
     milk51/3/2020
     milk51/4/2020
     milk51/5/2020
     milk51/6/2020
     milk51/7/2020
     milk51/8/2020
     milk31/9/2020
     milk31/10/2020
     eggs21/5/2020
     eggs21/6/2020
     eggs51/7/2020
     eggs51/8/2020
     eggs51/9/2020
     eggs51/10/2020

3 Replies