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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Calculate Future Moving Average based on previous moving average and history actuals

Hello,

 

I am trying to calculate future 12 months moving average based on the last 8 months.

Now we are in 2023 (next year will be 2024), so I will need to calculate this for 2024 (next year for 2025). In January 2024 I will take data from May-December2023, for February 2024 I will take data from already calculated January 2024 and June-December 2023, and so on.

adriandumitru_1-1675418234403.pngadriandumitru_2-1675418259233.png

 

adriandumitru_3-1675418292801.png

 

1 REPLY 1
Anonymous
Not applicable

All I found on the community is this formula:

CALCULATE(SUM(Forecast[Quantity]),DATESINPERIOD('Calendar'[Date],MAX('Calendar'[Date]),-8,MONTH))/8
 
but this is just doing a moving average for the present/pasted months. I need to go 12 months in the future and take data from the history and from the allreadey calculated months, like in the pictures above.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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