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
thx1137
Helper I
Helper I

Power BI or Paginated - Custom Subtotals?

All,

Trying to construct a matrix visual that shows values for individual members of a field, with subtotals below the individuals showing groupings of those individual members, plus a total of all members.  Here is an example:

 

thx1137_0-1700522941086.png

I've done this with other tools (I believe it is called "stacking") and can achieve it in Power BI Desktop by creating individual measures using CALCULATE with filter for the individual members of a group but wondering if there is a better way.  Is the situation any better with Power BI Paginated?

2 REPLIES 2
thx1137
Helper I
Helper I

Found this was easier to do (without resorting to inserting blanks and such) in Power BI Paginated....which has spawned other challenges...

amitchandak
Super User
Super User

@thx1137 , I assume you need additional rows before the total. For that, You need to have values in your dimension of use additional dimension

 

refer to how this done in P&L

Power BI How to get the P&L formatting right: https://youtu.be/C9K8uVfthUU
Power BI How to get two columns format Profit and Loss Statement(P&L) right: https://youtu.be/WLg85yiMgHI
https://medium.com/microsoft-power-bi/power-bi-formatted-p-l-with-custom-sub-totals-and-blank-rows-e...

 

 

Also, refer

How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials| isinscope: https://youtu.be/smhIPw3OkKA

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