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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Super User
Super User

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.

Top Solution Authors