Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Reza
Helper II
Helper II

Fixed column width on Matrix with hierarchy on column

Hi,

 

Before asking the question I want to let you know that I have already tried (one HERE and have seen more) the trick with REPT function to create a width measure and then turn off the "Auto-size column width" on "Column headers" but that did not fix my problem. 

So here is the issue I have:

I have a matrix with some dimensions on Rows, a measure on the Values and Month which is part of the date hierarchy on Columns like this:

Reza_0-1638798635407.png

 

The auto-size is set Off and word wrap in On after fixing the width to fit the report:

Reza_1-1638798718929.png

Reza_2-1638798765007.png

 

I have 2 slices for location and year. The column width would only be fixed for the year I have applied width:

Reza_3-1638799012820.png


But when I change the year in the slicer the column width change as well messing up the report.

Reza_4-1638799147169.png

 

How can I keep the width of these column fixed for any selected year in the slicer?

Any helps would be appreciate. 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Reza , I doubt there is an option for that

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Reza , I doubt there is an option for that

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.