cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FerreiraMateus
New Member

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 accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

2 REPLIES 2
FerreiraMateus
New Member

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 accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors