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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Help With DAX function for calculating Average

Hi All,
I have a PowerPivot table (below) and I am trying to figure out how to get the [Average Workload For The Month] (last column below).
Any help is greatly appreciated

[Year] [Month] [MonthName] [Week] [WORKLOAD] [Average Workload For The Month]
2020 1 Jan 1 1,772 5,866
2020 1 Jan 2 5,751 5,866
2020 1 Jan 3 6,856 5,866
2020 1 Jan 4 7,061 5,866
2020 1 Jan 5 7,889 5,866
2020 2 Feb 2 6,600 6,288
2020 2 Feb 3 6,195 6,288
2020 2 Feb 4 5,813 6,288
2020 2 Feb 5 6,544 6,288

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Anonymous 

You can create a calculated column:

Average Workload For The Month =
CALCULATE (
    AVERAGE ( Table1[Workload] ),
    ALLEXCEPT ( Table1, Table1[Year], Table1[Month] )
)

Please mark the question solved when done and consider giving kudos if posts are helpful.

 Cheers 

SU18_powerbi_badge

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@bconner, Treating as a

calculate(average(table[WORKLOAD]), allexcept(Table,Table[Month]))

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
AlB
Community Champion
Community Champion

Hi @Anonymous 

You can create a calculated column:

Average Workload For The Month =
CALCULATE (
    AVERAGE ( Table1[Workload] ),
    ALLEXCEPT ( Table1, Table1[Year], Table1[Month] )
)

Please mark the question solved when done and consider giving kudos if posts are helpful.

 Cheers 

SU18_powerbi_badge

amitchandak
Super User
Super User

@Anonymous , Try like

calculate(average(table[WORKLOAD]), allexcept(Table,Table[Month]))

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.