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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jp25
Frequent Visitor

DAX Question Averag

Hello All, 

I am working on the following table. 

jp25_0-1612768190939.png

 

in this table, every month has more than 3 sources of income. namely: salary, Interest & Rental Income. 

 

I am struggling to find a way to calculate the average monthly income till date, and want to continue updating as more data in future gets updated where a month may have a different number of income sources. 

 

I Really appreciate any help in this regards.

 

 

Thanks, 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jp25 , Your date seems like a month, but in case it, not the month, have a month year and try a measure like

 

AvergaeX(Values(Table[Month Year]),calculate(Sum(Table[Value])))

 

 

new columns

Month Year = FORMAT([Date],"mmm yy")
Month Year sort = FORMAT([Date],"yyyymm")

Share with Power BI Enthusiasts: 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

2 REPLIES 2
amitchandak
Super User
Super User

@jp25 , Your date seems like a month, but in case it, not the month, have a month year and try a measure like

 

AvergaeX(Values(Table[Month Year]),calculate(Sum(Table[Value])))

 

 

new columns

Month Year = FORMAT([Date],"mmm yy")
Month Year sort = FORMAT([Date],"yyyymm")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thank you.  That helped. 

Appreciate your response

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.