Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello Team,
I'm trying to customize the Subtotal in the Table/Matrix chart, please guide me through..
Below is the data, when I select Income and Other income Subtotal should display SUM of these two category values...
how ever If I select Expense along with Income then either subtotal should be masked or should be difference between
Income and Expense ..
the same follows with Income and Sales too..
To customize the subtotal in a Table/Matrix chart in Power BI, you can create calculated columns to represent the desired subtotals and then use them in the chart. Here's an example of how you could approach this:
Total Income = SUM(Table[Income] + Table[Other Income])
Income - Expense = SUM(Table[Income]) - SUM(Table[Expense])
Income - Sales = SUM(Table[Income]) - SUM(Table[Sales])
Note that this is just one example of how you could customize the subtotals in a Table/Matrix chart in Power BI. You can also use different DAX formulas or pivot the data to get the desired subtotals.