To center align values in a Power BI table visual, select the table, open the Format pane, expand the Column headers section and set the header Alignment to Center; for the values themselves, use the table's Values formatting options and set their horizontal alignment to Center as well. In older builds of Power BI Desktop the value alignment controls sit under Cell elements or under Specific column in the same Format pane, so what you see depends on your version. The result is a tidier grid where numbers sit in the middle of each cell rather than hugging the left or right edge.
One thing to know before you start: Power BI stores alignment as part of the visual's formatting, not the data, so this changes only how the table looks and not the underlying numbers or their data types. Labels in the menus can differ slightly between Power BI Desktop and the Power BI service, and between versions and regions, but the structure of the Format pane is consistent enough that the following steps apply to both.
What You'll Need
- Power BI Desktop installed, or access to a workspace in the Power BI service where you can edit the report.
- A report open with a Table visual already on the canvas (or permissions to add one and at least one field to place in it).
- Edit rights on the report, so the Format pane is not read-only.
Step-by-Step
- Open the report and click once on the Table visual so it is selected. A selection border with resize handles appears around it. Do not double-click a cell, because that puts you into a text or data edit state instead of selecting the visual.
- Open the Format your visual pane. In Power BI Desktop it is the paint-roller icon next to the Build and Analytics icons in the Visualizations pane on the right. In the service, select the visual and choose the Format option in the Visualizations pane.
- Locate the alignment settings. Look for a section named Column headers for the titles and a section covering the values themselves. In current versions the value alignment controls appear when you expand the table-formatting section that includes cell text and, in some builds, a Specific column drop-down that lets you format one column at a time.
- Set header alignment first. Expand Column headers, find the Alignment setting (a row of horizontal alignment buttons: left, center, right) and click the center icon. The column titles move to the middle of their header cells.
- Set value alignment. Expand the values/cells section, find its Alignment or Horizontal alignment control and choose the center option. All values in every column shift to the middle of their cells.
- If your version exposes a Specific column or per-field alignment drop-down under the table's cell formatting, use it to center individual columns instead of all of them. Select a field from the drop-down, set its alignment to center, then repeat for each field you want centered. This is the option to use when you want numbers centered but text columns left aligned.
- Check the header vertical position if the table looks uneven. In the Column headers section there is usually a vertical alignment control; setting both horizontal and vertical to center makes multi-line headers look balanced.
- Remove auto-size behaviour that fights your alignment. If Auto-size column width is on, columns shrink or grow to fit content, which can make centered values look off-centre against the header. Turn auto-size off and drag column borders to even widths so every centred cell has the same breathing room.
- Repeat for each table on the page. Formatting is per visual, so a second table needs the same treatment unless you copy the visual and paste it, which carries the formatting with it.
- Save the report. In Desktop press Ctrl+S; in the service the report saves automatically once you leave edit mode. Publish or refresh the report so viewers see the change.
Common Mistakes
- Changing the data type or the model instead of the visual. Center alignment lives in visual formatting. Editing the column's data type in Power Query or the model will not change alignment, and trying to fix it there wastes time.
- Expecting one click to center everything. Headers and values are separate settings. Setting only the header alignment leaves the body values where they were.
- Mixing alignment inside a column. Formatting a specific column to center and then applying a table-wide alignment afterwards overrides your per-column choice. Decide which approach you want and apply the broader setting first.
- Forgetting conditional formatting. Font colour and background rules still apply, but they do not control alignment; a red number can still be left aligned if you never set it to center.
- Assuming the change reaches mobile layouts. A phone or tablet layout may be configured separately. If the report uses a custom mobile layout, check alignment there too.
- Ignoring column width. Centering in a very wide column makes values look stranded. Narrow the columns, or center only the numeric ones.
Tips
- Convention matters for readability: left align text, right align numbers, and center only short values, codes, status flags or headers. Centering long text or currency amounts makes columns harder to scan down.
- Center numeric columns that are short and fixed length (years, IDs, percentages with the same decimals). Keep longer amounts right aligned.
- Use the Format pane's search box, where your version provides one, to jump straight to alignment options in a table with many formatting sections.
- Copy a formatted table and paste it to create a duplicate with identical formatting, then swap the fields. It saves repeating every alignment click.
- Set a consistent padding value so centred text is not pressed against the cell edges; a small consistent inset looks cleaner than zero.
- If the report is shared, note in the report or with your team which alignment convention you used, so future edits do not undo it.
Troubleshooting
The alignment buttons are greyed out. You are probably not in edit mode, or you selected the wrong pane. Confirm you are editing the report and that the paint-roller (Format) icon is active in the Visualizations pane.
Nothing changes when you click center. Check whether you set header alignment when you meant values, or the reverse. Also check that no per-column override is set for that field; a specific-column setting can win over the table-wide one.
Only some columns move. You likely used the per-column alignment drop-down and applied it to one field. Apply the table-level alignment, or repeat the per-column step for the remaining fields.
It looks centered in Desktop but not in the service. Refresh the browser, then confirm the report was saved and republished or that the service version matches your local edits. Very old published versions can also override formatting, so republish if the report was created before the change.
The table looks misaligned despite center settings. Turn off auto-size column width, even out column widths, and check vertical alignment for headers. If text wraps onto two lines, values and headers can appear out of step.
If that did not work, delete the table visual, add a fresh Table visual, add the fields again and apply alignment before any other formatting. Starting from a clean visual rules out conflicting settings carried over from a copied or heavily formatted visual.
Frequently Asked Questions
Can I center align only the numbers in a table?
Yes, if your version of the Format pane offers the per-column alignment option. Select the numeric field from the specific-column drop-down and set its alignment to center, then leave text fields as they are.
Does centering values change the data or sort order?
No. Alignment is display formatting only. The values, data types, sort order and any aggregations remain exactly as they were.
Why do my headers center but my values do not?
Header alignment and value alignment are separate settings in the Format pane. Setting one does not affect the other, so you need to apply both.
Can I set center alignment for all tables at once?
Not with a single control in the standard table visual. Formatting is per visual, so either apply the steps to each table or copy and paste a formatted table and swap its fields.
Will alignment settings carry over to the mobile layout?
Not automatically if the report has a separately configured mobile layout. Open the mobile layout view and check the table there, since it can have its own formatting.
Is there a keyboard shortcut to center text in a Power BI table?
No. Power BI does not provide a text-alignment shortcut for table values. Alignment is set through the Format pane controls.