Forum Discussion
Power BI Matrix – How to dynamically adjust column width to fill full table space based on slicer se
- Anonymous1 year ago
Hi kushanNa ,
Thanks for the response. My concern was actually about having dynamic column widths in a matrix visual. Ideally, when a single year is selected, the column should expand to fill the entire table width. And when multiple years are selected, the columns should automatically adjust to fit within the available space. I found a workaround using DAX—by adding empty spaces to the values in the matrix, I was able to simulate dynamic sizing based on the selection.
HI Anonymous
I tried to reproduce your issue, but I’m not seeing the same problem on my end. Could you please provide us with a sample PBIX file / Screenshots that demonstrates the issue you are facing?
Hi kushanNa ,
Thanks for the response. My concern was actually about having dynamic column widths in a matrix visual. Ideally, when a single year is selected, the column should expand to fill the entire table width. And when multiple years are selected, the columns should automatically adjust to fit within the available space. I found a workaround using DAX—by adding empty spaces to the values in the matrix, I was able to simulate dynamic sizing based on the selection.
- v-menakakota1 year ago
Community Support
Hi Anonymous ,
Glad you found an workaround, thank you for the update. - kushanNa1 year ago
Super User
Anonymous That's Great !
Please share your DAX or the source where you found the workaround here, so others with a similar requirement can access the solution quickly . Thanks!