SOLVED

Table cells shrink unwanted

Brass Contributor

Dear colleagues

I have a power query with an output to an excel table. After a power query refresh, the cell size is automatically updated to the largest value. Therefore, the checkbox “adjust column width” is enabled.

Zdenek_Moravec_0-1617806484454.png

I open the workbook a next day and the cells are shrinked to the default width!

Zdenek_Moravec_1-1617806530219.png

 

After a power query refresh, the cells size is automatically updated to the largest value (as same as first picture).

Why the cells are shrinked without any reason? This behavior does not happen every time and I cannot reproduce the issue. Is it a bug or a feature?

Thank You

Zdenek Moravec

Cesky Krumlov, Czech Republic

3 Replies
best response confirmed by Zdenek_Moravec (Brass Contributor)
Solution

@Zdenek_Moravec 

Zdenek, if you uncheck "Adjust column width" column width will be as you set it manually (without changing), otherwise it changes it based on some logic in background. 

@Sergei Baklan

I was thinking of this solution. The disadvantage is, that when new data come and they are very wide, they do not fit to my manually adjusted columns. Anyway I hope it is less devil for the customer then the shrinked cells.

Next workaround was to set the option “Refresh data when opening the file”. Because refresh query sets the columns width properly. But the "shrinked cells" issue appeared sometimes again. So it means, that the query was not refreshed after opening the workbook ... really strange. Is there any situation, that the query will not refresh despite the checkbox “Refresh data when opening the file”?

@Zdenek_Moravec 

About refresh - if you checked refresh on opening it shall be refreshed. If that doesn't affect columns that doesn't mean query is not refreshed.

1 best response

Accepted Solutions
best response confirmed by Zdenek_Moravec (Brass Contributor)
Solution

@Zdenek_Moravec 

Zdenek, if you uncheck "Adjust column width" column width will be as you set it manually (without changing), otherwise it changes it based on some logic in background. 

View solution in original post