Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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,
Solved! Go to Solution.
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.
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!
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
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 you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 64 | |
| 39 | |
| 33 | |
| 23 |