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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Matrix +/- feature

Hello all, 

I have a matrix as follow:

app.PNG

In this format, in roder to toggle up or down, I have to click +/- sign for each category. 


Well, my question is: Can I provide a function or measure that Expand/collapse all categories with just clicking one parameter or so? 



1 ACCEPTED SOLUTION
Iamnvt
Continued Contributor
Continued Contributor

yes, then you need to use Bookmark feature:

1. Bookmark the page after expand all

2. Bookmark the page after collapse all

3. Insert 2 buttons; assign the bookmark for each button.

View solution in original post

4 REPLIES 4
kcantor
Community Champion
Community Champion

@Anonymous 

This could be accomplished using Bookmarks and Buttons. I have a report that I use the drill down from Month to Week either open or invoiced by selecting a button linked to a bookmark. The simply choose Invoiced by Week, Invoiced by Month, Open by Week, or Open by month. Using the bookmarks I change both the axis and the calculation. The axis can be changed through multiple levels before the bookmark is set. 

https://www.wiseowl.co.uk/power-bi/exercises/power-bi-desktop/drill-through-and-bookmarks/4361/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Iamnvt
Continued Contributor
Continued Contributor

hi,

 

you can right click to the +,- button. It has expand all, collapse all function there.

Anonymous
Not applicable

@Iamnvt 

Thank you for your help. 

Can I implement this in a separate button on top of the page??

Iamnvt
Continued Contributor
Continued Contributor

yes, then you need to use Bookmark feature:

1. Bookmark the page after expand all

2. Bookmark the page after collapse all

3. Insert 2 buttons; assign the bookmark for each button.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors