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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
EsterBR
Helper II
Helper II

How to calculated the average for the last 3 versions

Hi,

 

I have the following table and I would like to calculate the average of the las 3 release versions:

EsterBR_1-1710146437400.png

v5 should show the average of v4, v3 and v2; v4 should show the average of v3, v2 and v1; and so on. How can I achieve that with Power BI?

 

Thanks you so much!

 

Esther

 

 

2 ACCEPTED SOLUTIONS
DataInsights
Super User
Super User

@EsterBR,

 

There are a few ways to achieve this. This approach uses the new preview feature Visual Calculations. The article below provides detailed instructions. Here's the DAX you would use. Make sure your measure [Sum of sprint] is an explicit measure.

 

Moving Average = MOVINGAVERAGE ( [Sum of sprint], 3, FALSE )

 

DataInsights_0-1710165412359.png

Here's how I set the format (Format Pane):

 

DataInsights_1-1710165434145.png

 

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-visual-calculations-overview 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

@EsterBR,

 

It's possible to do this without a visual calculation, but the DAX is more complex. You have to enable this preview feature in Options:

 

DataInsights_0-1710174626883.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
EsterBR
Helper II
Helper II

Thanks @Anonymous, Is it possible to do it without a visual calculation? I do not have that option in Power BI.

@EsterBR,

 

It's possible to do this without a visual calculation, but the DAX is more complex. You have to enable this preview feature in Options:

 

DataInsights_0-1710174626883.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




DataInsights
Super User
Super User

@EsterBR,

 

There are a few ways to achieve this. This approach uses the new preview feature Visual Calculations. The article below provides detailed instructions. Here's the DAX you would use. Make sure your measure [Sum of sprint] is an explicit measure.

 

Moving Average = MOVINGAVERAGE ( [Sum of sprint], 3, FALSE )

 

DataInsights_0-1710165412359.png

Here's how I set the format (Format Pane):

 

DataInsights_1-1710165434145.png

 

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-visual-calculations-overview 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors