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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mibu
Microsoft Employee
Microsoft Employee

Multiple sub totals in a single table or matrix

Team,

Trying to learn a measure or way by which I can have a table or matrix in Power BI sub total as follows:

Right now, in a single table, I can get A, B, C, D, and grand total to show...  but not A+B or A+B+C.

Thanks in advance!

Best,

mibu

21090901 Capture.PNG

2 ACCEPTED SOLUTIONS
mahoneypat
Microsoft Employee
Microsoft Employee

This could be done with calculation groups, adapting this approach (see the 2nd part) on asymmetric matrix.

Building a Matrix with Asymmetrical Columns and Rows in Power BI - Excelerator BI

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

sm_talha
Resolver II
Resolver II

You need to create hierarchies by adding columns then use them in the matrix.

 

sm_talha_0-1631240557653.png

 

sm_talha_1-1631240607129.png

 

 

 

 

View solution in original post

4 REPLIES 4
sm_talha
Resolver II
Resolver II

You need to create hierarchies by adding columns then use them in the matrix.

 

sm_talha_0-1631240557653.png

 

sm_talha_1-1631240607129.png

 

 

 

 

mibu
Microsoft Employee
Microsoft Employee

This did the trick.  Thank you!  🙂

You're Welcome 🙂

mahoneypat
Microsoft Employee
Microsoft Employee

This could be done with calculation groups, adapting this approach (see the 2nd part) on asymmetric matrix.

Building a Matrix with Asymmetrical Columns and Rows in Power BI - Excelerator BI

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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