Sub topic 9
Touring Table view
This chapter assumes you have installed Power BI Desktop, loaded a dataset with Get data, and can use the view switcher on the left edge of the window. You should also be comfortable reading rows and columns in a spreadsheet.
What Table view is for
Table view shows the data that is loaded into your model, one table at a time. Report view is for presenting data. Table view is for checking it. Open it by selecting the table icon in the view switcher.
Use Table view when you want to confirm that an import worked. It also helps when a visual shows a surprising number and you need to know what the underlying rows contain.
Layout of the view
Table view has three parts:
- Data pane. It lists every table in the model. Selecting a table name loads that table into the grid.
- Data grid. It shows the rows and columns of the selected table. Column headers show the column names.
- Table tools ribbon. It holds commands for the selected table or column, such as Manage relationships, New measure, and New column.
Table view shows the data as it was loaded. It is not a place to edit individual cells. If a value is wrong, fix it in Power Query Editor or in the source file.
Inspecting a table
Work through these checks after every load:
- Select the table in the Data pane.
- Scroll the grid and confirm the columns you expect are present.
- Look for blank cells, unexpected text in numeric columns, and dates that did not parse.
- Select a column header. The ribbon changes to Column tools, which shows that column's data type, format, and summarization.
- Check the status bar at the bottom for the row count. Compare it with the source.
Sorting and filtering through the column header menu affects only what you see in the grid. It does not change the stored data or any visual.
Measures in Table view
You can create a measure from the Table tools ribbon by selecting New measure. Type the formula in the formula bar. This measure sums the SalesAmount column of a Sales table:
Total Sales = SUM(Sales[SalesAmount])A measure is a calculation evaluated when a visual asks for it. It does not add a column of stored values to the grid. The measure appears in the Data pane under the table that holds it, and you can use it in Report view and Model view as well.
Common errors
| Symptom | Likely cause | What to do |
|---|---|---|
| A numeric column is left-aligned and cannot be summed | The column was loaded as Text | Check the data type in Column tools. Correct it, or fix the source values that forced text |
| A date column shows as text | The date format was not recognized | Set the type to Date, or change the format in Power Query Editor |
| Row count is lower than the source | A filter or load error removed rows | Review the steps in Power Query Editor |
| You cannot find a measure in the grid | Measures have no column of values | Look for it in the Data pane, marked with a calculator icon |
Exercise
A Sales table has an Amount column that is left-aligned in Table view, and a visual that sums it shows a count instead of a total. What is the most likely cause, and where do you check it?
Show answer
The Amount column was loaded as Text, so Power BI cannot sum it. Select the column header in Table view and check the data type in Column tools. Change it to a numeric type, or fix the source values that caused the text type.