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 August 31st. Request your voucher.

Reply
Prakest
Frequent Visitor

Collapse and expand columns on matrix

I have a dataset from which business would like to see 4 primary/composite metrics as well the ability to see the submetrics. Based on the idea below this does not seem feasible (i.e. doing it on the same page) but what are some other options to replicate this functionality?

 

Prakest_0-1723054449925.png

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=151a8279-d892-4e52-8cec-4f3b69bdbc6c

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Prakest 

Thanks for the reply from Prakest , please allow me to provide addition:

You can expand/collapsible rows and columns, implement expandable and collapsible rows and columns in a matrix. This can be done in Power BI by enabling the plus/minus icon in the field format pane. The user can then expand or collapse the section as needed.

vyohuamsft_0-1723182844560.png

Or create a hierarchical view, which creates a hierarchical view where the main metrics are at the top level and the sub-metrics are nested below. This can be done using a pivot table in Excel or a matrix visual in Power BI. You can check the following link:

How to Expand All Rows in a Power BI Matrix by Default (hatchjs.com)

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

2 REPLIES 2
Anonymous
Not applicable

Hi, @Prakest 

Thanks for the reply from Prakest , please allow me to provide addition:

You can expand/collapsible rows and columns, implement expandable and collapsible rows and columns in a matrix. This can be done in Power BI by enabling the plus/minus icon in the field format pane. The user can then expand or collapse the section as needed.

vyohuamsft_0-1723182844560.png

Or create a hierarchical view, which creates a hierarchical view where the main metrics are at the top level and the sub-metrics are nested below. This can be done using a pivot table in Excel or a matrix visual in Power BI. You can check the following link:

How to Expand All Rows in a Power BI Matrix by Default (hatchjs.com)

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Greg_Deckler
Community Champion
Community Champion

@Prakest You could possibly do this using drilldown functionality. Might need a disconnected table to pull it off.



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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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