Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add total after each group
10-04-2019
12:59 PM
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 1 | Hierachy 2 | Month1 | Month2 | Month3 |
X | A | 22 | 31 | 32 |
X | A | 23 | 4 | 5 |
X | A | 23 | 54 | 21 |
Y | A | 23 | 5 | 62 |
Y | B | 23 | 4 | 5 |
Y | B | 23 | 54 | 21 |
Y | B | 29 | 98 | 45 |
Y | B | 12 | 45 | 18 |
Target:
Hierachy 1 | Hierachy 2 | Month1 | Month2 | Month3 |
X | A | 68 | 89 | 58 |
Total | 68 | 89 | 58 | |
Y | A | 23 | 5 | 62 |
B | 87 | 201 | 89 | |
Total | 110 | 206 | 151 | |
Total | 178 | 295 | 209 |
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2019
07:46 PM
Hi @LinhNguyen
let me know if you'd like to get this one:
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.
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2019
07:46 PM
Hi @LinhNguyen
let me know if you'd like to get this one:
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.
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019
12:16 PM
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2019
07:49 PM
Please try Matrix visual
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
09-12-2024 06:51 PM | |||
07-29-2024 06:09 AM | |||
Anonymous
| 07-17-2024 03:19 AM | ||
05-06-2024 02:42 AM | |||
08-05-2024 05:11 AM |
Featured Topics