Forum Discussion

Michael12's avatar
Michael12
New Member
4 months ago
Solved

Matrix column headers misaligned in Power BI Service (renders correctly in Desktop)

Hi all,   I'm experiencing a visual rendering issue in the Power BI Service that doesn't occur in Power BI Desktop. Issue: The column headers of my matrix visual are misaligned in the Service. The...
  • Michael12's avatar
    4 months ago

    Quick follow-up to my previous post — I figured out what was causing the issue and wanted to share in case anyone else runs into this.

    Root cause: I'm using empty Spacer measures (Spacer = BLANK()) between column blocks in my matrix as visual separators. When the column width gets narrow and Word Wrap is enabled on column headers, the empty Spacer headers wrap to two lines. This makes the entire header row taller than the body rows, which causes the visible misalignment in the Service. Power BI Desktop renders this differently and didn't show the issue.

    Fix that worked: Turn text wrap on Column headers level off + make Spacer columns wider so they render on a single line.

    Hope this helps someone else.