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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Calculate Average Monthly Sales

Hi Experts

 

I would like to calculate avg.monthly sale based on my sales data. by Year by Month (if that makes sense). 

 

See sample pbix. either as a calulcated column or measure route

sample file

https://www.dropbox.com/s/ontqwu6v70er0lb/sample.pbix?dl=0 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , I think you need Avg of Sum, Above month level.

 

Sum till month level and Avg above

averageX(Values('Date'[Month Year]), CALCUALTE(Sum('Table'[Sales])))

 

Discussed here how to use summarize for that

https://www.youtube.com/watch?v=qE5KBp4uP0g

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please correct me if I wrongly understood your question.

If the below picture is what you are looking for, please check the link below that is the sample pbix file's link.

 

Picture3.png

 

https://www.dropbox.com/s/54joh9bod275lml/2021%200330.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please correct me if I wrongly understood your question.

If the below picture is what you are looking for, please check the link below that is the sample pbix file's link.

 

Picture3.png

 

https://www.dropbox.com/s/54joh9bod275lml/2021%200330.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

amitchandak
Super User
Super User

@Anonymous , I think you need Avg of Sum, Above month level.

 

Sum till month level and Avg above

averageX(Values('Date'[Month Year]), CALCUALTE(Sum('Table'[Sales])))

 

Discussed here how to use summarize for that

https://www.youtube.com/watch?v=qE5KBp4uP0g

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi Amit can you kindly add the measure to my PBIX File??

Anonymous
Not applicable

Hi Amit is this a measure or cal column.

@Anonymous , It is a measure.

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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