Forum Discussion

LinhNguyen's avatar
LinhNguyen
Helper II
6 years ago
Solved

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