Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Power BI Table Total: How to Add and Fix Column Totals

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To show a total in a Power BI table visual, select the table on the canvas, open the Format pane (the paintbrush icon), and expand the Totals section, then switch on the totals you want (for the values column and, if you like, the column subtotals). A total only appears for numeric fields—text fields cannot be summed—and the default calculation is Sum, so check that Sum is the aggregation you actually want before you rely on the figure. The steps below cover turning totals on, controlling which columns get them, changing the maths behind the total, and fixing the usual problems when the total looks wrong or refuses to appear.

What You'll Need

  • Power BI Desktop, or edit access to a report in the Power BI service (table formatting options work in both, though the pane layout can differ slightly).
  • A report open with at least one table or matrix visual on the canvas.
  • At least one numeric field in the table—a decimal, whole number, or currency column, or a numeric measure.
  • Understanding that menu labels and the position of sections in the Format pane can differ a little by version, device, or region.

Step-by-Step

  1. Open your report and click the table visual on the canvas so it is selected. A selection outline and small handles appear around it.
  2. Open the Format pane on the right by clicking the paintbrush icon. (The older paperclip-style icon was for Analytics and is no longer used in current versions; look for the paintbrush and the Analytics icon next to it.)
  3. In the Format pane's search or section list, expand Totals. In older versions this setting lived under Total or Data labels-style sections; with a matrix, totals are split between Row subtotals, Column subtotals, and Grand total.
  4. Toggle Values on. This is the switch that adds a total row to the bottom of a table and turns on totals for the value columns.
  5. If you want per-category totals as well, toggle Column subtotals on. In a matrix, turn on row subtotals or column subtotals depending on which direction you want the subtotal line to appear.
  6. Click the small arrow beside a total switch to open its detail settings. Turn Apply settings to to Specific column and pick the column if you only want a total on one field, or leave it on All values to apply everywhere.
  7. To change the total per column, open the arrow for that column and choose the aggregation: Sum, Average, Count, Min, or Max. Sum is the default for numeric fields.
  8. Adjust how the total row looks: back in the Totals section, use Font color, Background color, and Font size (listed under the total's own settings) to make it stand out. Use Label to change the text shown at the start of the total row, such as "Total" or "Subtotal".
  9. To reorder where the total sits, open the Values well of the Visualizations pane and drag the total's position—in many versions the total follows the last field in the well, so moving a field changes which side the total aligns to.
  10. Check the result: scroll to the bottom of the table and confirm the figures add up. If a column shows blanks instead of a total, that column is almost certainly text; go back to the Data pane and check the field's data type, changing it with Column tools > Data type if it should be numeric.
  11. Save the report with File > Save or publish it from the Home ribbon. In the Power BI service, open the report in edit mode and the same Format > Totals controls are available.

Common Mistakes

  • Assuming a total appears automatically. Totals are off for many table styles and must be switched on.
  • Summing an average. If the column uses a measure that already returns an average, the total averages the averages rather than averaging the raw rows—usually not the number you want. Build a separate measure with the correct logic instead.
  • Expecting a total on text columns. Total rows only make sense for numeric fields; text columns stay blank in the total row, and that is normal.
  • Confusing the Aggregation setting with the field's own aggregation. Changing the visual-level aggregation affects the table's displayed values as well as the total.
  • Forgetting filters. A table total reflects only the rows that pass the current filters, slicers, and page-level filters—not the whole dataset.

Tips

  • Use a matrix rather than a table whenever you need subtotals grouped by category; the subtotal options are built for that structure.
  • Format the total row with a distinct fill color so it is not mistaken for another data row when the table is long.
  • Rename the total label to something specific, such as "Grand total", when the table also shows subtotals.
  • If you need a percentage or ratio total, calculate it as a separate measure with the correct denominator; a sum of percentages in a total row is misleading.
  • Keep the total row visible by pinning the table's header or using a fixed-height table on a dashboard page, since long tables push the total below the fold.

Troubleshooting

The total row is missing. Confirm the visual is a table or matrix, not a card or chart. Then re-check the Format pane's Totals section—an individual column may have its total switched off under Apply settings to > Specific column. Also confirm the field is numeric, since text and date fields do not receive a sum.

The total is blank. A blank usually means the values are stored as text, or that rows contain nulls the aggregation cannot add. Check the data type in Column tools and clean or replace blanks with zero in a measure if that is appropriate for the reporting logic.

The total looks too high or too low. Review filters and slicers, check for duplicate rows in the source table, and confirm the field is not a measure that is being summed twice. If you use a measure, test it in a card visual to see the single value it returns before trusting the total.

The total is not the number you expect after averaging. In a measure, the total of an average is an average of averages. Create a separate measure for the correct aggregate and hide the misleading one from the value well.

Formatting changes do not stick. Make sure no other theme or template is overruling your settings. If changes vanish after publishing, re-open the report in edit mode in the service and confirm the changes were saved before publishing.

Frequently Asked Questions

Why does my table not show a total row?

The Totals switch is likely off in the Format pane, or the column is not numeric. Turn on Totals > Values and check the field's data type.

Can I show a total on only one column?

Yes. Open the total switch's arrow, set Apply settings to Specific column, and choose the field you want.

Why is the total different from the numbers I add up by hand?

Filters, slicers, and duplicate rows change which records are counted. The total covers only the rows visible in the filtered table.

Can I rename the total row?

Yes. In the Totals section, edit the Label value to change the text shown at the start of the total row.

Do totals work the same in the Power BI service?

Yes, formatting totals is available there too. Open the report in edit mode to reach the Format pane; labels may differ slightly by version.

Why does my average total look wrong?

The total of an average is the average of the averages, not the average of the raw rows. Use a dedicated measure for that calculation.