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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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 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.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.