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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
YashikaAgrawal
Post Patron
Post Patron

Table visual format issue

Hi,

 

I have the table visual, as showin in the diagram.

 

If column1 value is single line, for column2 should also be in single line.

If column1 value is double lines, for column2 should also be in double lines.

 

Can we do like this.

 

Thanks,delete213.png

 

1 ACCEPTED SOLUTION
cengizhanarslan
Super User
Super User

No, Power BI Table visual can’t dynamically sync row height per column based on “number of wrapped lines”.

Row height in a Table is determined by the cell that needs the most height in that row (because of word wrap), but you cannot force “Column2 should use exactly the same number of lines as Column1” when Column2 text is shorter. Power BI won’t insert blank line breaks to “match” another column.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

View solution in original post

3 REPLIES 3
RicardoTraNa
Responsive Resident
Responsive Resident

Hi! Yes in Power BI you can achieve this behavior using formatting settings, but not with a direct rule between columns.

Enable Word wrap for both columns and turn on Auto row height in the table visual. The row height will then expand based on the tallest cell, so if Column1 shows two lines, Column2 will have the same row height as well.

There is no built-in feature to force Column2 to match the exact number of lines of Column1...it works at row level, not per column.

Best regards! 

Natarajan_M
Solution Sage
Solution Sage

Hi @YashikaAgrawal  , PBI doesn't let you control the height of the cell in the table visual based on the size of the values in the cells . 

If you want to force it , if its fine for you to trucate the value of column 2 based on column 1 then you can create a calculated measure that reads the length of column 1 and truncates the value of the column 2 and you can have your width and height as fixed in the visual .

This could be a workarround if you really want this functionality . but its recommended to truncate any data in the bi layer



cengizhanarslan
Super User
Super User

No, Power BI Table visual can’t dynamically sync row height per column based on “number of wrapped lines”.

Row height in a Table is determined by the cell that needs the most height in that row (because of word wrap), but you cannot force “Column2 should use exactly the same number of lines as Column1” when Column2 text is shorter. Power BI won’t insert blank line breaks to “match” another column.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.