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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors