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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dedelman_clng
Community Champion
Community Champion

Column headers based on calc column resizing themselves in Matrix

I have a matrix (actually several) where the values go down the rows, and the columns are from a standalone table.

 

column header 1.png

 

The column headers/names are from a calculated column

 

 

MeasureName = var __ThisMth = FORMAT(EOMONTH(TODAY(),0), "MMM")
return 
  IF( [Measure] = "Total Year", MeasureType[Measure] & "
     (" & __ThisMth  & " '" & FORMAT(EOMONTH(TODAY(), -1), "YY") & " FC)",
      MeasureType[Measure] & "
       (" & 
       FORMAT(EOMONTH(TODAY(), -1), "MMM" & " '" & 
          FORMAT(EOMONTH(TODAY(), -1), "YY") & ")"))

 

Basically for "Total Year", today's month plus today's year; for the others, last month plus today's year.

 

"Auto-size column width" is off for all columns

 

When the month changes, in both Desktop and Service, the columns resize themselves like so

 

column header 2.png

The two pictures are the same scale so you can see the differences (especially in wrapped text).

 

I can't share the original PBIX because there is too much sensitive information, but this sample pbix (click "download" to get the pbix) shows the same behavior. I format the column to look like this:

 

column header 3.png

When I open the file tomorrow, the headers will have flattened themselves out like so (the dates will be different):

 

column header 4.png

Has anyone else experienced this, and is there a good workaround?

 

NOTE: This also happens using calculation groups - I use a similar code snippet on the name of a "Time Period" calc group and it resiszes itself as well.

 

Thanks,

David

1 REPLY 1
lbendlin
Super User
Super User

You can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues . If you have a Pro license you can consider raising a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors