cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UserInterface
Advocate I
Advocate I

Table Column width

Is there a way to line up columns? I can make the widgets the same size but it still looks funky without lineing up the columns.

 

image.png

1 ACCEPTED SOLUTION
Seward12533
Solution Sage
Solution Sage

Turn on word wrap in column headers and adjust width with mouse by dragging th column width.

View solution in original post

11 REPLIES 11
chethana
Frequent Visitor

GDUb
Frequent Visitor

Interesting solution at https://www.goodly.co.in/equal-column-width-matrix-visual-power-bi/. Essentialy, you create a measure that is a constant string of the desired width ( ColWidth   = "0000000000", for instance). Drop that measure into your table on rows with auto column width turned on. Then, turn auto column width off, and remove the string measure from the table. The columns will retain the uniform width set by the string measure. Voila. 

Balaji1414
Frequent Visitor

I have a matrix with four columns, when at the input side user changes the column name the width of the column is changing automatically, for this i have used "REPT" function to fix the column width. when the user edits the column name first time the width is not changing but when it repeats(section name editing multiple times) the column width is changing, can  you help with this? 

jct999
Helper III
Helper III

Without workable solution, here is what you have to do :

 

- Take a sheet of paper, a pencil and a ruler.

- At the top of the paper, draw a line.
- On the line, draw segments whose lengths are equivalent to the desired column widths.
- With adhesive tape, stick the sheet of paper on your screen, in the middle of the table that you want build.
- With your mouse, align the borders of each column of the table with the segments you drawn on the paper.-
- Remove the paper sheet from the screen.
- Silence the laughter of your colleagues.

 

I'll take one for the team and send this solution to the leadership of Microsoft in an old-school, hand-written letter...let them understand that a community that has clammored for the ability to merely set column widths (like in Excel and nerely every other MS product we use) for years and years has resorted to using a sheet of paper and a ruler to set column widths that work for us.

 

 

 

 

Solution!!!

MartinaPD
New Member

I voted for the idea suggestion as well.

Seward12533
Solution Sage
Solution Sage

Turn on word wrap in column headers and adjust width with mouse by dragging th column width.

View solution in original post

Awesome. 

 

Still kinda wish you could type in a fixed width or use format painter 😄

 

Did my part. thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!