Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may refer to the posts below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may refer to the posts below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
kentyler
Solution Sage
Solution Sage

It seems a piece is missing

Can there be a forecast for the same item on different dates ?

How is the date range of the "End" table determined ?

It looks like the partial rule is

Starting on the date of the forecast, create a record for every day for that product up to the end of the date range.
Is that a correct interpretation ?





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Anonymous
Not applicable

Yes, forecasts for the same item come in on different dates. Essentaially the forecast gets updated with the most recent forecast recieved. This is then used until a new one comes in.

 

Your'e corret about the date range. The start is the first forecast recieved, and the end is the current date.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.