Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Jojo197
Helper I
Helper I

Table Visual multiline column won't resize height automatically unless in first 20 columns

Was very weird at first. One report would resize the height of a multiline column in a table visual automatically, so that all lines of text were visible.

 

In another dashboard, now with more columns. The same column will not resize unless it is moved to the first 20 columns in the table.

 

Have done some testing and being in the first 20 columns is the only way to get it to resize as far as I can tell. 

 

Is this a bug?

 

Thanks

1 ACCEPTED SOLUTION

Hi @Jojo197 

 

Thanks for the reply from Uzi2019 .

 

First, please let me confirm with you whether your problem is as follows:

 

"the text has specifically been designed as multiline with the CHAR(10) character", are you using char(10) as the line break character?

 

In my test, I used UNICHAR(10) as the line break character to create a column after column 20.

 

When I adjust the height of the columns after column 20, if the height of the previous columns is smaller than that column, that column will not display the full text.

vxuxinyimsft_3-1737715244782.png

 

If the height of the first 20 columns is greater than this column, they will display normally.

vxuxinyimsft_1-1737715202407.png

 

It is mentioned in the official documentation that Power BI calculates the maximum cell size for a table based on the contents of the first 20 columns and the first 50 rows. Content in cells beyond those table dimensions might not be appropriately sized. So my suggestion is that you can adjust the height of the first 20 columns appropriately first, and then adjust the subsequent columns.

vxuxinyimsft_0-1737714905987.png

https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-tables?tabs=powerbi-deskto... 

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Jojo197
Helper I
Helper I

Hi @Uzi2019 ,

 

I would share the file, but still trying to get around the organisation policy 😔

 

I have set up a sample demonstrating the issue with Columns A1 to Z26 and a multiline Test column in blue

Jojo197_0-1737005913835.png

Resizing only happens when the blue column is in the first 20 columns

Hope that makes it clearer
Thanks!

Hi @Jojo197 

 

I have checked. Initially if I add a value but it seems blank of differet level.

Uzi2019_0-1737006627305.png

 

even though column have a very big text still consuming a small space to represent the blank text. As soon as I hit the column header for sorting I got the entire text all together in single line.

 

Uzi2019_1-1737006755242.png

 

 

I got the entire text in single row without multi line formatting.

 

As you can see as long as my Text wrap is on and I limit my column size then I will get the multi line column for start of 20 column automatically.

 

Uzi2019_2-1737007130055.png

 

 

same for column after 20th column.

Uzi2019_3-1737007142557.png

 

 

You can check the screenshot.

 

One suggestion always make sure once you resize your column width make sure to turn off and again turn on the wrap text.

 

I hope this might help you.

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @Uzi2019 ,

 

The difference with my columns are that the text has specifically been designed as multiline with the CHAR(10) character, which I think is different to yours. Text wrap does not work in this case

 

Thanks

Hi @Jojo197 

 

Thanks for the reply from Uzi2019 .

 

First, please let me confirm with you whether your problem is as follows:

 

"the text has specifically been designed as multiline with the CHAR(10) character", are you using char(10) as the line break character?

 

In my test, I used UNICHAR(10) as the line break character to create a column after column 20.

 

When I adjust the height of the columns after column 20, if the height of the previous columns is smaller than that column, that column will not display the full text.

vxuxinyimsft_3-1737715244782.png

 

If the height of the first 20 columns is greater than this column, they will display normally.

vxuxinyimsft_1-1737715202407.png

 

It is mentioned in the official documentation that Power BI calculates the maximum cell size for a table based on the contents of the first 20 columns and the first 50 rows. Content in cells beyond those table dimensions might not be appropriately sized. So my suggestion is that you can adjust the height of the first 20 columns appropriately first, and then adjust the subsequent columns.

vxuxinyimsft_0-1737714905987.png

https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-tables?tabs=powerbi-deskto... 

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Yulia,
I had not seen that in the documentation previously - that answers my question

And yep, was UNICHAR(10) i was using, not CHAR(10) - my mistake.

Uzi2019
Super User
Super User

Hi @Jojo197 

 

Can you share the screenshot of your query??  Its better for us to understand with help of sample data.

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.