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
Anonymous
Not applicable

Adding a Total to matrix

Hi Everyone,

 

As I see, when adding a 'row subtotals' In a matrix, that's automatically doing the Total according to the value's formula.

for example, this is my row data - 

Linoy18_0-1617021141339.png

I created a matrix that presents the AVERAGE per country, but in Total, I need the SUM of these averages (the 88 is the average of all values, I want it to be 361 instead of 88), is that possible?

 

Linoy18_1-1617021234072.png

Thanks!

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

Averagex(Values(Table[Country]), Calculate(Sum(Table[value])))

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
Anonymous
Not applicable

That works, thanks!

amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

Averagex(Values(Table[Country]), Calculate(Sum(Table[value])))

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors