You can display a Power BI table vertically by rotating the data or using a matrix visual that groups rows instead of columns. This approach turns a wide data set into a long, stacked list, which is often necessary when you have many columns or need to emphasize the order of items. To do this, you generally either use the "Rotate" option in a standard table visual or configure the "Rows" field in a matrix visual to contain the data that would normally be in the columns.

What You'll Need

  • A Power BI Desktop or Service account with access to the dataset.
  • A report with a table or matrix visual that is currently displaying data horizontally.
  • A basic understanding of how fields are added to the "Fields" pane.

Step-by-Step

  1. Open your report in Power BI Desktop or the Power BI Service. Navigate to the page where the table visual you want to change is located. If the visual is in a dashboard, you must first click "Edit in Desktop" to modify the underlying visual structure, as dashboards are read-only.
  2. Locate the visual on the canvas. Click directly on the table or matrix visual you wish to transform. The formatting pane will appear on the right side of the screen (or in a separate tab depending on your view settings).
  3. Open the formatting options for the visual. In the right-hand formatting pane, look for the section labeled "Visuals" or use the drop-down menu to select "Table" or "Matrix" depending on the type of visual you are editing. Ensure you are editing the specific visual, not the whole report.
  4. Use the "Rotate" option for a standard table. If you are using a standard Table visual, look for the "General" section. You should see a toggle labeled "Rotate data." Toggle this setting to On or True. This will immediately swap the rows and columns, creating a vertical layout where the column headers become the first row of data.
  5. Use the "Columns" and "Rows" settings for a matrix. If you are using a Matrix visual, the rotation is handled differently. In the formatting pane, find the section for the Matrix. Look for the settings labeled Columns and Rows. By default, the fields you add to "Columns” will appear as the header row and data columns. To make it vertical, you need to move the field you want to be the vertical axis (the long list of items) into the Rows section instead of the Columns section. If you have multiple fields in Rows, Power BI will create a nested vertical hierarchy.
  6. Adjust the sort order if necessary. When you rotate a table, the sort order is preserved based on the original horizontal orientation. If the vertical list appears in a different order than expected, click the header of the vertical column in the visual. Select Sort Ascending or Sort Descending from the menu that appears.
  7. Refine the visual appearance. With the data now vertical, you may need to adjust the column widths. In the formatting pane, look for the Columns section. You can set specific widths or use the Auto option to let Power BI fit the data. If the text is wrapping awkwardly, check the General settings and ensure the font size is appropriate for the vertical height of the visual.
  8. Publish and share the changes. If you are in Power BI Desktop, click the Publish button on the Home ribbon to save your changes to the Power BI Service. If you are already in the Service, click Save in the top-left corner to persist the changes.

Common Mistakes

A common mistake is attempting to rotate a visual that has many distinct columns that do not share a common category. If you have data like "Item Name, Color, Size, Price, Supplier, and Weight," rotating this creates a very long table where the vertical axis is just the Item Name, and the data becomes fragmented across the rest of the rows. In this case, a Matrix visual with the Item Name in Rows and the other attributes as Columns inside the matrix is usually a better choice, as it keeps the related data together.

Another error is relying on the rotation feature when the data needs to be aggregated. If you have raw transactional data with many columns of individual attributes, rotating it does not summarize the data. You will still see every single transaction listed vertically. To get a meaningful vertical summary, you should use a Matrix visual and place the Category field in Rows to get a vertical list of categories, and use a measure or aggregation in Values to see the totals.

Tips

Using a Matrix visual is often more flexible than a rotated Table visual. In a Matrix, you can drill down. If you put a Date hierarchy in Rows, you can click on the year to see the quarters, then click on the quarter to see the months. This drill-down capability is not available in a rotated Table visual.

If your vertical table is too long to fit on a single screen, consider using the Format options to turn on the Header option for the vertical axis. This will keep the column name fixed at the top of the visual as you scroll down, making it easier to read the data.

For very wide datasets, consider using the Card visual instead of a table. You can set a slicer to pick the specific row you want to view, and the Card visual will show that single row of data in a vertical card format, which can be cleaner and more readable.

Troubleshooting

If rotating the table does not seem to work, ensure you are clicking on the specific visual and not a page-level element. Sometimes, if you click in the white space around a visual, you might select the whole page instead. The formatting pane must be linked to the specific visual for the Rotate option to appear.

If the data appears scrambled after rotation, check your data model. Rotation is a visual trick; it does not change the underlying data structure. If your data was not loaded correctly or if there are relationship issues in the background, the table might display unexpected values. Go to the Modeling tab in Power BI Desktop and check the relationships to ensure the data is joined correctly.

If you are in the Power BI Service and the visual does not update, it is possible that the report was saved in a mode that prevents visual editing while live. Try clicking the Refresh button in the toolbar. If that does not help, open the report in Power BI Desktop to make the change and publish it again.

Frequently Asked Questions

Can I rotate a table visual in the Power BI mobile app?

No, the Power BI mobile app for iOS, Android, and Windows does not support editing the layout of visuals. You cannot rotate a table or change the rows/columns configuration. You can only view the report as it was designed in the desktop or web version.

Does rotating a table change the data type of the columns?

No, rotation only changes the visual orientation. The underlying data types remain the same. If a column is formatted as text, it will remain text. If it is a number, it will remain a number, regardless of whether it is displayed vertically or horizontally.

Why does my rotated table look empty or show only headers?

This usually happens if the visual has no data or if the data is filtered out. Check the Filters pane to see if there are any filters applied to the visual that are hiding all the rows. Also, ensure that you have actually added fields to the visual in the Fields pane; a blank visual means no data source is connected to the visual.

Is it better to use a matrix or a table for vertical layouts?

It depends on your goal. Use a Matrix if you want to summarize data (like total sales by item) or drill down into hierarchies (by date or category). Use a Table if you need to see every single record or attribute of a specific item without any aggregation.

Can I save a report with a rotated table as a template?

Yes, you can save a report as a template file (.pbix) that includes the rotated table layout. This allows you to open the template and import a new dataset while preserving the visual structure, including the rotated orientation.

Does rotation work on slicers?

No, rotation options are not available for slicers. Slicers are always rectangular and arranged in a grid based on their size. You cannot rotate a slicer to make it vertical.