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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
HenryMa
Frequent Visitor

How do I hide the "header" in a matrix when doing subtotals?

In a matrix, I don't want to see the "FIRST" value in the header in subtotals.

For example, before:

HenryMa_1-1698431473062.png

I want it to look like this after:

HenryMa_4-1698431858100.png

 

thanks!

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @HenryMa 
To achieve the desired result, you can use the DAX measure for the first column:

subT_ = if(HASONEVALUE('Table'[subcategory]),min('Table'[wanted column]),"")
Ritaf1983_0-1698466462180.png

I attached PBIX with an example, you can download and follow my steps.

 If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @HenryMa 
To achieve the desired result, you can use the DAX measure for the first column:

subT_ = if(HASONEVALUE('Table'[subcategory]),min('Table'[wanted column]),"")
Ritaf1983_0-1698466462180.png

I attached PBIX with an example, you can download and follow my steps.

 If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.