Power BI treats every table as a city of data, and "tables" in Power BI can mean two different things: the Table visual that sits on a report page, or a table in the data model that stores your rows. Getting one right without the other rarely works, because a Table visual is only as trustworthy as the model beneath it. The shortest working path is: load your data into Power BI Desktop, confirm the columns are typed correctly in the model, drop the Table visual onto the canvas, then format it with column widths, totals, conditional formatting and sorting. Everything below applies to Power BI Desktop on Windows; the Power BI service (browser) has a narrower set of table formatting options, so expect some settings to be read-only there.
What You'll Need
- Power BI Desktop installed from Microsoft's official site (or the Power BI service in a browser, with the same data source connected).
- A data source: Excel workbook, CSV file, a database, or a SharePoint list. A clean source with one header row and no merged cells saves a lot of repair work.
- A column that uniquely identifies each row, or at least a set of columns that together do. Invoices, orders or product codes usually work.
- Decisions on what the table is for: a detail list, a lookup matrix, or a top-N summary. Each needs different formatting.
Step-by-Step
- Open Power BI Desktop and connect your source with Home > Get data. Choose the connector that matches your file or database, select the table or sheet, and press Load (or Transform Data if you need to clean it first in Power Query).
- In Power Query, check the first row is promoted as headers (Home > Use First Row as Headers), then set data types on every column. Text columns that hold ID codes should stay Text, not Whole Number, or you will lose leading zeros. Dates must be Date, and amounts should be Decimal Number.
- Open the model view and confirm each table has a sensible name and a key column. If you have fact and lookup tables, drag a field from one table onto the matching field in the other to create a relationship, and check the cardinality is one-to-many with the lookup on the "one" side.
- Go to the report view and select the Table icon in the Visualizations pane. Start with an empty visual and add fields in the order you want them to appear as columns, or drag fields straight into the visual.
- Only add fields you intend to show. Every column in a table visual costs horizontal space and reading effort, so a six-column table usually beats a fifteen-column one. Drop the rest and let users filter instead.
- Rename the visible column headers if the source names are cryptic. In the visual's field well, double-click the field name and type a friendly label such as "Customer" instead of "CUST_NAM_SHORT".
- Turn on the totals row with the Format pane (the paintbrush icon) and look for Total row under the general or values settings. Labels can differ slightly by version and by desktop versus service. Set the total to On only for numeric columns where a sum makes sense; an average or a year summed together is misleading, so set those to off.
- Format numbers and dates in the same Format pane. Set decimal places, thousand separators and currency symbols per column rather than globally, so a percentage column does not inherit the currency format of the one beside it.
- Adjust column widths by dragging the header edges, or use Auto-size on each column and then fine-tune. Text that is cut off with an ellipsis is a sign the column needs widening or the text needs trimming.
- Apply conditional formatting to catch the eye: select the key column, then in the Format pane enable Cell elements and choose background colour, font colour, or data bars, driven by a field such as a status or variance measure. Keep it to one or two rules; a table where everything is red communicates nothing.
- Set the sort order. Click the column header on the canvas to sort ascending or descending, or use the visual's sort options to sort by a measure that is not even displayed (for example, sorting customers by revenue while only showing their names).
- Add a title, set the font sizes, and align the table on the canvas. Use the Format pane's general settings for text size and padding so the table stays legible on projected screens.
- Test with filters: add a slicer for region or date range and check that totals change correctly and blanks behave. Blank rows in a table are usually a relationship or data type problem, not a visual problem.
Common Mistakes
- Leaving every column in. Wide tables force horizontal scrolling and hide the story. Show the few columns that answer the question.
- Wrong data types. Numbers stored as text cannot be summed or sorted numerically; dates stored as text sort alphabetically. Fix this in Power Query, not with a workaround in the visual.
- Summing non-additive fields. Adding up averages, percentages or year labels produces meaningless totals. Turn the total off for those columns.
- No relationship or a many-to-many join. This produces duplicate rows or blank mismatches that look like a visual bug.
- Formatting before modelling. Time spent on fonts while the model still has duplicate keys gets thrown away when the data is fixed.
- Colouring everything. Conditional formatting on eight columns makes the table unreadable; restrict it to the two or three columns that drive decisions.
Tips
- Build a small measure (for example, total sales or record count) and display it in the table rather than a raw column, so calculations stay consistent across reports.
- Use a star schema: one fact table in the middle and lookup tables around it. Tables built on that structure filter and total predictably.
- Store the table visual's settings in the theme or a template file so every page looks the same without repeating the work.
- For long detail tables, consider a matrix with expandable rows instead of a flat table; it keeps the page compact while letting users drill in.
- Keep a hidden, sortable helper column (such as a month number) if you need to sort month names chronologically.
Troubleshooting
If totals look wrong, check the data type and whether the column is set to Don't summarize or Sum in the field well. If rows appear duplicated, examine the relationships and any many-to-many joins; a duplicate key in a lookup table is the usual cause. If blank rows appear at the bottom, there are rows in the fact table whose key does not exist in the lookup, or the date table does not cover the full range.
If the table shows no data at all, check that a slicer or page filter is not excluding everything, then verify the visual's fields were not cleared. If sorting does nothing, the column may be text that looks numeric. If conditional formatting looks flat, confirm the rule's field is numeric and that the thresholds match the scale of your data. When the table renders slowly, remove unused columns from the model and reduce the number of visuals on the page before reaching for more hardware.
Frequently Asked Questions
What is the difference between a table and a matrix in Power BI?
A table shows a flat list of rows and columns. A matrix adds row groups, column groups and expand/collapse, so it can show subtotals by category. Use a table for detail and a matrix for cross-tab summaries.
Can I export a Power BI table to Excel?
Yes, from the Power BI service if export is enabled for the report and your licence allows it, and from Power BI Desktop by exporting the visual's data. What you get is the data behind the visual, subject to the current filters, not the formatting.
Why does my table show the same value repeated on every row?
Usually a relationship is missing or wrong, or you dragged a measure that ignores the row context. Check the model relationships first, then confirm the field is a column rather than an unfiltered measure.
How do I hide a column in a table visual?
Remove it from the visual's field well. That hides it from the visual only and leaves the column in the model, which is what you want.
Can I reorder columns after building the table?
Yes. Drag the fields up or down in the field well, or drag the column header on the canvas. The order in the field well controls the order in the visual.