Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Running Average Forecast

Hello all,

 

i want to create a forecast based on past values in PowerBI using a measure.

 

I have a big set of data with various information for the previous months (January to June) and need to use this data to create a forecast for the upcoming months with an average function.

 

i.e. July vale = average of April may June 


white values are available, yellow data is not available and needs to be calculated. So it's kind of a Loop, I need to use the calculated average in October to calculate the average of November...

 

1 Reply

  • ERD's avatar
    ERD
    Community Champion

    How does your real data look like? If your months are in separate columns, I'd suggest you to unpivot them in Power Query first.

    If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.