Power BI Table Increase Row Height
In this article
Yes, you can increase the row height in a Power BI table visual by adjusting the column widths, changing the visual size, or using specific DAX measures to control the number of rows displayed. The most common and effective method is to adjust the column width to provide more breathing room, or to modify the "Format as a Table" settings to create a more spacious layout that accommodates longer text or larger fonts.
What You'll Need
- A working installation of Microsoft Power BI Desktop or the Power BI Service (web or mobile).
- A report containing a table visual that you wish to modify.
- Basic knowledge of the Power BI ribbon interface and the "Format your data" pane.
Step-by-Step
The primary way to make a table appear to have more vertical space or to accommodate taller content is by adjusting the horizontal width. Power BI tables are dynamic; they do not have a specific "row height" setting in the traditional spreadsheet sense. Instead, the operating system and the visual engine determine the height of each row based on the content size and the available horizontal space.
-
Open your report in Power BI Desktop or the Power BI Service.
Ensure you are on the specific report page that contains the table visual you want to resize. If you are in Desktop, click the "View" tab in the ribbon and ensure "Format as a table" is active. If you are in the Service, ensure the visual is selected and the "Format your data" pane is open on the right-hand side.
-
Click on the table visual to select it.
A blue border will appear around the table, indicating it is active. You will see a set of handles on the corners and edges of the visual. If you are in Power BI Desktop, you can also click the "Format your data" button in the ribbon above the visual to open the settings pane.
-
Resize the visual horizontally to increase the row height.
Hover your mouse over the right edge of the table until the cursor changes to a double-headed arrow. Click and drag the edge to the right. As you increase the width of the table, the cells will expand vertically. This is the most direct method to "increase row height" because it allows more text to fit without wrapping, effectively making the rows taller.
-
Adjust individual column widths for better control.
Hover your mouse over the line between two column headers (the gray vertical lines). The cursor will change to a double-headed arrow. Click and drag to expand or shrink specific columns. This is useful if you want a summary column to remain narrow while allowing detail columns to take up more space, which in turn affects the overall row height.
-
Modify the "Format as a Table" settings in the Format pane.
- In the Format pane, look for the "General" section.
- Under "General", locate the "Font size" setting. Increasing this value will increase the height of the text, which directly increases the row height.
- Look for the "Column headers" section. You can adjust the font size and padding here. Increasing the padding adds space above and below the header text, which contributes to the overall height of the header row.
- Check the "Data labels" section if your table has them. Increasing the font size or padding for data labels will increase the height of the rows containing those labels.
-
Use the visual size settings in the Format pane.
- In the Format pane, go to the "Size & properties" section.
- Here you will see settings for "Visual width" and "Visual height".
- Increasing the "Visual width" will force the table to expand horizontally, which will push the rows to stretch vertically.
- Decreasing the "Visual height" will force the rows to compress vertically to fit the smaller space.
-
Check the "Format as a table" formatting options.
- In the Format pane, ensure that the "Format as a table" section is expanded.
- Look for the "Header background" and "Alternating row color" settings. While these do not change the height, they affect how the rows are visually separated. Clearing these options can sometimes make the table look more compact, while adding borders can make it look more spacious.
- Under "Header font style", you can increase the size or weight of the font, which will increase the height of the header row.
Common Mistakes
When trying to manipulate the visual space in Power BI, users often confuse horizontal expansion with vertical expansion. Because the interface is responsive, moving the table to the edge of the report canvas or resizing the browser window can inadvertently change the row height.
- Confusing the visual size with table size: Just because you resize the entire report canvas does not mean the specific table visual will automatically expand to fill the new width. You must click and drag the handles of the table visual itself.
- Ignoring font scaling: Trying to increase row height by adding padding manually can lead to a cluttered look. Increasing the font size is often a cleaner way to achieve the same result without adding unnecessary whitespace.
- Overlooking the canvas: If the table is positioned far to the left or right of the canvas, it may be cut off. Centering the table horizontally often provides the best balance for row height and readability.
- Assuming fixed heights: Users often look for a "pixels" setting for row height. Power BI does not support this natively. You must rely on relative sizing through width and font adjustments.
Tips
- Use the double-ended arrow on the column headers: This is the most precise way to adjust the layout. Dragging the right edge of a column header will expand that specific column, which will force the rows in that column to stretch vertically.
- Consider the summary row: If your table has a summary row at the bottom, ensure you have enough horizontal space to display the summary values clearly. If the table is too narrow, the summary values may be truncated or wrapped, making the row height inconsistent.
- Check for overlapping visuals: If you increase the row height of a table, ensure it does not overlap with other visuals on the page. You may need to rearrange the layout or move other visuals to accommodate the new size.
- Use the "Format as a table" options for headers: If you want the header row to stand out, you can increase the padding or add a background color. This makes the header row taller and more distinct from the data rows.
- Test on different devices: The row height may appear different on a mobile device or a smaller screen. Ensure your table is readable and the row height is appropriate for the intended viewing device.
Troubleshooting
If you find that your table rows are not expanding as expected, or if the visual looks cramped despite your efforts to resize it, follow these steps to diagnose the issue.
If the table does not resize when you drag the edge
Ensure that the visual is actually selected. A visual is only active when it has a blue border around it. If you click on the canvas outside the table, the selection will be lost, and the resizing handles will disappear. Click on the table again to re-activate it.
If the text wraps and the row height does not increase
This usually happens when the column width is too narrow. The text wraps to the next line, but the row height does not increase significantly because there is not enough horizontal space to accommodate the text. Increase the column width until the text fits on a single line, and then the row height will adjust accordingly.
If the visual size is locked
In Power BI Desktop, the visual size can sometimes be locked if the "Size & properties" pane is set to "Fixed" instead of "Auto". Go to the "Size & properties" section in the Format pane and ensure the setting is set to "Auto". This will allow you to resize the visual freely.
If the row height is inconsistent
Inconsistent row heights can be caused by data that contains varying amounts of text. If some cells have very little text and others have a lot, the rows will be of different heights. You can force the rows to be the same height by increasing the font size for all cells, or by truncating the text using DAX measures.
If the visual is cut off on the right side
If you increase the row height by expanding the visual width, and the right side of the visual gets cut off, it means the visual is larger than the report canvas. You can either reduce the visual width, or adjust the size of the report canvas in the view options.
Frequently Asked Questions
Can I set a specific pixel height for table rows in Power BI?
No, Power BI does not offer a specific "row height" setting in pixels. The row height is calculated dynamically based on the font size, the padding, and the available horizontal space. You must increase the column width or font size to achieve the desired vertical space.
Why does my table look different on different screens?
Power BI visuals are responsive. The row height and column widths will adjust based on the screen size and resolution. If you are viewing the report on a mobile device, the table will be much narrower, and the rows may be compressed vertically to fit the screen.
How do I stop the text from wrapping in the table?
To stop text from wrapping, you must increase the column width. If the text is too long to fit in the available width, it will wrap to the next line. You can also use the "Auto-fit column widths" feature in the Format pane to automatically adjust the widths to fit the data.
Can I increase the height of the header row only?
Yes, you can increase the height of the header row by increasing the font size or the padding in the "Format as a table" section of the Format pane. You cannot increase the height of the header row independently of the data rows, but you can make it significantly taller than the data rows.
Does resizing the visual affect the data?
No, resizing the visual does not affect the underlying data. It only changes the way the data is displayed. The data remains the same, but the table may show more or less detail depending on the size of the visual.
How do I reset the table to its default size?
You can reset the table to its default size by right-clicking on the visual and selecting "Reset visual". This will restore the visual to its original size and formatting settings.