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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calculate Extended Rolling Average using previous 5 months data

Hello

I am trying to calculate the projected rolling average using the previous months data as in my table below.

 

weicaomis123_1-1615576294329.png

 

e.g.
I have the data for car sales January to September, but I would like to estimate the values for October-December using the last five months rolling average.
So October will use the sales from (May-September), November will use the sales from (June - Septmber + the rolling average calculated for October)...and so on.

I would like to extend it to 2021 as well - So that I can use the projected values in the 2021 table as well.

The problem I am facing is if I write a measure for the data to calculate the rolling averages - my 2021 table breaks as it cannot access the calculated measure for 2020 ?

 

Can you please help me with the dax query?

 

Thanks in advance

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.