Hide or Remove Column Headers on Power BI Matrix Visual

A few days ago, I worked on a Power BI report for one of our clients, utilizing various visualizations based on sales data. The requirement was to display a specific part of the column headers in the Matrix visual by hiding the other parts in that report.

Unfortunately, there is no such functionality available to hide the column headers in the Power BI matrix visual. Currently, the option to disable column headers in a matrix is not available. There is no actual solution to this.

As a workaround for this, we can only format the column headers by changing the Font color of the headers that match the background color.

This tutorial will show you two workarounds on how to hide the Matrix column headers in Power BI.

  1. Formatting the Font color of the Column Header in Power BI
  2. Masking the Power BI Matrix Column Headers with a Layer

Hide Column Headers in Power BI Matrix

In this section, let me show you how to hide the column headers in the Power BI matrix visual.

This workaround hides the column headers in a matrix visual, but it only supports hiding all column headers at once, not selectively.

From the following screenshot, you can see the Matrix visual displaying products by year, with quantity as values.

Here, you can see the column headers, highlighted in the image below.

Power BI matrix remove column headers

See: How to Create a Matrix Visual in Power BI

Workaround 1: Formatting the Font color of the Column Header in Power BI

Now, I wanted to hide the column headers present in the highlighted area, as shown in the matrix table above.

Quick steps to follow:

  1. On the Power BI desktop, select the Matrix. Go to the Visualizations pane and click on Format your visual icon.
  2. Expand Column headers. Set the Text color to match the Background color.
Hide Column headers Power BI Matrix

Then, this will make the text color the same as the background color, which makes them hidden in the matrix table.

Output:

Hide matrix column headers Power BI

If you don’t want to hide the entire column headers in the Matrix visual, there is an alternative workaround to achieve this.

Workaround 2: Masking the Power BI Matrix Column Headers with a Layer

In this workaround, you have to mask the column headers in the Matrix with a layer. Follow the steps mentioned.

Suppose you have a Matrix visual similar to the one below, where you only want to hide the ‘Category‘ and ‘Product‘ parts.

Hide Column Header in Matrix Table Power BI

Check out the steps below to achieve the requirement mentioned above:

  1. On the Power BI Desktop report canvas page, click on the Insert tab.
  2. Then, click on the drop-down menu of shapes and select “Rectangle.”
  3. From the Format pane, click on Style, fill the color to ‘White‘.
  4. Resize the shape and put it over the column header.
Power BI Matrix Hide Column Headers

These are the methods for hiding column headers in the Power BI Matrix visual.

I will also suggest that you vote for the ‘Remove matrix column headers’ option in the Power BI Idea community.

If you have any suggestions, please share them in the comment section below.

You may also like the following Power BI Matrix visual tutorials:

>

Build a High-Performance Project Management Site in SharePoint Online

User registration Power Apps canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial FREE PDF Download

FREE Power Platform Tutorial PDF

Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…