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
Usha_pk
Helper II
Helper II

How to remove empty spaces in matrix visual based on filter selection

Hi, can you help me how to remove the empty space automatically (in 2nd image) in the matrix based on the filter selection in powerbi. This very urgent, please suggest me, thank you!!!
1.

2.Usha_pk_1-1698337261781.png

Usha_pk_3-1698337327920.png

Usha_pk_4-1698337534856.png

 

 

3 REPLIES 3
jordanjohnson
New Member

If you hide the background and remove the shadow effect of the visual, it wouldn't be as obvious that there's white space there. Just an idea for a quick fix in an urgent situation.

Anand24
Super User
Super User

Hi @Usha_pk ,
Matrix or any visualization's width or height can't dynamically change in Power BI.
The only alternatives I can see is either use bookmarks or hide/unhide table based on slicer selection.

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

@Anand24 ,Thanks for your help. Could you please help me how to hide/unhide the table based on the slicer selection.

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