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
bscholler
Frequent Visitor

Trailing Average HELP

I have a built a table that shows the weighted net fee by studio for the last three months.

bscholler_0-1688133951850.png

I would like to find a way to also have a visualization for each month that would show the Average (of the total column numbers) for the last three months.  So June's three month trailing average would be $42,643,068.  I tried creating measures that would use average and sum fucntions but I can't use the Sum function with the average function in a measure.   

 

I each month was its own table that I appended into one.  here are my current fields

bscholler_1-1688134209061.png

 

 

5 REPLIES 5
bscholler
Frequent Visitor

I will give this a try!   Thank you!

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

That takes me to a sign-in page.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

https://app.powerbi.com/links/66Bn3J4rT8?ctid=89c36a4c-ae54-4b3f-90b1-b13e3b389e56&pbi_source=linkSh...

 

I think I did this right.  Uploaded to the service then copied the link.  I am not sure if the settings are correct for others to view though. 

 

 

amitchandak
Super User
Super User

@bscholler , You can three month Avg of your measure free - Weight Free

 

3 Month Avg = CALCULATE(AverageX(Values('Date'[MONTH Year]),[Weight free])
,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH))

 

If you only need it in Subtotal/grand total use isinscope

How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials: https://youtu.be/smhIPw3OkKA

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.