Power BI Table Design: A Practical How-To
In this article
You design a good Power BI table by starting in Power Query, not in the visual: set the right data types, remove columns you do not need, then in the report view choose the table visual, drag fields into the Values well in the order you want them to read, and use the Format pane to control column widths, headers, totals, and conditional formatting. The goal is a table that loads fast, reads cleanly, and does not mislead. This guide walks through that workflow step by step and covers the mistakes that make tables slow or confusing.
What You'll Need
- Power BI Desktop installed (the free version is enough for design work).
- A data source connected: Excel, CSV, a database, or a Power BI semantic model.
- Basic familiarity with the Fields pane and the Visualizations pane.
- For publishing, a Power BI account with permission to publish to a workspace.
Menu labels in Power BI can differ slightly by version and by whether you are in Desktop or the service, so if a label does not match exactly, look for the closest equivalent in the same area.
Step-by-Step
- Shape the data in Power Query first. Open Transform Data (or Transform data in newer versions) to launch the Power Query Editor. Remove columns you will never show, filter out rows you do not need, and rename columns to human-readable headers. A narrow, clean table is faster and easier to format than a wide one.
- Set correct data types. In Power Query, click the icon at the left of each column header and choose the right type: Whole Number, Decimal Number, Date, Text, and so on. Wrong types cause sorting errors, broken totals, and relationship problems later. Dates stored as text are the most common culprit.
- Load the query. Choose Close & Apply to load the shaped table into the model. If you only need a summary, consider grouping in Power Query rather than in DAX.
- Add the table visual. In Report view, click the Table icon in the Visualizations pane. An empty table placeholder appears on the canvas.
- Add fields in reading order. Drag fields from the Fields pane into the Columns well (older versions call it Values). The order you add them is the left-to-right order in the table. Put the identifying field first (such as Product or Customer), then the attributes, then the numbers.
- Control what each field does. For a numeric field, click the arrow next to it in the well and choose whether it should be summed, averaged, counted, or left as Do not summarize. A numeric ID should almost always be Do not summarize, or you will get a meaningless total.
- Format the table. Open the Format pane (the paintbrush icon) and work through the sections: Columns for width and alignment, Column headers for font size and background, Values for text size and alternate row color, and Totals to turn the total row on or off. Keep headers bold and slightly darker than the rows.
- Set column widths deliberately. Drag the column borders on the canvas, or set widths in the Format pane under Columns. Right-align numbers and left-align text; this alone makes a table look professional.
- Add conditional formatting where it helps. Select a numeric field in the well, open its menu, and choose Conditional formatting. Use background color or data bars to highlight thresholds, such as values below target. Use this sparingly: a table where every cell is colored is harder to read, not easier.
- Sort the table. Use the visual's header menu (the three dots) and choose Sort by, then pick the field and direction. Sorting by a measure rather than a column often gives the most useful view.
- Turn on totals only if they make sense. Sums of currency or quantity are useful; sums of averages or percentages are misleading. If you need an average total, create a measure with the right aggregation instead of relying on the default total.
- Check performance. If the table is slow, reduce the number of columns, remove high-cardinality fields (columns with thousands of unique values), and consider summarizing upstream. Tables with hundreds of columns and no filters are the usual cause of slow report pages.
- Test with filters and slicers. Add a slicer for date or category and confirm the table responds correctly. Check that totals recalculate as expected and that blank values display the way you want.
- Publish and verify. Use Publish to send the report to a workspace, then open it in the browser and confirm formatting, sorting, and totals survived the trip. Some formatting renders slightly differently in the service.
Common Mistakes
- Leaving dates as text. Sorting and filtering break, and time intelligence measures will not work. Fix the type in Power Query, not in the report.
- Summing IDs or codes. A total of customer numbers is meaningless. Set those fields to Do not summarize.
- Showing every column. Wide tables are slow and unreadable. Include only what answers the question.
- Relying on the default total row. It sums whatever is in the column, which is wrong for averages and ratios. Use a measure instead.
- Over-formatting. Multiple colors, icons, and bold text in every column create noise. One accent color for exceptions is usually enough.
- Forgetting the mobile layout. A wide table that looks fine on a desktop monitor may be unusable on a phone. Check the mobile view in Power BI Desktop.
Tips
- Rename fields in the Fields pane to friendly labels; the table header uses the field name, so renaming saves you from awkward abbreviations.
- Use a matrix visual instead of a table when you need row and column groupings with subtotals.
- Keep a consistent number format across the report: same decimal places, same thousands separator.
- Use bookmarks or a slicer panel to let readers narrow a large table rather than scrolling through everything.
- If a table is meant for export, keep it simple: plain headers, no conditional formatting, and a clean column order.
Troubleshooting
- Numbers sort as text. The column type is Text. Change it in Power Query and refresh.
- Totals are wrong. Check the aggregation on each field and whether the total should be a sum or an average. Replace default totals with a measure if needed.
- Table is slow to load. Reduce columns, remove high-cardinality fields, and add filters or slicers. Check whether the underlying query is pulling more rows than necessary.
- Formatting resets after refresh. Field renames in the source can break the visual's field bindings. Keep source column names stable or rename in Power Query instead.
- Blank rows appear. Usually caused by unmatched relationships or nulls. Filter nulls in Power Query or fix the relationship.
- Conditional formatting does not apply. Confirm the field is numeric and that the rule's threshold matches the data's scale.
Frequently Asked Questions
Should I build the table in Power Query or in the report?
Shape and clean data in Power Query; format and arrange it in the report. Power Query handles structure, the report handles presentation.
Why does my table show a sum for a text-like field?
The field is probably typed as a number. Change its type or set the aggregation to Do not summarize.
Can I hide a column without removing it from the table?
Yes, in the Fields pane you can hide a field from the report view, or simply remove it from the visual's well. Hiding keeps it available for measures and other visuals.
How do I stop the total row from appearing?
In the Format pane, open Totals and switch it off. This applies to the whole table visual.
Does table formatting carry over to the Power BI service?
Most formatting does, but check the published report because some rendering differs between Desktop and the browser.