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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
LinhNguyen
Helper II
Helper II

Add total after each group

Hi everyone,

 

I'm new to PowerBI and I want to create a summary table that has subtotal for each group and a grand total as well (like in the example below). How can I do this in PowerBI?

 

Thank you!

 

Origin table:

Hierachy 1Hierachy 2Month1Month2Month3
XA223132
XA2345
XA235421
YA23562
YB2345
YB235421
YB299845
YB124518

 

Target:

Hierachy 1Hierachy 2Month1Month2Month3
XA688958
 Total688958
YA23562
 B8720189
 Total110206151
Total 178295209
1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @LinhNguyen 

 

let me know if you'd like to get this one:

4.PNG

Pbix attached.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @LinhNguyen 

 

let me know if you'd like to get this one:

4.PNG

Pbix attached.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Thank you!

amitchandak
Super User
Super User

Please try Matrix visual

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.