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
azaterol
Helper V
Helper V

Keep opened rows after click on button

Hey all,

I have a matrix with groups of products and products. I used bookmarks to hide columns, so I used the matrix twice(copied and paste). In the first matrix I have all columns(Show), in the second matrix(Hide) I reduced the matrix columns.

What I want is, if I click on the + in the group row, example here "Alcohol free" and click after that on the Hide button, it should pop up the same row "Alcohol free", without necessary clicking on the plus. 
There are both the same Rows, only the values in the matrix are different.  

 

Or maybe I don't need 2 matrix and there is a better solution?

 

Here is a sample for better understand:

https://easyupload.io/yt5gqp

 

Thank you for help

 

 

sample1.PNG

 

sample2.PNG

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @azaterol ,

In your scenario, I'm afraid it can't be achieved that when you expand a row, the copied visual will expand at the same time. This does not like highlight or filter, it can only be done manually.

Here's my workaroud.

1. Create a slicer table like this:

vkalyjmsft_0-1659948726550.png

2. Insert a blank button, then create a color measure for the backgroud color of the button.

Color =
SWITCH ( MAX ( 'Slicer'[Column] ), "Show", "#FFFFFF00", "Hide", "#FFFFFF" )

In the Format button>General>Effects, turn on the Backgroud color and click fx.

vkalyjmsft_1-1659948889016.png

Select the color measure in the dialoge.

vkalyjmsft_2-1659948978680.png

3. Put the button on top of the table visual, the color will change by the value in the slicer changed. Get the result:

vkalyjmsft_4-1659949562661.png

vkalyjmsft_5-1659949577240.png

In this way, no matter you select Hide or Show, the expand of the visual will be consistent.

 

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @azaterol ,

In your scenario, I'm afraid it can't be achieved that when you expand a row, the copied visual will expand at the same time. This does not like highlight or filter, it can only be done manually.

Here's my workaroud.

1. Create a slicer table like this:

vkalyjmsft_0-1659948726550.png

2. Insert a blank button, then create a color measure for the backgroud color of the button.

Color =
SWITCH ( MAX ( 'Slicer'[Column] ), "Show", "#FFFFFF00", "Hide", "#FFFFFF" )

In the Format button>General>Effects, turn on the Backgroud color and click fx.

vkalyjmsft_1-1659948889016.png

Select the color measure in the dialoge.

vkalyjmsft_2-1659948978680.png

3. Put the button on top of the table visual, the color will change by the value in the slicer changed. Get the result:

vkalyjmsft_4-1659949562661.png

vkalyjmsft_5-1659949577240.png

In this way, no matter you select Hide or Show, the expand of the visual will be consistent.

 

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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

 

 

 

 

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