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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
RJS849
Frequent Visitor

How to rename Blank row header in Matrix table?

I have a reference table that lists team names and locations and another table that lists the amount for each team. There may be teams that are missing in the reference table. For these, I want to show them as "Not Defined" in the matrix table. How can I do that? Right now they are grouped in without any name. Please see the screenshot below. Team C is missing in the reference table. So I want to show the aggregate of missing teams as 'Not defined' in the matrix table instead of Blank under the Team column.


TeamReference.png

 

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

One way to do it is to make another table with a DAX expression like the one shown below.  You can then relate that new table to your Amounts table on the Team column to get your desired table visual.

 

mahoneypat_0-1630116474088.png

NewTable =
ADDCOLUMNS (
    DISTINCT ( Amounts[Team] ),
    "InTeamsTable",
        IF (
            ISBLANK (
                CALCULATE ( MIN ( Teams[Team] )TREATAS ( { Amounts[Team] }, Teams[Team] ) )
            ),
            "Not Defined",
            Amounts[Team]
        )
)

 

mahoneypat_1-1630116484206.png

 

Pat

 

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

One way to do it is to make another table with a DAX expression like the one shown below.  You can then relate that new table to your Amounts table on the Team column to get your desired table visual.

 

mahoneypat_0-1630116474088.png

NewTable =
ADDCOLUMNS (
    DISTINCT ( Amounts[Team] ),
    "InTeamsTable",
        IF (
            ISBLANK (
                CALCULATE ( MIN ( Teams[Team] )TREATAS ( { Amounts[Team] }, Teams[Team] ) )
            ),
            "Not Defined",
            Amounts[Team]
        )
)

 

mahoneypat_1-1630116484206.png

 

Pat

 

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors