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! Request now

Reply
Anonymous
Not applicable

Moving month sales calculation

Hello good afternoon, I need some help calculating what is the average of sales for the current year, disregarding the last month, and how much the last month of sales increased (or fell) vs. this average for the rest of the year. For example: I have sales data up to Sep/21 - therefore, I would like to know how much of this last month's sales (Sep/21) had growth or fall vs. the average/month from Jan to Aug/21. Next month I will have a new compilation of data, so this calculation will need to calculate how much Oct/21 average sales grew or fell vs. the average from Jan to Sep/21, and so on. My base contains the sales details by date/month/year, and I also have a full calendar base. Thank you very much in advance! Mateus

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

All measures are in the attached pbix file.

 

Picture3.png

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Awesome, thanks Jihwan! That's exactly what I needed!

 

Kind regards,

Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

All measures are in the attached pbix file.

 

Picture3.png

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.