Articles & Guides / Power BI

Power BI Matrix: Show Grand Total but Hide Subtotals

We tested the native Matrix with a three-level row hierarchy. Turning Row subtotals off removed the bottom grand total too. Here is the per-level setup that kept it, with screenshots of all three states.

How to hide row subtotals and keep the grand total

Keep Row subtotals On and enable Per row level. Expand the row hierarchy, select each unwanted level, and turn its Show subtotal setting Off. Leave the level that preserves the bottom grand total enabled.

Format visual → Visual → Row subtotals → Per row level

Our working setup: Region On · Department Off · Team Off. Follow the steps or see the finished Matrix. No DAX was needed for this layout.

What happened in our native Matrix test

We used Region → Department → Team in Rows and a Year → Quarter hierarchy in Columns. The row labels include North, South and West; Online and Retail; and teams such as Direct and Alpha. With row subtotals enabled, the group rows show aggregated values and an overall Total appears at the bottom.

Reproduce the test: download the CSV and set up your Matrix

Download our synthetic test dataset (CSV). It contains 96 records across three regions, two departments, two teams per department, two years and four quarters. This is the data used for the screenshots, not business data.

  1. Import through Get data → Text/CSV. Keep Region, Department, Team and Quarter as text; Year, Revenue and Units as whole numbers.
  2. Add the native Matrix. Put Region → Department → Team in Rows, Year → Quarter in Columns, and Sum of Revenue in Values. Leave Units out of this comparison.
  3. Expand the row hierarchy through Team. For a consistent Q1–Q4 comparison, use Quarter alone in Columns with both years included, and sort quarters ascending. That gives the same quarter aggregates as the first two captures. Keep the visual size, filters and expansion unchanged while testing the three subtotal configurations.
  4. Check the starting values: the bottom Total should be 2,104,800; Q1 should total 525,840; North → Online → Direct should show 24,720 in Q1. Then follow the per-level steps below.

To compare with the final year-level capture, use Year in Columns: 2025 totals 1,040,400 and 2026 totals 1,064,400. Changing the column grouping does not require changing this dataset.

1. Default: subtotals and grand total visible

Native Power BI Matrix with Region and Department subtotal values, Team detail values, and a bottom Total of 2104800.
North, Online and Retail all display subtotal values. The bottom Total is 2,104,800; the Total column on the right is visible too.Open full screenshot ↗ · Swipe the image to see the full width

The obvious switch removes more than expected

We then switched Row subtotals Off globally. The intermediate subtotal values disappeared, but so did the bottom grand total. The team-level values and the rightmost Total column remained.

2. Global Off: the bottom grand total disappears too

Power BI Matrix and Format pane with Row subtotals Off: group values are blank, the bottom Total row is missing, and the rightmost Total column remains.
The Format pane shows Row subtotals Off. Notice that the last visible row is Beta, not Total. The separate Row grand total formatting section does not restore it in this configuration.Open full screenshot ↗ · Swipe the image to see the full width

Step by step: keep the grand total without subtotals

Microsoft documents the Per row level, Row level and Show subtotal controls in its Matrix formatting reference. Here is how we used them to get the required result.

  1. Expand the row hierarchy.

    Make the Department and Team rows visible before configuring them. Our Row level dropdown initially offered only Region; the other levels appeared after we expanded the visual.

  2. Keep Row subtotals On, then enable Per row level.

    Select the Matrix and open Format visual → Visual → Row subtotals. Under Apply settings to, turn Per row level On. Leave the master Row subtotals switch On.

  3. Select each Row level and change Show subtotal.

    In our Region → Department → Team hierarchy, we kept Region enabled and disabled Show subtotal for Department and Team. Turning Region off also removed the bottom grand total in our test.

  4. Check the result, then collapse again if needed.

    Confirm that the team values and bottom Total remain while the intermediate subtotal values are blank. Our per-level settings persisted after collapsing the hierarchy. With different fields, change one level at a time and check which visible total it controls.

Our tested per-level settings
Row levelShow subtotalResult in our test
RegionOnPreserves the bottom Total.
DepartmentOffSuppresses an intermediate hierarchy total.
TeamOffSuppresses the remaining intermediate subtotal values; team detail stays visible.

Region On did not mean the North, South and West subtotal values stayed visible. Those values are blank in the finished Matrix, yet leaving Region enabled was necessary to keep the overall bottom Total. In this setup, the Row level name is not a literal “show totals beside this field's labels” switch: judge each setting by the visible result.

These are observations for this hierarchy, not a promise that the field names in every report will control the same visible totals. Check the result after each change.

The finished Matrix: detail and grand total retained

The final screenshot shows Row subtotals On, Per row level On, and Team → Show subtotal Off. The bottom Total is back, while the intermediate group values are blank. This is the result the global Off switch did not give us.

3. Per row level: the grand total stays

