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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.


Go to My LinkedIn Page


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.


Go to My LinkedIn Page


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors