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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Average of the subtotals in Power BI matrix

I am trying to get the matrix below to show average instead totals but I can’t get it to work. Any help on this is greatly approached.

 

I can share the sample pbix but not sure how. I have also added top 10 rows of the sample data as well

 

image.png

 

 

image.png

DateDateHourDescLocationAreaLabour_Hours 
Fri, 19-Feb-21Fri0-1ER0 
Fri, 19-Feb-21Fri0-1FR1 
Fri, 19-Feb-21Fri0-1GR0 
Fri, 19-Feb-21Fri0-1AR0 
Fri, 19-Feb-21Fri0-1HR1 
Fri, 19-Feb-21Fri0-1BR0 
Fri, 19-Feb-21Fri0-1DR1 
Fri, 19-Feb-21Fri0-1CR1 
Fri, 19-Feb-21Fri1-2AR0 
Fri, 19-Feb-21Fri1-2FR1 
Fri, 19-Feb-21Fri1-2HR0 
Fri, 19-Feb-21Fri1-2GR0 
Fri, 19-Feb-21Fri1-2BR0 
Fri, 19-Feb-21Fri1-2ER1 
Fri, 19-Feb-21Fri1-2DR0 
Fri, 19-Feb-21Fri1-2CR0 
Fri, 19-Feb-21Fri2-3AR0 
Fri, 19-Feb-21Fri2-3DR1 
Fri, 19-Feb-21Fri2-3ER0 
Fri, 19-Feb-21Fri2-3FR0 
Fri, 19-Feb-21Fri2-3HR0 
Fri, 19-Feb-21Fri2-3BR0 
Fri, 19-Feb-21Fri2-3CR0 
Fri, 19-Feb-21Fri2-3GR0 
Fri, 19-Feb-21Fri3-4DR0 
Fri, 19-Feb-21Fri3-4ER0 
Fri, 19-Feb-21Fri3-4FR0 
Fri, 19-Feb-21Fri3-4CR0 
Fri, 19-Feb-21Fri3-4BR0 
Fri, 19-Feb-21Fri3-4HR0 
Fri, 19-Feb-21Fri3-4GR0 
Fri, 19-Feb-21Fri3-4AR0 
Fri, 19-Feb-21Fri4-5AR0 
Fri, 19-Feb-21Fri4-5BR1 
Fri, 19-Feb-21Fri4-5DR0 
Fri, 19-Feb-21Fri4-5FR0 
Fri, 19-Feb-21Fri4-5ER0 

 

 

 

 

Thanks,

Deevs

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try measures like

 

averageX(summarize(Table, Table[location], table[DayName], "_1", sum(Table[Labour Hour])),[_1])

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try measures like

 

averageX(summarize(Table, Table[location], table[DayName], "_1", sum(Table[Labour Hour])),[_1])

Anonymous
Not applicable

@amitchandak Thanks it worked 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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