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! Learn more

Reply
Anonymous
Not applicable

Can you hide some columns of a matrix?

I am new to Power BI. I have created a simple matrix that looks like this:

LocationActiveActiveNon-ActiveNon-ActiveTotalTotal
NameCount% TotalCount% TotalCount% Total
California6646%7654%142100%
Virginia9881%2319%121100%
Maryland7644%9856%174100%
Oregon3450%3450%68100%
Nebraska9775%3225%129100%
Nevada1212%8888%100100%
Total38352%35148%734100%

I received a request to hide some of the columns so that the resulting matrix will look something like this:

LocationActiveTotal
Name% TotalCount
California46%142
Virginia81%121
Maryland44%174
Oregon50%68
Nebraska75%129
Nevada12%100
Total52%734

How can this be accomplished? Thank you.

1 ACCEPTED SOLUTION

@Anonymous 

 

Remove field from Columns and add measures below to Values.

Measure =
DIVIDE (
    COUNTROWS ( FILTER ( 'Table', 'Table'[Status] = "Active" ) ),
    COUNTROWS ( 'Table' )
)
Measure 2 =
COUNTROWS ( 'Table' )
Community Support Team _ Sam Zha
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 @Anonymous ,

 

You gave go thru this post, similar is already solved.

https://community.powerbi.com/t5/Desktop/Hide-un-hide-un-wanted-Column-in-Matrix-Visualization/td-p/182015

 

May be it is helpful.

 

Thanks,

Tejaswi

Anonymous
Not applicable

I looked at it. It is not exactly what I need. How would I display Active % Total as a percentage and Total Count as a count? 

@Anonymous 

 

Remove field from Columns and add measures below to Values.

Measure =
DIVIDE (
    COUNTROWS ( FILTER ( 'Table', 'Table'[Status] = "Active" ) ),
    COUNTROWS ( 'Table' )
)
Measure 2 =
COUNTROWS ( 'Table' )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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