Successful native Power BI Matrix setup: Region and Department subtotal values are hidden, Team detail remains, and the bottom Total is 2104800; the pane shows Per row level On and Team Show subtotal Off.
This capture shows years (2025 and 2026), while the earlier captures show quarters. The column drill level changed, but the overall Total is still 2,104,800. The row-total settings are the comparison here, not the individual period values.Open full screenshot ↗ · Swipe the image to see the full width
Hidden subtotals does not mean hidden group labels. North, Online and Retail remain as hierarchy headings in this layout. Their subtotal values are blank; the rows have not all been removed. Keep this distinction in mind if your goal is a completely flat table.

Row grand total vs column grand total

A Matrix has totals in two directions. The row grand total is the bottom Total row. The column grand total is the Total column on the right. That is why the right-hand Total can remain after the bottom one disappears.

Two directions, two grand totals

Illustrative Matrix with subtotal values hidden, a bottom total row and a rightmost total column
TeamQ1Q2Total
GroupSubtotal values hidden
A102030
B304070
Total4060100

Bottom row: row grand totalTotals down the rows.

Right column: column grand totalTotals across the columns.

Simplified illustration with invented additive values. The group heading remains even though its subtotal values are hidden.

The Format pane gives Row subtotals and Row grand total their own sections, which can make them look like independent visibility switches. Microsoft lists font, text color, background and label styling under Row grand total. That is separate formatting; it does not document an independent show/hide switch there. In our test, visibility still depended on the row-subtotal configuration.

Troubleshooting Matrix subtotals

I turned Row subtotals off and the grand total disappeared.

Turn the master setting back On. Use Per row level to disable the unwanted levels instead. In our test, Region had to remain enabled to preserve the bottom Total.

Why can I only see one field in the Row level dropdown?

Expand the row hierarchy in the visual first. In our test, Department and Team became available only after expansion. Once configured, their settings survived collapsing the Matrix again.

Why are the group labels still there?

Hiding subtotal values does not remove the hierarchy. North, Online and Retail remain as group headings in our finished screenshot. If you need a flat list without those headings, that is a layout requirement, not another subtotal toggle.

Why is the Total column on the right still visible?

That is the column grand total. It totals across the columns, whereas the bottom row totals down the rows. Changing row-subtotal settings does not mean you have changed the column side too.

Can I keep some intermediate subtotals?

Yes. Use the same Per row level controls, but leave the required levels enabled. Check the actual result as you change each selection rather than assuming a field name maps directly to the subtotal label you see.

Which approach do you actually need?

Decision path

Need the bottom grand total, but no intermediate row subtotal values?
Try the native per-level setupExpand the hierarchy → Row subtotals On → Per row level On → disable unwanted levels.
Does the result meet your requirement?

Yes

Use the native Matrix

Keep this configuration. You do not need DAX or a custom visual for this layout.

No — what else must change?

Still missing a total? Check the levels first.

Different values by level? Review the measure.

Independent total controls? Consider Ataytis Matrix.

Start with the native solution. A calculation requirement or a need for broader visual controls is a separate decision.

When formatting is not the whole problem

For the layout above, start with formatting. If you want a measure to return different results at different hierarchy levels, that is a calculation requirement instead. For example, you might want a collapsed Region to show a blank measure while Team and the grand total still show values. DAX ISINSCOPE identifies whether a column is the current hierarchy level and can be used in that kind of measure. Returning blank values is not the same as removing hierarchy rows.

A total that looks numerically wrong is another separate issue: by default, Power BI evaluates the measure in the total's filter context rather than simply adding the displayed cells. Averages, ratios and distinct counts may therefore need a different explanation, not a subtotal visibility change. Microsoft also documents custom totals for changing the total calculation. They are not required for the setup in this guide.

When Ataytis Matrix is worth considering

If you only need the layout demonstrated here, the native Matrix can do it. You do not need a custom visual just to hide intermediate subtotal values and keep a final total.

Ataytis Matrix, our custom visual, is useful when you want more explicit control. It exposes row subtotals, column subtotals, row grand totals and column grand totals as separately switchable controls, with subtotal level options and grand-total settings. The totals documentation covers their formatting and sticky behavior.

The trade-off is introducing and licensing a custom visual, subject to your organization's permissions. It makes more sense when those controls solve a recurring reporting need, or when you also need features such as a wider Matrix. See our Power BI Matrix 100-column limit test and workarounds for that separate problem.

Need to find a line item in a long Matrix? Our Matrix search bar guide compares native slicer options with integrated search, including how filtering differs from hiding totals.

About this research

Research and Power BI testing by AtaytisTech. The three screenshots are our actual native Matrix captures. The downloadable CSV contains the synthetic test data; the diagrams are simplified explanations, not additional test results. Microsoft's documentation is linked alongside the settings and calculation behavior it describes.

The per-level mapping, expansion requirement and collapse persistence are observations from our test. Check them against your own hierarchy and Power BI version; the captures do not establish identical behavior for every layout or release.

Published .

Power BI Matrix: Grand Total Without Subtotals | AtaytisTech