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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
VP_VishnuVS3
Helper I
Helper I

Rolling Forecast

Hi All,

 

I have a scenario which requeried rolling forcast for the next three years. Please see the sample data below

 

Jan-2234.69
Feb-2286.72
Mar-2264.75
Apr-2252.9
May-2245.37
Jun-2245.9
Jul-2247.27
Aug-2244.83
Sep-2244.86
Oct-2243.5
Nov-2240.49
Dec-2237.69

 

Logic for forecasting is for Jan 23, Average of (Jan 22 to Dec 22)

Feb 23 is Average of (Feb 22 to Jan 23)

Mar 23 is Average of (March 22 to Feb 23)

like this upto Dec 25 we need to iterate. Could you please me to get a solution on this.

 

Thanks in Advance,

Vishnu

1 ACCEPTED SOLUTION
Anonymous
Not applicable

There are probably already some pre-compiled solutions in DAX, but, if you're happy with it, here's something in M.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

There are probably already some pre-compiled solutions in DAX, but, if you're happy with it, here's something in M.

Thank You so much!!

 

I didn't see anything in Dax. It will be very helpful if you can send me some.

 

Best Regards,

Vishnu 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.