You add totals to a Power BI table by turning on the Total row in the visual's Format pane: select the table visual, open Format > Total, and switch Total to On. That gives you a single grand total row at the bottom. For per-category subtotals, you also need to enable Subtotals and make sure the table has a hierarchy or multiple fields on Rows. The steps below cover both, plus what to do when the total looks wrong.
What You'll Need
- Power BI Desktop or the Power BI service (editing permissions in the service).
- A report with at least one table or matrix visual that uses numeric fields.
- A basic understanding of the Fields pane, since totals depend on which fields are in Values versus Rows.
Step-by-Step
- Select the table visual. Click anywhere inside the table on the report canvas. The Visualizations pane appears on the right with the fields used by that visual.
- Open the Format pane. In the Visualizations pane, click the paintbrush icon (Format your visual). If you only see the fields list, click the paintbrush to switch views.
- Find the Total section. Scroll the format options until you see Total. Expand it. The exact label can differ slightly by Power BI version, but it is normally called Total or Totals.
- Turn the total row on. Set the Total toggle to On. A total row appears at the bottom of the table. If the toggle is greyed out, the visual has no numeric field in Values, or you are editing a matrix where totals are controlled differently (see the next steps).
- Choose what the total shows. With Total on, use the options underneath to pick the label text (for example "Total") and, where available, the font, background and alignment. For a matrix, the Total section also lets you turn on Row subtotals and Column subtotals separately.
- Add subtotals for grouped rows. If you want a total per category rather than one grand total, put the category field (such as Product Category) in the Rows well and the detail field (such as Product) beneath it. In the Format pane, expand Row subtotals and set it to On. Power BI then shows a subtotal for each category plus the grand total.
- Check the field aggregation. Click the numeric field in the Values well and confirm it is set to Sum, Average or whatever you intend. A total row adds up whatever aggregation is applied, so a field set to Count will total counts, not amounts.
- Rename the total if needed. In the Total section, edit the label field to change the word "Total" to something clearer, such as "Grand Total" or "All Regions". This is cosmetic only and does not change the calculation.
- Verify the number. Cross-check the total against a card visual or a quick manual sum of a few rows. If it does not match, the usual cause is a filter, a measure that ignores the visual's filters, or a field that is not actually numeric.
- Save and publish. Save the report in Desktop, then publish to the service. Totals carry over with the visual, but anyone editing in the service can change them from the same Format > Total section.
Common Mistakes
- Putting the numeric field in Rows instead of Values. Totals only appear for fields in the Values well. If your number sits in Rows, the table treats it as a label and no total is offered.
- Expecting subtotals from a flat table. A table with one field on Rows shows only a grand total. Subtotals need a hierarchy or at least two fields on Rows, or you should switch to a matrix visual.
- Confusing table totals with matrix totals. The matrix visual has its own Row subtotals and Column subtotals settings. Turning on Total in a matrix does not automatically turn on subtotals.
- Assuming the total respects every filter. A measure written with CALCULATE and REMOVEFILTERS can return a different number than the visible rows suggest. Check the measure definition if the total looks off.
- Leaving the aggregation on Count. A field dropped into Values often defaults to Count if Power BI cannot detect a numeric type. The total then counts rows rather than summing values.
Tips
- Use a matrix instead of a table when you need both row and column subtotals; it is built for that layout.
- Keep the total label short so it does not widen the first column unnecessarily.
- If you need a total that ignores slicers, create a separate measure rather than relying on the visual total row.
- Format the total row with a bold font or a light background so it is visually distinct from the data rows.
- Test the visual with a filter applied; totals should recalculate to the filtered rows, and if they do not, the measure is the likely cause.
Troubleshooting
The Total toggle is missing or greyed out. Confirm the visual is a table or matrix and that at least one field in Values is numeric. If you are in the Power BI service, make sure you have edit rights; viewers cannot change format settings.
The total row appears but shows blank. The numeric field may contain blanks or text. Check the column's data type in the model and clean or convert it.
The total is wrong. Compare the aggregation setting, then inspect any measures used. A measure that uses ALL or REMOVEFILTERS will not match the visible rows. Also check whether a report-level filter is applied that you have forgotten about.
Subtotals do not appear. Add a second field to Rows to create a hierarchy, or switch the visual to a matrix. In a matrix, expand Row subtotals and turn it on explicitly.
Changes do not stick after publishing. Save in Desktop before publishing, and confirm you are editing the same report in the service rather than a copy.
Frequently Asked Questions
Can I add totals to a table in the Power BI service?
Yes, if you have edit permissions. Select the visual, open the Format pane, and use the Total section the same way as in Desktop.
Why does my table only show one total row?
A table with a single field on Rows supports only a grand total. For per-group totals, add another field to Rows or use a matrix visual with Row subtotals enabled.
How do I change the word "Total"?
In the Format pane under Total, edit the label text field. This changes the display only.
Do totals update when I apply a slicer?
Yes for standard aggregations such as Sum. Measures that deliberately ignore filters will not change, which is usually the intended behaviour but can look like a bug.
Can I total a text column?
No. Totals apply to numeric fields only. A text column in Values is aggregated as Count or First, and the total reflects that aggregation.
Why is my total different from a card visual?
The card and the table may be filtered differently, or the card may use a measure that removes filters. Check both visuals' filters and the measure definitions.