Power BI Table Options: How to Customize Tables in Reports
In this article
Power BI table options let you format and configure how data appears in table visuals—crucial for readability, professional reporting, and highlighting key insights. You can adjust column widths, apply conditional formatting, set data types, sort, and more. This guide covers how to access and use these options in Power BI Desktop and the Power BI service (web). Note: Menu labels may vary slightly depending on your version, region, or whether you're using the service or desktop app.
What You'll Need
- A Power BI report with a table visual already added (if not, drag a table visual from the Visualizations pane onto the report canvas and add fields)
- Appropriate permissions to edit the report (in Power BI service, you need Edit access to the workspace and dataset)
- Data model with properly defined fields (data types, relationships)
Step-by-Step
- Open your Power BI report in Power BI Desktop or the Power BI service (app.powerbi.com). Ensure you're in Edit mode.
- Select the table visual you want to customize by clicking anywhere inside it. You'll see field wells (Values, Columns) and a header bar with field names. If the table doesn’t appear, click the table icon (a grid of rows/columns) in the Visualizations pane and drag it onto the canvas, then add fields from your Fields pane.
- Click the Format button (a paint roller icon) in the Visualizations pane to open formatting options for the table.
- Under Cells, expand the section to access granular formatting. Here you can adjust font size, color, alignment, and background for headers, detail rows, and totals—each has separate toggles and color pickers.
- Under Column headers, toggle options like Font size, Text color, Background, and Alignment. For example, set font size to 12 pt and text color to dark gray for cleaner headers. 6. Under Values, configure formatting for data cells. You can set font properties and background color. Toggle Auto size column width to let Power BI adjust column widths automatically, or manually resize by dragging column borders in the visual.
- Still under Cells, expand Conditional formatting for fields. Click the dropdown next to any field listed (e.g., "Sales") and choose Conditional formatting. Select from options like Background color, Font color, or Icon, then pick a rule (e.g., based on field value, rules, or gradients).
- In the conditional formatting dialog, define your logic: for value-based rules, set thresholds (e.g., if value > 1000, green; else red). For gradients, choose color range and field to base it on. Click OK to apply.
- To sort data, click the column header arrow in the table visual and select Sort A to Z or Sort Z to A. Alternatively, right-click the field in the Values well and choose Sort by column if you want to sort by a related field (e.g., sort "Month" by "Month Number").
- For totals, expand Total under the Format pane. Toggle On or Off, and format the total row separately using the same font and background options as headers/values.
- To freeze columns (keep the first column visible while scrolling horizontally), select the table, go to the General section in the Format pane, and toggle Column freezing On. Then drag the vertical handle at the top of the column you want to freeze.
- For data type and aggregation, right-click a field in the Values well. Choose Summarization to switch between Sum, Average, Count, etc., or Sort by column to change sorting behavior. Ensure data types (e.g., Currency, Date) are correctly set in the Data pane (Modeling tab in Power BI Desktop).
Common Mistakes
- Applying conditional formatting to non-numeric fields without proper rules—this can cause errors or no visible effect. Always verify the field type supports the rule (e.g., gradient fill only works on numeric or date fields).
- Overusing colors or icons, which reduces readability and makes the table look cluttered. Limit to one or two formatting rules per visual.
- Forgetting to update field aggregations after adding new measures—e.g., a measure might default to "Don’t summarize" instead of Sum, causing blank or incorrect totals.
- Resizing columns manually but enabling Auto size later, which overrides your adjustments. Toggle only one at a time.
- Not refreshing the visual after changing conditional formatting rules—some changes require clicking outside the visual or pressing Enter to render.
Tips
- Use Word wrap under Cells > Text wrapping for long text fields to prevent truncation—especially helpful for description columns.
- Create consistent themes by copying formatting from one table to another: select the source table, click Format > Paint format, then click the target table.
- For large datasets, disable Word wrap and Auto size to improve report performance; instead, limit visible columns or use tooltips for extra details.
- Use Tooltip pages (in Power BI Desktop) to show detailed data on hover—add a tooltip page to your report, then drag fields to it, and link it to your main table via the tooltip settings.
- When sharing reports, test tables in both Desktop and web view—some formatting (like frozen columns) behaves slightly differently in the service.
- Use Field well order to control column sequence: drag fields up or down in the Values well to rearrange columns left to right.
Troubleshooting
If your table options aren’t applying as expected, follow these checks:
- No formatting options appear: Ensure the table visual is selected. If the Format pane is empty, try deselecting and re-selecting the visual, or check if the visual is grouped with others ( Ungroup it via right-click > Ungroup).
- Conditional formatting not showing: Verify the field is numeric or date (for value-based rules). If using a measure, confirm it returns a numeric type in the Modeling tab. Also, ensure you’re applying formatting to the correct field in the Values well.
- Column widths reset on refresh: Disable Auto size column width and Word wrap in the Format pane, then manually set widths. If using tooltips or drill-through, column widths may still adjust in some views—test in full-screen mode.
- Sorting not working: If sorting by column doesn’t take effect, check the Data pane for the field’s data type and ensure the sort-by column exists and has unique values. In Power BI Desktop, go to Modeling > Sort by column and reassign if needed.
- Formatting inconsistent across users: This can happen if the report uses personal bookmarks. Clear bookmarks or publish to a workspace with shared access. Also, ensure users have updated the report—some formatting changes require republishing.
- Visual shows errors like "Cannot display this visual": Check for data type mismatches (e.g., mixing text and numbers in one column), or invalid conditional formatting rules. Simplify rules, then reapply step-by-step to isolate the issue.
Frequently Asked Questions
Can I format table rows based on another column’s value?
Yes—use conditional formatting on the target column and set the rule to "Field value" using the source column. For example, to color the "Status" column green when "Sales" > 1000, apply conditional formatting to "Status", choose Background color, and set the rule based on the "Sales" field.
Why can’t I see the Format pane for my table?
Make sure the table visual is selected and not locked or grouped. In Power BI Desktop, the Format pane appears only when a single visual is selected. If using the Power BI service, ensure you’re in Edit mode (not View mode) and the report is editable.
How do I make table columns wider than the default?
Drag the right edge of a column header in the table visual to resize. For precise control, disable Auto size column width in the Format pane > Column settings, then drag. You can also use the Column width input field if available (in some versions, enter a pixel value manually).
Can I hide specific columns in a table visual?
Yes—remove fields from the Values well in the Visualizations pane. This hides them from the table but keeps them in the dataset. To temporarily hide without removing, drag them out of the Values well and back later.
Does conditional formatting work in Power BI mobile apps?
Yes, but with limitations. Background color and font color formatting display correctly. Icons and data bars may appear as static elements or not render consistently on all devices—test your report in the Power BI mobile app before publishing.
How do I keep column order consistent when adding new fields?
Drag fields in the Values well to your preferred order before adding more. Once added, you can still reorder by dragging. Avoid using drag-and-drop in the visual itself (e.g., clicking and moving column headers), as this order may not persist across refreshes or sharing.