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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.