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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dalmn21
Frequent Visitor

Hide Row in Matrix

Hi, 

 

I want to hide the rows of a column in a matrix, but not running across anything that's helping me. 

My matrix is similar to this: 

MonthJanJanJan
NamePay Per HourSalesTotal Pay
John Doe201262431
Jane Doe231152502


I want to hide the names of the employees but still have their data shown. 

MonthJanJanJan
 Pay Per HourSalesTotal Pay
 201262431
 231152502

 

Is there a way to do this? My name column is in the 'Rows' field, month is in the 'Columns' field, and pay per hour, sales, and total pay are in the 'Values' column 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dalmn21 

 

Since Power BI does not directly allow hiding row headers while keeping the data, you can create a calculated column in your data model that anonymizes or replaces the employee names.

NName = "name" & RANKX(ALL('Table'),'Table'[name],,ASC)

vjialongymsft_0-1711432820404.png

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @dalmn21 

 

Since Power BI does not directly allow hiding row headers while keeping the data, you can create a calculated column in your data model that anonymizes or replaces the employee names.

NName = "name" & RANKX(ALL('Table'),'Table'[name],,ASC)

vjialongymsft_0-1711432820404.png

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Thank you so much for your help! It works, but I have one question. I created the column and added it to my matrix, the names become "name [numbers]", I assume it's from the RANKX function that's adding the numbers behind the name. Is there a way I can just have it say "name" for all the names? Thank you! 

Greg_Deckler
Community Champion
Community Champion

@dalmn21 Make the header row the same color as the background? Put a filled rectangle over the header?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors