Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Power BI Matrix – How to dynamically adjust column width to fill full table space based on slicer se

I'm working with a matrix visual where years are displayed as columns, and the user selects a range of years using a slider slicer. The goal is to have the matrix auto-adjust column widths so that th...
  • Anonymous's avatar
    Anonymous
    1 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.