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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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