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 August 31st. Request your voucher.

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
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.